Skip to content

Implementation of CS3APIs Locks in the CephFS driver #4280

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

Merged
merged 11 commits into from
Oct 26, 2023

Conversation

glpatcern
Copy link
Member

@glpatcern glpatcern commented Oct 24, 2023

This implementation follows the eosfs one, with the notable difference that we use flock calls to CephFS. If those locks would follow the POSIX semantic, they would be gone by the time we close the file, which is undesirable here. Will test with WOPI once we put things all together.

@update-docs
Copy link

update-docs bot commented Oct 24, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@glpatcern glpatcern requested a review from a team as a code owner October 24, 2023 07:11
@glpatcern glpatcern force-pushed the ceph-locks branch 6 times, most recently from 4f2bd1f to cb09a64 Compare October 24, 2023 09:32
@glpatcern glpatcern requested a review from javfg October 24, 2023 09:48
gmgigi96
gmgigi96 previously approved these changes Oct 25, 2023
@glpatcern
Copy link
Member Author

Thanks Javi! Will look into this tomorrow once I'm back

Co-authored-by: Javier Ferrer <[email protected]>
glpatcern and others added 4 commits October 26, 2023 08:19
Co-authored-by: Javier Ferrer <[email protected]>
Co-authored-by: Javier Ferrer <[email protected]>
Co-authored-by: Javier Ferrer <[email protected]>
Co-authored-by: Javier Ferrer <[email protected]>
@glpatcern glpatcern requested a review from javfg October 26, 2023 06:33
@gmgigi96 gmgigi96 merged commit d38ed8b into cs3org:master Oct 26, 2023
javfg added a commit to javfg/reva that referenced this pull request Nov 2, 2023
* Refactoring

* Implemented locking for CephFS

* Minor alignments in the EOS driver

* Cleanup

* Alternate implementation of GetLock

* Applied suggestions

Co-authored-by: Javier Ferrer <[email protected]>

* Applied suggestions

Co-authored-by: Javier Ferrer <[email protected]>

* Applied suggestions

Co-authored-by: Javier Ferrer <[email protected]>

* Applied suggestions

Co-authored-by: Javier Ferrer <[email protected]>

* Applied suggestions

Co-authored-by: Javier Ferrer <[email protected]>

* Further fixes

---------

Co-authored-by: Javier Ferrer <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants