]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: fix+simplify is_up_acting_osd_shard
authorSage Weil <sage@redhat.com>
Mon, 9 Dec 2019 16:42:39 +0000 (10:42 -0600)
committerSage Weil <sage@redhat.com>
Mon, 9 Dec 2019 16:42:39 +0000 (10:42 -0600)
commit451c5cadf176f4bbc896dbd121bcb65c4e3f5c8c
treef9ced6b924189e0ea8fc50db4285113c185bbcb1
parent1cf2b906400dc4a821a5ca50ee8db317b2a82577
osd/OSDMap: fix+simplify is_up_acting_osd_shard

Use the new calc_pg_role() to simplify this function

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSDMap.h