]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMap: change hard coded 0x10000 to macro CEPH_OSD_IN 40288/head
authorhaoyixing <haoyixing@kuaishou.com>
Sun, 21 Mar 2021 07:39:29 +0000 (07:39 +0000)
committerhaoyixing <haoyixing@kuaishou.com>
Sun, 21 Mar 2021 07:39:39 +0000 (07:39 +0000)
commita3fdd989d941d929c07ecc245d5906d00a4a3f79
tree72f17b4f2eaab7206524c8ed91e72027539d56f1
parent84801a00345c34bc531f00961a8a7b675b2a58ca
mon/PGMap: change hard coded 0x10000 to macro CEPH_OSD_IN

0x10000 is same with CEPH_OSD_IN for osd weight, so change them to
that macro, more meaningful.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
src/mon/PGMap.cc