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 /libglusterfs | |
| 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 'libglusterfs')
0 files changed, 0 insertions, 0 deletions
