]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSD: oldest_map and newest_map should be displayed directly 54913/head
authorzhangjianwei2 <zhangjianwei2_yewu@cmss.chinamobile.com>
Fri, 15 Dec 2023 08:42:07 +0000 (16:42 +0800)
committerzhangjianwei2 <zhangjianwei2_yewu@cmss.chinamobile.com>
Fri, 15 Dec 2023 09:06:52 +0000 (17:06 +0800)
commit34dc9dda1faaa0489f6d28d30babc542c6385c3b
tree9be59a80485e9a9a712d5eca38c34be878f8052c
parent7911eea5fb03aeb9f93bfcf5048597461b3a260c
OSD: oldest_map and newest_map should be displayed directly

9215996586ba79302c07e5cf586ec2add1ac159e delete these,
ceph daemon osd.x status
when osd status is displayed, only superblock.maps (begin ~ len) can be seen.
this need calculate maps to get oldest_map/newest_map held by the current osd.
moreover, it cannot be simply calculate. need pay attention to the boundaries。
this is not very friendly.

Fixes: https://tracker.ceph.com/issues/63836
Signed-off-by: zhangjianwei2 <zhangjianwei2@cmss.chinamobile.com>
src/crimson/osd/osd.cc
src/osd/OSD.cc