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

Support OFD locks? #90

Open
andrewchambers opened this issue Jun 15, 2022 · 0 comments
Open

Support OFD locks? #90

andrewchambers opened this issue Jun 15, 2022 · 0 comments

Comments

@andrewchambers
Copy link

andrewchambers commented Jun 15, 2022

It seems linux now supports private file locks: https://www.gnu.org/software/libc/manual/html_node/Open-File-Description-Locks.html

These essentially solve the large problem diod has implementing POSIX locks (The fact they are per pid which is essentially impossible to implement) - it seems like we would need to extend the protocol to add these new lock types and teach the v9fs driver about them.

I think adding the new flags would be backwards compatible, old servers and clients would likely just return an error.

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