[Bugs] [Bug 1262345] `getfattr -n replica.split-brain-status <file>' command hung on the mount
bugzilla at redhat.com
bugzilla at redhat.com
Wed Sep 16 02:22:39 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1262345
--- Comment #8 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12169 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com)
------
commit 22882a9b810c4d5c7a7be0f1fac7069422d08b57
Author: Ravishankar N <ravishankar at redhat.com>
Date: Mon Sep 14 15:43:31 2015 +0530
afr: perform replace-brick in a synctask
Problem:
replace-brick setxattr is not performed inside a synctask. This can lead
to hangs if the setxattr is executed by epoll thread, as the epoll
thread will be waiting for replies to come where as epoll thread is the
thread that needs to epoll_ctl for reading from socket and listen.
Fix:
Move replace-brick to synctask to prevent epoll thread hang.
This patch is in line with the fix performed in
http://review.gluster.org/#/c/12163/
Change-Id: I6a71038bb7819f9e98f7098b18a6cee34805868f
BUG: 1262345
Signed-off-by: Ravishankar N <ravishankar at redhat.com>
Reviewed-on: http://review.gluster.org/12169
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Tested-by: NetBSD 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=tCFUV58xvo&a=cc_unsubscribe
More information about the Bugs
mailing list