From b37e82567d28626d39ce02c392d09a815cce497f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 18 Jul 2005 03:35:52 +0000 Subject: 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) --- source4/ntvfs/posix/vfs_posix.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/ntvfs/posix/vfs_posix.h') 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 { -- cgit