RFC: s3/smbd: change locking behavior when "lock spin time = 0"
steven.danneman at isilon.com
Fri Feb 12 16:53:30 MST 2010
Attached is a patch to change the smbd locking behavior when "lock spin
time = 0". Essentially, this reverts the behavior back to the Samba 3.0
semantics where do_spin_lock() was used.
This is useful for naughty clients who spam the server with trylocks and
don't want to be slowed down. Specifically, I'm using this for a client
application that will send 20 trylocks in a row when it's contending.
With the default setting this causes it to wait for several seconds.
Any comments before I check-in?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2970 bytes
More information about the samba-technical