Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check OFD locks? #297

Open
benbjohnson opened this issue Feb 17, 2023 · 0 comments
Open

Check OFD locks? #297

benbjohnson opened this issue Feb 17, 2023 · 0 comments

Comments

@benbjohnson
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant