summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatan Breizman <mbreizma@redhat.com>2023-02-01 10:46:57 +0100
committerMatan Breizman <mbreizma@redhat.com>2023-02-02 11:22:22 +0100
commit27584ffcd6bb5aaa7606f80646808687bdc54f38 (patch)
treedf0196c0d1f0b7c71a9423ae467071390f91b50d /src
parentosd/OSD.cc: Add cluster_osdmap_trim_lower_bound to status (diff)
downloadceph-27584ffcd6bb5aaa7606f80646808687bdc54f38.tar.xz
ceph-27584ffcd6bb5aaa7606f80646808687bdc54f38.zip
crimson/osd/osd.cc: Add cluster_osdmap_trim_lower_bound to print
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/crimson/osd/osd.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/crimson/osd/osd.cc b/src/crimson/osd/osd.cc
index bae5cecfbe2..0d282327e65 100644
--- a/src/crimson/osd/osd.cc
+++ b/src/crimson/osd/osd.cc
@@ -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<>>