[Bugs] [Bug 1179050] gluster vol clear-locks vol-name path kind all inode return IO error in a disperse volume
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jan 19 06:04:45 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1179050
--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9440 committed in master by Vijay Bellur
(vbellur at redhat.com)
------
commit 4f734b04694feabe047d758c2a0a6cd8ce5fc450
Author: Xavier Hernandez <xhernandez at datalab.es>
Date: Tue Jan 13 10:50:06 2015 +0100
ec: Don't use inodelk on getxattr when clearing locks
When command 'clear-locks' from cli is executed, a getxattr request
is received by ec. This request was handled as usual, first locking
the inode. Once this request was processed by the bricks, all locks
were removed, including the lock used by ec.
When ec tried to unlock the previously acquired lock (which was
already released), caused a crash in glusterfsd.
This fix executes the getxattr request without any lock acquired
for the clear-locks command.
Change-Id: I77e550d13c4673d2468a1e13fe6e2fed20e233c6
BUG: 1179050
Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
Reviewed-on: http://review.gluster.org/9440
Reviewed-by: Dan Lambright <dlambrig at redhat.com>
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.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=0JA1fe2sqz&a=cc_unsubscribe
More information about the Bugs
mailing list