From 3719996a2d31d492d8a3b3f7defe57c2108c3f45 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Sun, 14 Sep 2014 16:51:25 +0530 Subject: cluster/afr: Handle EAGAIN properly in inodelk Problem: When one of the brick is taken down and brough back up in a replica pair, locks on that brick will be allowed. Afr returns inodelk success even when one of the bricks already has the lock taken. Fix: If any brick returns EAGAIN return failure to parent xlator. BUG: 1142020 Change-Id: Iee3f5990be75e10f8accec9bc3856e3f76d1593c Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/8744 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- tests/bugs/bug-1117851.t | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/bugs/bug-1117851.t b/tests/bugs/bug-1117851.t index 8292058cf2f..633b15aec09 100755 --- a/tests/bugs/bug-1117851.t +++ b/tests/bugs/bug-1117851.t @@ -43,7 +43,6 @@ check_files () { # I hope I remember to come back and strengthen # this test accordingly. echo "file $i didnt get moved" > /dev/stderr - #warnings=$((warnings+1)) else echo "file $i is MISSING" > /dev/stderr errors=$((errors+1)) -- cgit