[PATCH v3 07/13] vfs_btrfs: add [GET/SET]_COMPRESSION handlers

David Disseldorp ddiss at suse.de
Tue Nov 12 07:53:13 MST 2013


On Fri, 8 Nov 2013 14:29:34 -0800
Jeremy Allison <jra at samba.org> wrote:

> How do the opens here interact with kernel oplocks ?
> Have you been able to check ? Would a torture test
> with an explicit batch oplock followed by a pathname
> based get compression call work ?

The open will trigger a lease break signal. I'll do some further tests
to see how this is handled on Windows WRT oplock breaks.

Interestingly, I ran into strange F_SETLEASE/F_RDLCK behaviour while
testing locally.
http://marc.info/?l=linux-kernel&m=111511455406623&w=2

Cheers, David


More information about the samba-technical mailing list