diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-10-16 03:10:08 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-16 03:12:59 -0700 |
commit | 4e2e497479a37ea659163ec8a84b8876b61ee1f3 (patch) | |
tree | fe3eb3ca3c8582902b1847dbc450476ee284ef2f /AUTHORS | |
parent | bd6a6bc71dfaad3f74aa974f0c26ee4adc4dc05e (diff) |
cluster/afr: Hold lock on all names under "victim" in rmdir
When an rmdir is being done, hold a lock on all names under it, so
that new entries cannot be created while the rmdir is in progress.
Without this lock, rmdir and create operations under the
victim directory race with each other leading to
inconsistencies among the subvolumes.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 112 (parallel deletion of files mounted by different clients on the same back-end hangs and/or does not completely delete)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=112
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions