]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore: separate _txc_finish_kv into _txc_{applied,committed}_kv
authorSage Weil <sage@redhat.com>
Wed, 8 Mar 2017 19:51:39 +0000 (14:51 -0500)
committerSage Weil <sage@redhat.com>
Tue, 21 Mar 2017 18:56:27 +0000 (13:56 -0500)
commiteff1e83145d05a8f455204c18a66b9dca9ccfd78
treeb9e053e53e362bedb6662b99813646db4829ada6
parent3238162bd98801e0bfe1e81a511559a1cb22dfdb
os/bluestore: separate _txc_finish_kv into _txc_{applied,committed}_kv

We can unblock flush()ing threads as soon as we have applied to the kv db,
while the callbacks must wait until we have committed.

Move methods around a bit to better match the execution order.

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