Directory Leasing feature in Samba smbd
jra at samba.org
Wed Aug 26 17:32:16 UTC 2020
On Mon, Aug 24, 2020 at 06:58:45PM +0000, Krishna Harathi via samba-technical wrote:
> A more dominant issue of lack of directory lease support in smbd surfaced while looking into UNC vs mapped drive performance.
> As per Samba Wiki, this directory leasing feature is not planned anytime soon. Let me know otherwise.
> I may be able to spend some time working on this feature, once I get a better idea of what it takes to implement.
> I have read the high-level notes at https://wiki.samba.org/index.php/Samba3/SMB2#Directory_Leases
> I appreciate any comments on this topic at this time, mostly checking to see the forum's interest to chart out the next level of details.
The best way to proceed on this is to add additional
smbtorture tests inside source4/torture/smb2/lease.c
that pass against a Windows server to explore the exact
behavior we'll need to reproduce to correctly implement
You can mark the additional tests as knownfail inside
a file in the selftest/knownfail.d/ directory.
Once we have a comprehensive set of tests we'll be
able to better evaluate what server changes we'll
need to start passing them.
Thanks a *LOT* for looking at this, it's much
More information about the samba-technical