]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/osd.cc: Add cluster_osdmap_trim_lower_bound to print
authorMatan Breizman <mbreizma@redhat.com>
Wed, 1 Feb 2023 09:46:57 +0000 (09:46 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 2 Feb 2023 10:22:22 +0000 (12:22 +0200)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/osd/osd.cc

index bae5cecfbe29fbf783e2fcdecce3f5ab2b3b5216..0d282327e65c27f77423078721eaec2f8873b3bc 100644 (file)
@@ -675,8 +675,10 @@ void OSD::print(std::ostream& out) const
 {
   out << "{osd." << superblock.whoami << " "
       << superblock.osd_fsid << " [" << superblock.oldest_map
-      << "," << superblock.newest_map << "] " << pg_shard_manager.get_num_pgs()
-      << " pgs}";
+      << "," << superblock.newest_map << "] "
+      << "tlb:" << superblock.cluster_osdmap_trim_lower_bound
+      << " pgs:" << pg_shard_manager.get_num_pgs()
+      << "}";
 }
 
 std::optional<seastar::future<>>