diff options
author | Basavanagowda Kanur <gowda@gluster.com> | 2009-06-30 00:43:56 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-06-30 15:24:52 -0700 |
commit | eeeffd41703003be30b3f1811fa54f5f8047ed73 (patch) | |
tree | 47f0cec91c247301effefb208285827ca014d5eb /xlators/protocol/client | |
parent | a3ece0caa52ad2eacf8a8691aaca53295cde972f (diff) |
cluster/afr - use different dictionaries for sending xattrop requests to each of the subvolume
- This patch fixes bug #29.
- Using separate copies of dictionaries also eliminates a potential bug in a
setup consisting of afr with a posix and client, each having io-threads on
top as children. Since posix_xattrop after performing required operations
on the xattr array passed in dictionary, sets the result at the same key
and in the same dictionary passed as input argument,
there can be race conditions where in the results of the operation on
posix-child can be sent to the other child as input argument for xattrop,
which ofcourse is wrong.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/protocol/client')
0 files changed, 0 insertions, 0 deletions