]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
OSD/admin_socket: add get_mapped_pools
authorXiaoxi Chen <xiaoxchen@ebay.com>
Wed, 22 Nov 2017 07:57:35 +0000 (00:57 -0700)
committerXiaoxi Chen <xiaoxchen@ebay.com>
Fri, 24 Nov 2017 03:37:25 +0000 (20:37 -0700)
commit95389413ddd9f37b0a196b4c5aa5c9615613936b
tree8664190681b3eb72ea2e2f2cd8b1e1fc2957e916
parent8723353f2b3ea12f31f203e1ae502bc68af38520
OSD/admin_socket: add get_mapped_pools

get_mapped_pools will return all pool_id that
mapped to the paticular OSD.

It is super useful for monitoring system that want to
**group** OSDs based on application. PoolID is a nature
grouping tag to be attached to OSDs.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
src/osd/OSD.cc
src/osd/OSD.h