[PATCH] Fix bug #13121 - Non-smbd processes using kernel oplocks can hang smbd
gary at catalyst.net.nz
Wed Nov 15 17:55:13 UTC 2017
I'm now seeing significant numbers of builds hanging in:
[558(3538)/2212 at 1h13m33s] samba3.smb2.kernel-oplocks(nt4_dc)
On 10/11/17 10:39, Jeremy Allison via samba-technical wrote:
> After discussion with Ralph and Volker, here is a fix
> for the case where smbd tries to open a file that has
> a linux kernel lease on it by another (non-smbd) process.
> Changes retry_open() to setup_kernel_oplock_poll_open()
> to make things clear.
> Includes a regression test case that demonstrates the
> NB. This patch depends on the previously posted patch
> for bug #13058 being applied first, so I'm attaching
> both fixes here (in case you want to be a good citizen
> and review both together :-).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the samba-technical