diff options
author | Anand Avati <avati@gluster.com> | 2011-06-09 02:32:22 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-06-09 01:35:30 -0700 |
commit | 1a06583bc6ad298c97bdbafbcc0246bddc0ce301 (patch) | |
tree | fd90d15bb1babea3138f874875ce4e84f9958842 /xlators/cluster/afr/src/afr-self-heal-algorithm.c | |
parent | e8e2079d82d08daa600086895de3c2633b909188 (diff) |
cluster/dht: use GFID returned from hashed subvolume
.. to perform lookups on remaining subvolumes. This way, if there is a
race between two clients to 'fix' GFIDs with gfid-req, then the hashed
subvolume will arbitrate and return the winner in stbuf->ia_gfid. This
patch uses the returned gfid as the new gfid-req thereby preventing
mismatching GFIDs on other servers due to further races.
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2522 ([glusterfs-3.1.3qa8]: rm -rf shows invalid argument)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2522
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-algorithm.c')
0 files changed, 0 insertions, 0 deletions