summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-03-09 21:59:08 +0100
committerSage Weil <sage@newdream.net>2010-03-21 05:33:08 +0100
commit8b218b8a4a65bf4e304ae8690cadb9100ef029c0 (patch)
tree0fcc54e0bfff4cea6bdbb73c391adc9763564a6b /Kbuild
parentceph: add missing locking to protect i_snap_realm_item during split (diff)
downloadlinux-8b218b8a4a65bf4e304ae8690cadb9100ef029c0.tar.xz
linux-8b218b8a4a65bf4e304ae8690cadb9100ef029c0.zip
ceph: fix inode removal from snap realm when racing with migration
When an inode was dropped while being migrated between two MDSs, i_cap_exporting_issued was non-zero such that issue caps were non-zero and __ceph_is_any_caps(ci) was true. This prevented the inode from being removed from the snap realm, even as it was dropped from the cache. Fix this by dropping any residual i_snap_realm ref in destroy_inode. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions