summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-common.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-11-30 15:48:38 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-12-01 05:45:52 -0800
commitd7e0bf1757e5fae23bce3d09cd0d9fbbd822a067 (patch)
treec6235c2473b96d54472f07d6cd615e353109f239 /xlators/cluster/afr/src/afr-self-heal-common.c
parent47a8f97b729dd6bb2a2dabd3ed250ebbdf8be7fc (diff)
performance/stat-prefetch: make lookup to wait for the completion of another lookup on same path if one is in progress.
- If current lookup (2) does not wait for completion of the lookup (1) which is in progress, there can be a race condition where (2) completes ahead of (1) and resuming all the waiting operations in the queue. When (1) returns, the original operation (eg., stat, chmod etc) might've already unwound and hence the frame would've been destroyed. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 221 (stat prefetch implementation) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.c')
0 files changed, 0 insertions, 0 deletions