diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-10-12 08:48:28 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-10-18 12:09:58 +0200 |
commit | f72f94555aa32b2c4374dde5ad9b960cc4ff32e2 (patch) | |
tree | ea39f8a0ae76f31f4f8004fd7045824ae608e5bb /fs/ceph/super.h | |
parent | ceph: fix error handling in ceph_read_iter (diff) | |
download | linux-f72f94555aa32b2c4374dde5ad9b960cc4ff32e2.tar.xz linux-f72f94555aa32b2c4374dde5ad9b960cc4ff32e2.zip |
ceph: fix readdir vs fragmentation race
following sequence of events tigger the race
- client readdir frag 0* -> got item 'A'
- MDS merges frag 0* and frag 1*
- client send readdir request (frag 1*, offset 2, readdir_start 'A')
- MDS reply items (that are after item 'A') in frag *
Link: http://tracker.ceph.com/issues/17286
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/super.h')
0 files changed, 0 insertions, 0 deletions