summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.h
diff options
context:
space:
mode:
authorMohit Agrawal <moagrawa@redhat.com>2017-10-06 15:13:02 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-01-02 18:41:54 +0000
commitfe1008455ddaa4e3f95a5fe3180e6947afdb6c75 (patch)
tree119ac1ad7dd0f3edd4b8c93d5f699e75cccdb6a7 /xlators/storage/posix/src/posix.h
parent466e24dcb19de95dd22c76aeb54861e902954d86 (diff)
cluster/dht: Serialize mds update code path with lookup unwind in selfheal
Problem: Sometime test case ./tests/bugs/bug-1371806_1.t is failing on centos due to race condition between fresh lookup and setxattr fop. Solution: In selfheal code path we do save mds on inode_ctx, it was not serialize with lookup unwind. Due to this behavior after lookup unwind if mds is not saved on inode_ctx and if any subsequent setxattr fop call it has failed with ENOENT because no mds has found on inode ctx.To resolve it save mds on inode ctx has been serialize with lookup unwind. > BUG: 1498966 > Signed-off-by: Mohit Agrawal <moagrawa@redhat.com> Change-Id: I8d4bb40a6cbf0cec35d181ec0095cc7142b02e29 BUG: 1529055 Signed-off-by: Mohit Agrawal <moagrawa@redhat.com> Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix.h')
0 files changed, 0 insertions, 0 deletions