[Samba] Friendly Reminder: Would you please comment on my findings?

awl1 awl1 at mnet-online.de
Fri Aug 18 21:35:04 UTC 2017


Am 18.08.2017 um 23:17 schrieb Jeremy Allison via samba:
> This might be hidden against Windows due to directory handle leases, 
> which we don't yet support.
Are you saying that when I replace the Samba server by a Windows SMB2 
share server, I should see better performance? I can perfectly test that 
out and record a Wireshark trace for this if you like...

Layperson question: Would such a "directory handle lease" be something 
like a cache for SMB2 Find responses?

This would have to be a client-side cache in order to avoid sending back 
all 1000 file names in the directory from server to client over the 
network with every single response.

Also, in case it indeed were a client-side cache, this cache would also 
need to be silently concurrently updated with every Create 
request/response cycle, because the number of files in the server-side 
directory always grows by the one file just written between one call to 
SMB2_FIND_ID_BOTH_DIRECTORY_INFO and the next...

Thanks & best regards
Andreas




More information about the samba mailing list