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

The lock owner is not allowed to be re-created after last lock released #92

Open
kofemann opened this issue Jul 15, 2020 · 0 comments
Open

Comments

@kofemann
Copy link
Member

The rfc7530 says:

In the case where no byte-range locking state has been established and the boolean is true, the argument contains an
open_to_lock_owner structure that specifies the stateid of the open file and the lock-owner to be used for the lock.

This implicitly means, that when no byte-range locks are associated with a given lock owner, then nfs server should thread that lock owner as non existing, e.g. allowing it to be re-created with new sequence id.

The current implementation validates spec requirement and destroys the lock owner only as a result of RELEASE_LOCKOWNER operation.

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

No branches or pull requests

1 participant