crimson/os/seastore/journal: add logs to flush operation

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
This commit is contained in:
Yingxin Cheng 2022-01-19 14:26:48 +08:00
parent abb0951eda
commit 7c23739c96

View File

@ -648,9 +648,13 @@ Journal::RecordSubmitter::submit(
seastar::future<> Journal::RecordSubmitter::flush(OrderingHandle &handle)
{
LOG_PREFIX(RecordSubmitter::flush);
DEBUG("H{} flush", (void*)&handle);
return handle.enter(write_pipeline->device_submission
).then([this, &handle] {
return handle.enter(write_pipeline->finalize);
}).then([FNAME, &handle] {
DEBUG("H{} flush done", (void*)&handle);
});
}