scality / elmerfs

MIT License
96 stars 2 forks source link

[locks]: User controlled locks #6

Open liaud opened 3 years ago

liaud commented 3 years ago

As of now, it is not possible for the user to temporarily enable locking for specific operation or/and on specific inodes.

Sometimes, it is wanted to have the guaranty that no conflict can happens. If a user wants to rename a file and be sure that when the rename complete, it will have the uniqueness in the destination name, it should be possible for him to tell us that the next operations on that files ensure proper locking of the file system.