That pcap shows a problem with the lease break. I just tried your python reproducer with the current cifs upstream kernel and the problem does not manifest. There were oplock related fixes in the cifs.ko module a while ago that might have fixed the problem you see. Which kernel version are you using ? On Tue, Sep 24, 2019 at 10:53 AM Moritz M <mailinglist@xxxxxxxxxxxxxxxx> wrote: > > Hi Pavel, > > > > > > Could you please enable debugging logging > > (https://wiki.samba.org/index.php/LinuxCIFS_troubleshooting#Enabling_Debugging), > > reproduce the problem and send us the kernel logs? A network capture > > of a repro could also be useful > > (https://wiki.samba.org/index.php/LinuxCIFS_troubleshooting#Wire_Captures). > > see the debug output and the pcap file attached. > > Best regards > Moritz >