Hi there!

I faced with an interesting problem:
Windows 7 send lease break just after granted lease on open - so, we
don't have time to populate cifsFileInfo structure and can't determine
oplock break because we simply don't find appropriate fid. I think
this problem can be happen for CIFS/SMB2.0 too (e.g. if another client
opens the file just after us).

So, what do you think about creating delegating the oplock break
processing to workqueue and return to demultiplex thread immideately?
It give us a small timeout itself and we can set another defined
timeout explicitly.

-- 
Best regards,
Pavel Shilovsky.
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to