[Bugs] [Bug 1733935] New: Open fd heal should filter O_APPEND/O_EXCL

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 29 09:10:28 UTC 2019


            Bug ID: 1733935
           Summary: Open fd heal should filter O_APPEND/O_EXCL
           Product: GlusterFS
           Version: mainline
            Status: NEW
         Component: disperse
          Assignee: bugs at gluster.org
          Reporter: pkarampu at redhat.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community

Description of problem:
    when a file needs to be re-opened O_APPEND and O_EXCL
    flags are not filtered in EC.

    - O_APPEND should be filtered because EC doesn't send O_APPEND below EC for
    open to make sure writes happen on the individual fragments instead of at
    end of the file.

    - O_EXCL should be filtered because shd could have created the file so even
    without O_EXCL open should succeed.

    Filter out these two flags in reopen.

Version-Release number of selected component (if applicable):

How reproducible:
Found while reading code.

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

More information about the Bugs mailing list