Skip to content

Check OFD locks? #297

Description

@benbjohnson

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions