]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: upmap should respect osd reweights 18699/head
authorTheofilos Mouratidis <t.mour@cern.ch>
Mon, 25 Sep 2017 14:17:47 +0000 (16:17 +0200)
committerShinobu Kinjo <shinobu@redhat.com>
Fri, 3 Nov 2017 07:34:48 +0000 (16:34 +0900)
commitcd18f84304124e1341516194fb73c8bde48db445
tree3bd5ada648f94a95d47ac528d5b989b1dcbe0c24
parent03a11694feee0d78dcc1f296a77200635a651707
osd: upmap should respect osd reweights

Modify OSDMap::calc_pg_upmaps to take the osd reweight into account when
computing the size of each OSD.

Signed-off-by: Theofilos Mouratidis <t.mour@cern.ch>
Fixes: http://tracker.ceph.com/issues/21538
(cherry picked from commit b8561cefa705d31954d47723125376a3c087f4f4)
src/osd/OSDMap.cc