]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osdc: expose Journaler::write_head_needed
authorJohn Spray <john.spray@redhat.com>
Mon, 13 Feb 2017 12:00:42 +0000 (12:00 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 8 Mar 2017 10:27:01 +0000 (10:27 +0000)
commit92bf85efd4cfe66bf86d9b5ef602f49e341b0251
tree9565937844fc986eab7d200bec2b8df148a3e63e
parent0933f61d829cf604f03f6be5c0ec10f2702cf76a
osdc: expose Journaler::write_head_needed

So that callers on the read side can optionally
do their own write_head calls according to
the same condition that Journaler uses
internally for its write_head during _flush() condition.

Signed-off-by: John Spray <john.spray@redhat.com>
src/osdc/Journaler.cc
src/osdc/Journaler.h