]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: make Sequencer::flush() more efficient
authorSage Weil <sage@redhat.com>
Thu, 9 Mar 2017 23:05:48 +0000 (18:05 -0500)
committerSage Weil <sage@redhat.com>
Tue, 21 Mar 2017 18:56:28 +0000 (13:56 -0500)
commit2d0d375809472d902fa706bb3f19e08f1bfbe2e9
tree1ac669fbf6ccdc6cb90c468cbfbfba0dad999aae
parent9ee0c842f2ab345fcddd21c698fef049fc2a155b
os/bluestore: make Sequencer::flush() more efficient

BlueStore collection methods only need preceding transactions to be
applied to the kv db; they do not need to be committed.

Note that this is *only* needed for collection listings; all other read
operations are immediately safe after queue_transactions().

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