Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/bluestore: fix false asserts in Cache::trim_all() #15470

Merged
merged 1 commit into from Jun 5, 2017

Conversation

xiexingguo
Copy link
Member

These asserts are true if we are going to shutdown the BlueStore instance.
But the caller can also be something like "ceph daemon out/osd.1.asok flush_store_cache",
which can fire these asserts as a result.

Signed-off-by: xie xingguo xie.xingguo@zte.com.cn

@xiexingguo xiexingguo force-pushed the wip-rm-false-assert branch 3 times, most recently from 57939ab to 34b1ff7 Compare June 5, 2017 10:01
These asserts are true if we are going to shutdown the BlueStore instance.
But the caller can also be something like "ceph daemon out/osd.1.asok flush_store_cache",
which can fire these asserts as a result.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@liewegas
Copy link
Member

liewegas commented Jun 5, 2017

@liewegas liewegas merged commit 06f097c into ceph:master Jun 5, 2017
@xiexingguo xiexingguo deleted the wip-rm-false-assert branch June 6, 2017 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants