]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix false asserts in Cache::trim_all() 15470/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 5 Jun 2017 03:29:39 +0000 (11:29 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 5 Jun 2017 10:08:00 +0000 (18:08 +0800)
commit34b1ff73aa9623e2d53dc89cc93ccb11d95f1cdb
tree570496b71cffc5b3352ea3adc34312508dc9cadf
parentbf72bd8dcb2ad8062c4f52bdc3eee4e1b2548e1a
os/bluestore: fix false asserts in Cache::trim_all()

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>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h