Author: vlendec Date: 2005-07-24 13:25:16 +0000 (Sun, 24 Jul 2005) New Revision: 8737
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8737 Log: Some changes to the new oplock code: Don't store in the share mode db that we're waiting for a break, the receiving daemon remembers a list of clients. Thus in delay_for_oplocks we don't need a lock on the share mode db, we don't change anything. Moved the returning the sharing violation return down to where it actually would be returned, querying the variable second_try. Timeouts don't always mean sharing violations. I need to find out how to correctly handle oplock break failures next. More work in the samba4 oplock test. Immediately reply to unexpected oplock requests to avoid races. Volker Modified: trunk/source/include/smb.h trunk/source/locking/locking.c trunk/source/smbd/open.c trunk/source/smbd/oplock.c Changeset: Sorry, the patch is too large (379 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8737