os/bluestore: reap collection after all pending ios done #11797

Merged
merged 1 commit into from Nov 7, 2016

Projects

None yet

2 participants

@yuyuyu101
Member

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

@yuyuyu101 yuyuyu101 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>
f46527a
@liewegas liewegas merged commit c2a9480 into ceph:master Nov 7, 2016

2 checks passed

Signed-off-by all commits in this PR are signed
Details
default Build finished.
Details
@yuyuyu101 yuyuyu101 deleted the yuyuyu101:wip-bluestore-pending branch Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment