diff options
author | Mohit Agrawal <moagrawa@redhat.com> | 2017-10-06 15:13:02 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2017-11-22 17:18:47 +0000 |
commit | df2d9d26c876d0360ee6cfc46f2187bfcc7da6e7 (patch) | |
tree | 47f87bc59a87eafac5e86680314f2673b0b6b919 /tests/bugs/bug-1371806_1.t | |
parent | 50a480701f4bf6885d3811e245a47d99661695d8 (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
Change-Id: I8d4bb40a6cbf0cec35d181ec0095cc7142b02e29
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
Diffstat (limited to 'tests/bugs/bug-1371806_1.t')
-rw-r--r-- | tests/bugs/bug-1371806_1.t | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/bugs/bug-1371806_1.t b/tests/bugs/bug-1371806_1.t index ef6a3798d25..df19a8c1c2a 100644 --- a/tests/bugs/bug-1371806_1.t +++ b/tests/bugs/bug-1371806_1.t @@ -46,5 +46,3 @@ EXPECT "abc" get_getfattr ./tmp{1..10} cd - cleanup -#G_TESTDEF_TEST_STATUS_CENTOS6=BAD_TEST,BUG=000000 -#G_TESTDEF_TEST_STATUS_NETBSD7=BAD_TEST,BUG=000000 |