[PATCH] RFC: vfs cachedir

Jeremy Allison jra at samba.org
Wed Apr 19 20:46:29 UTC 2017


On Wed, Apr 19, 2017 at 03:48:35PM -0400, Jim McDonough wrote:
> > 
> Yep, but frankly we're simply lucky that "del *" works on a local fs.
> Apparently ext<n>, btrfs, xfs, etc. are just not updating the directory
> from the viewpoint of our open handle as frequently.  Windows cmd.exe
> clearly expects the behavior of a frozen snapshot.

OK, fair enough. But in that case the complete
directory cache belongs in the upper level smbd
code hanging off the struct smb_Dir pointer I
think. We already have struct name_cache_entry *name_cache
attached there, maybe we should just populate on
open.



More information about the samba-technical mailing list