-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
One of our users pointed out to us that flock applied on fuse-nfs mounts doesn't enforce locking between different clients. After confirming that
- It's true and
- kernel NFS mounts do enforce flock locks between clients
We took a look at the fuse-nfs implementation and noticed that fuse-nfs just treats lock() and flock() as no-ops.
So, we are wondering if you left the locking implementation out because you didn't get to it, or if you left it out because NFS locking is flaky and inconsistent between servers and could cause stuff to hang or fail or is otherwise a bad idea.
If it is the former, are you open to a PR to include a locking implementation? And if so do you have an opinion about where the synchronous implementation of rpc_nlm4_lock_async() should live? (presumably either in libnfs or in fuse-nfs)
Metadata
Metadata
Assignees
Labels
No labels