[Bugs] [Bug 1465123] Fd based fops fail with EBADF on file migration
bugzilla at redhat.com
bugzilla at redhat.com
Sat Jul 1 15:40:15 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1465123
--- Comment #5 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17643 committed in release-3.11 by
Shyamsundar Ranganathan (srangana at redhat.com)
------
commit 26a81d878c6669cfecb81892a4460bd904512196
Author: N Balachandran <nbalacha at redhat.com>
Date: Mon Jun 26 21:12:56 2017 +0530
cluster/dht: Check if fd is opened on dst subvol
If an fd is opened on a file, the file is migrated
and the cached subvol is updated in the inode_ctx
before an fd based fop is sent, the fop is sent to
the dst subvol on which the fd is not opened.
This causes the FOP to fail with EBADF.
Now, every fd based fop will check to see that the fd
has been opened on the dst subvol before winding it down.
> BUG: 1465075
> Signed-off-by: N Balachandran <nbalacha at redhat.com>
> Reviewed-on: https://review.gluster.org/17630
> Smoke: Gluster Build System <jenkins at build.gluster.org>
> Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
> Reviewed-by: Susant Palai <spalai at redhat.com>
> CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
(cherry picked from commit 91db0d47ca267aecfc6124a3f337a4e2f2c9f1e2)
Change-Id: Id92ef5eb7a5b5226688e2d2868b15e383f5f240e
BUG: 1465123
Signed-off-by: N Balachandran <nbalacha at redhat.com>
Reviewed-on: https://review.gluster.org/17643
Smoke: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=TguCS4EgHW&a=cc_unsubscribe
More information about the Bugs
mailing list