]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: reap collection after all pending ios done
authorHaomai Wang <haomai@xsky.com>
Sat, 5 Nov 2016 18:55:24 +0000 (02:55 +0800)
committerHaomai Wang <haomai@xsky.com>
Sat, 5 Nov 2016 18:55:24 +0000 (02:55 +0800)
commitf46527a934f682f68a7022038612ce9583fd7e5f
tree8b327589ad22a5c77a942296d31c371aab7fce16
parentbf4338a861ed5a9d0791db94c603e8f6fa7fd87d
os/bluestore: reap collection after all pending ios done

Otherwise when umount finish reap and wait for pending io done, the last
pending io may aim to remove collection and make removed_collection not
empty. So the leaked collection ref will result in BlueStore deconstruction
segment failt

Signed-off-by: Haomai Wang <haomai@xsky.com>
src/os/bluestore/BlueStore.cc