summaryrefslogtreecommitdiffstats
path: root/glusterfs-hadoop
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2014-04-19 20:03:38 +0530
committerVijay Bellur <vbellur@redhat.com>2014-04-28 09:54:11 -0700
commit82c244a390679e03ea25830abbb90b0dcc7a69cc (patch)
treea96049bf44f5d621f1ba8c731534bbea41eb2385 /glusterfs-hadoop
parente49e56c5e81e7e6a4cc4d0ac2982446dd1887ef9 (diff)
features/locks: Remove stale inodelk objects from 'blocked_locks' list
Backport of http://review.gluster.org/7512 * In the event of a DISCONNECT from a client, as part of cleanup, inodelk objects are not removed from the blocked_locks list before being unref'd and freed, causing the brick process to crash at some point when the (now) stale object is accessed again in the list. * Also during cleanup, it is pointless to try and grant lock to a previously blocked inodelk (say L1) as part of releasing another conflicting lock (L2), (which is a side-effect of L1 not being deleted from blocked_locks list before grant_blocked_inode_locks() in cleanup) if L1 is also associated with the DISCONNECTing client. This patch fixes the problem. Change-Id: I84d884e203761d0b071183860ffe8cae1f212ea5 BUG: 1089470 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/7575 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs-hadoop')
0 files changed, 0 insertions, 0 deletions