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 open with O_RDWR flag #370

Merged
merged 5 commits into from
Jul 17, 2023
Merged

Support open with O_RDWR flag #370

merged 5 commits into from
Jul 17, 2023

Commits on Jul 17, 2023

  1. 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>
    monthonk committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    c0c8a82 View commit details
    Browse the repository at this point in the history
  2. Update semantics document

    Signed-off-by: Monthon Klongklaew <monthonk@amazon.com>
    monthonk committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    e4da0db View commit details
    Browse the repository at this point in the history
  3. 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>
    monthonk and jamesbornholt committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    0d883a9 View commit details
    Browse the repository at this point in the history
  4. Add logs

    Signed-off-by: Monthon Klongklaew <monthonk@amazon.com>
    monthonk committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    2699800 View commit details
    Browse the repository at this point in the history
  5. Update document

    Signed-off-by: Monthon Klongklaew <monthonk@amazon.com>
    monthonk committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    25ba433 View commit details
    Browse the repository at this point in the history