[Bugs] [Bug 1505721] New: open on a file fails with ENOENT instead of EIO

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 24 07:49:56 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1505721

            Bug ID: 1505721
           Summary: open on a file fails with ENOENT instead of EIO
           Product: GlusterFS
           Version: mainline
         Component: distribute
          Assignee: bugs at gluster.org
          Reporter: pkarampu at redhat.com
                CC: bugs at gluster.org



Description of problem:
In afr we added code to fail open on files in split-brain with EIO, this is
leading to migration check and the errno becomes ENOENT instead.

https://review.gluster.org/#/c/13075/17/tests/basic/afr/split-brain-open.t@36
is where the failure is seen.

dht_inode_missing() also considers EIO to be inode missing, which is the reason
for this issue.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

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