From: Venky Shankar Date: Thu, 1 Aug 2024 13:09:59 +0000 (+0000) Subject: mds: dump log segment end along with offset X-Git-Tag: v19.2.3~454^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2e187d09857768dc86d828d406c7771b13e407c5;p=ceph.git mds: dump log segment end along with offset Signed-off-by: Venky Shankar (cherry picked from commit 5639fa298dcbb8c02f8b413ad5f734f63d2ac7be) --- 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