[PATCH] Fix bug #13121 - Non-smbd processes using kernel oplocks can hang smbd

Jeremy Allison jra at samba.org
Wed Nov 29 23:15:31 UTC 2017


On Wed, Nov 29, 2017 at 06:07:16PM -0500, jim via samba-technical wrote:
> Are you certain smbd is generating a lease break to the kernel?
> Does this lease break appear in the logs?
> Could there be a defect in the smbd lease break such that it won't
> make it to the non-smbd process?

Well it's just opening the same file with O_NONBLOCK that the client
has a lease on - so it should get a -1,EWOULDBLOCK back.

You're correct though, we should be able to see this in the
smbd log (or we can add such a debug to track down the test).



More information about the samba-technical mailing list