summaryrefslogtreecommitdiffstats
path: root/extras/ganesha
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2016-08-24 21:01:05 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-08-25 06:48:33 -0700
commitf013335400d033a9677797377b90b968803135f4 (patch)
tree05814e905c009ed2619a68ed268f666c99e11c40 /extras/ganesha
parent6aeff261a18de1b47553f4d5c6efe5c2e86f60a2 (diff)
cluster/ec: Use locks for opendir
Problem: In some cases we see that readdir keeps winding to the brick that doesn't have any blocked locks i.e. first brick. This is leading to the client assuming that there are no blocking locks on the inode so it won't give away the lock. Other clients end up blocked on the lock as if the command hung. Fix: Proper way to fix this issue is to use infra present in http://review.gluster.org/14736 This is a stop gap fix where we start taking inodelks in opendir which goes to all the bricks, this will detect if there is any contention. BUG: 1346719 Change-Id: I91109107a26f6535b945ac476338e9f21dc31eb9 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/15309 Smoke: Gluster Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Ashish Pandey <aspandey@redhat.com>
Diffstat (limited to 'extras/ganesha')
0 files changed, 0 insertions, 0 deletions