[Bugs] [Bug 1761910] Rebalance causing IO Error - File descriptor in bad state

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 15 14:40:18 UTC 2019


Mohit Agrawal <moagrawa at redhat.com> changed:

           What    |Removed                     |Added
           Assignee|bugs at gluster.org            |moagrawa at redhat.com

--- Comment #1 from Mohit Agrawal <moagrawa at redhat.com> ---

Steps to reproduce 

1.Mounted a disperse volume
2.Started the a python script from 2 clients (one from /mnt/EC and another from
/mnt/EC/dir1) to continues
  fd open/close in multiple threads
3.Added brick and started rebalance 
4.Rebalance has completed
5. Python script is getting failure "File descriptor in bad state" 

Before merged this patch https://review.gluster.org/#/c/glusterfs/+/15804/ if
is not opened client_fops sets anon fd without checking fd is anonymous or not
so there was no issue 
in if fd is not opened before throwing any fop but after merged this patch
CLIENT_GET_REMOTE_FD sets the errno to EBADFD if fd is not anonymous.In dht
fop_cbks code path open fd only while errno is EBADF so need to handle EBADFD
if any dht children xlator sets as an error if fd is not opened.

Upstream patch

Mohit Agrawal

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