aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorYan, Zheng <[email protected]>2017-09-06 02:15:16 +0000
committerIlya Dryomov <[email protected]>2017-09-06 17:57:00 +0000
commit15b51bd6badbb373c723aa019cf530c8263efd7e (patch)
treee5e9c111c77b05319364f241440b2d5edee77923 /fs/btrfs/dev-replace.c
parentceph: wait on writeback after writing snapshot data (diff)
downloadkernel-15b51bd6badbb373c723aa019cf530c8263efd7e.tar.gz
kernel-15b51bd6badbb373c723aa019cf530c8263efd7e.zip
ceph: stop on-going cached readdir if mds revokes FILE_SHARED cap
If directory's FILE_SHARED cap get revoked, dentry in the directory can get spliced into other directory (Eg, other client move the dentry into directory B, then we do readdir on directory B). So we should stop on-going cached readdir. this can be achieved by marking dir not complete, because __dcache_readdir() checks dir completeness before emitting each dentry. Signed-off-by: "Yan, Zheng" <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions