summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-18 03:35:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:36 -0500
commitb37e82567d28626d39ce02c392d09a815cce497f (patch)
treee374845dfa17396ecd889dd250d56854fbb7d228 /source4/ntvfs/posix/vfs_posix.h
parent2ec501883d4c7d5d18cb1b457d94169960824817 (diff)
downloadsamba-b37e82567d28626d39ce02c392d09a815cce497f.tar.gz
samba-b37e82567d28626d39ce02c392d09a815cce497f.tar.bz2
samba-b37e82567d28626d39ce02c392d09a815cce497f.zip
r8535: no longer rely on seekdir working after a closedir. Instead, keep
directories open, but close search states based on an inactivity timer, with a default of a 5 minute timeout (This used to be commit 2e8d154e7dfb9b320a1344e957a39e96e1eefadd)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.h')
-rw-r--r--source4/ntvfs/posix/vfs_posix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h
index b5b0e2b28d..f18864197d 100644
--- a/source4/ntvfs/posix/vfs_posix.h
+++ b/source4/ntvfs/posix/vfs_posix.h
@@ -74,6 +74,9 @@ struct pvfs_state {
/* the allocation size rounding */
uint32_t alloc_size_rounding;
+
+ /* how long to keep inactive searches around for */
+ uint_t search_inactivity_time;
/* used to accelerate acl mapping */
struct {