]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds: dump log segment end along with offset
authorVenky Shankar <vshankar@redhat.com>
Thu, 1 Aug 2024 13:09:59 +0000 (13:09 +0000)
committerVenky Shankar <vshankar@redhat.com>
Tue, 20 Aug 2024 07:07:47 +0000 (07:07 +0000)
Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/mds/LogSegment.h

index e6d8a2ca8830c61b78f9c83d0968846e8a753e30..04427ad8be8ead820cf23ff480d547e56cb6c99e 100644 (file)
@@ -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