-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support open with O_RDWR flag (#370)
* Support open with O_RDWR flag Currently, Mountpoint supports either open with O_WRONLY or O_RDONLY because we don't allow applications to do both read and write at the same time. However, it's possible support O_RDWR flag too since we can decide at open time whether to give a read handle or a write handle back, and for any inode it's never possible for both start_reading and start_writing to work. Signed-off-by: Monthon Klongklaew <monthonk@amazon.com> * Update semantics document Signed-off-by: Monthon Klongklaew <monthonk@amazon.com> * Update mountpoint-s3/tests/fuse_tests/write_test.rs Co-authored-by: James Bornholt <jamesbornholt@gmail.com> Signed-off-by: Monthon Klongklaew <monthonk@amazon.com> * Add logs Signed-off-by: Monthon Klongklaew <monthonk@amazon.com> * Update document Signed-off-by: Monthon Klongklaew <monthonk@amazon.com> --------- Signed-off-by: Monthon Klongklaew <monthonk@amazon.com> Co-authored-by: James Bornholt <jamesbornholt@gmail.com>
- Loading branch information
1 parent
1c2ba5b
commit 0efc380
Showing
4 changed files
with
124 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters