From 7c23739c96b79dda4e29f8e9cc49a38d3d1cda4d Mon Sep 17 00:00:00 2001 From: Yingxin Cheng Date: Wed, 19 Jan 2022 14:26:48 +0800 Subject: [PATCH] crimson/os/seastore/journal: add logs to flush operation Signed-off-by: Yingxin Cheng --- src/crimson/os/seastore/journal.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/crimson/os/seastore/journal.cc b/src/crimson/os/seastore/journal.cc index 173a6c8124cad..d7854ee6cf666 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); }); } -- 2.39.5