]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: flush_cache on umount, fsck finish, etc.
authorSage Weil <sage@redhat.com>
Thu, 16 Mar 2017 15:30:37 +0000 (11:30 -0400)
committerSage Weil <sage@redhat.com>
Tue, 21 Mar 2017 18:56:30 +0000 (13:56 -0500)
commite83fc554912b3478352866f8537d021bde1fa15d
tree6a0c96b9b5830deddd66945def9121fed20242fa
parent01ef844421e3f9c9ded988a113512e3d0bc7d5b2
os/bluestore: flush_cache on umount, fsck finish, etc.

Otherwise cache items survive beyond umount into the next mount cycle!

Also, ensure that we flush_cache *before* clearing coll_map, as some cache
items have references back to the Collection.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc