fuse icon indicating copy to clipboard operation
fuse copied to clipboard

Check OFD locks?

Open benbjohnson opened this issue 1 year ago • 0 comments

I saw in the documentation that OFD locks are indistinguishable from POSIX locks in FUSE:

// See LockFlags to know which kind of a lock is being requested. (As
// of 2020-04, Open File Descriptor locks are indistinguishable from
// POSIX. This means programs using those locks will likely misbehave
// when closing FDs on FUSE-based distributed filesystems, as the
// filesystem has no better knowledge than to follow POSIX locking
// rules and release the global lock too early.)

Is that still true with the latest upgrades to the library? I'm ok to tell users to always use OFD locks but I figured I'd double check if there was some way to enforce that.

benbjohnson avatar Feb 17 '23 21:02 benbjohnson