[Bugs] [Bug 1228952] Disperse volume : glusterfs crashed
bugzilla at redhat.com
bugzilla at redhat.com
Tue Jun 9 05:09:24 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1228952
--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11111 committed in master by Vijay Bellur
(vbellur at redhat.com)
------
commit 31866a490edf5b92886accac67eddf78b291d710
Author: Pranith Kumar K <pkarampu at redhat.com>
Date: Sun Jun 7 10:24:08 2015 +0530
cluster/ec: Prevent double unwind
Problem:
1) ec_access/ec_readlink_/ec_readdir[p] _cbks are trying to recover only
from
ENOTCONN.
2) When the fop succeeds it unwinds right away. But when its
ec_fop_manager resumes, if the number of bricks that are up is less than
ec->fragments, the the state machine will resume with -EC_STATE_REPORT
which
unwinds again. This will lead to crashes.
Fix:
- If fop fails retry on other subvols, as ESTALE/ENOENT/EBADFD etc are also
recoverable.
- unwind success/failure in _cbks
Change-Id: I2cac3c2f9669a4e6160f1ff4abc39f0299303222
BUG: 1228952
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
Reviewed-on: http://review.gluster.org/11111
Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
--
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