]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: upmap should respect osd reweights 17944/head
authorTheofilos Mouratidis <t.mour@cern.ch>
Mon, 25 Sep 2017 14:17:47 +0000 (16:17 +0200)
committerTheofilos Mouratidis <t.mour@cern.ch>
Mon, 25 Sep 2017 17:56:28 +0000 (19:56 +0200)
commitb8561cefa705d31954d47723125376a3c087f4f4
tree9ac2dc841e488f57b1c3f20d9aaf1b18eeff0d12
parentff9e024a59d87eda6cbf3be9464ee7ae6f1140d7
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
src/osd/OSDMap.cc