summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-protocol.c
diff options
context:
space:
mode:
authorBasavanagowda Kanur <gowda@gluster.com>2009-06-30 00:43:56 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-30 15:24:54 -0700
commita0e8c18dbb8e905ebecffd75096c9469fa922165 (patch)
tree63628c9c664123b7dd9a6a87da8ecfcdd4f0914f /xlators/protocol/client/src/client-protocol.c
parente513b78e658c1b3052bf28e8a72199df8ad04cae (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/src/client-protocol.c')
0 files changed, 0 insertions, 0 deletions