summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingxin Cheng <yingxin.cheng@intel.com>2022-01-19 14:26:48 +0800
committerYingxin Cheng <yingxin.cheng@intel.com>2022-01-21 14:59:22 +0800
commit7c23739c96b79dda4e29f8e9cc49a38d3d1cda4d (patch)
tree4752e39fb94fa7cced5715ded5b0d471e9704566
parentabb0951eda905e3c7d6b4b5a7b9488933f780fd5 (diff)
downloadceph-7c23739c96b79dda4e29f8e9cc49a38d3d1cda4d.tar.gz
crimson/os/seastore/journal: add logs to flush operation
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
-rw-r--r--src/crimson/os/seastore/journal.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crimson/os/seastore/journal.cc b/src/crimson/os/seastore/journal.cc
index 173a6c8124c..d7854ee6cf6 100644
--- a/src/crimson/os/seastore/journal.cc
+++ b/src/crimson/os/seastore/journal.cc
@@ -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);
});
}