]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/journal: add logs to flush operation 44649/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 19 Jan 2022 06:26:48 +0000 (14:26 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Fri, 21 Jan 2022 06:59:22 +0000 (14:59 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/journal.cc

index 173a6c8124cade24c286690be0f5ae0f10d82a18..d7854ee6cf666948df69dc535e501cdfcc8c0e62 100644 (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);
   });
 }