From 5639fa298dcbb8c02f8b413ad5f734f63d2ac7be Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Thu, 1 Aug 2024 13:09:59 +0000 Subject: [PATCH] mds: dump log segment end along with offset Signed-off-by: Venky Shankar --- src/mds/LogSegment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/LogSegment.h b/src/mds/LogSegment.h index e6d8a2ca883..04427ad8be8 100644 --- a/src/mds/LogSegment.h +++ b/src/mds/LogSegment.h @@ -108,7 +108,7 @@ class LogSegment { static inline std::ostream& operator<<(std::ostream& out, const LogSegment& ls) { return out << "LogSegment(" << ls.seq << "/0x" << std::hex << ls.offset - << std::dec << " events=" << ls.num_events << ")"; + << "~" << ls.end << std::dec << " events=" << ls.num_events << ")"; } #endif -- 2.39.5