]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: respect CRUSH weights for reweight-by-pg 2199/head
authorSage Weil <sage@redhat.com>
Tue, 12 Aug 2014 03:54:38 +0000 (20:54 -0700)
committerSage Weil <sage@redhat.com>
Tue, 19 Aug 2014 15:16:56 +0000 (08:16 -0700)
commit33048410c8546c47ea69313656a46e5c025f40c1
tree5183e1e25cf7163bae9c5cafc06d4c8c64a129cb
parent1ecf44eb57a6434e1f3a52859ffd3c4000d4bd00
mon/OSDMonitor: respect CRUSH weights for reweight-by-pg

Do not assume that all OSDs are weighted equally for reweight-by-pg.

Note that reweight-by-utilization already reweights based on the size of
the OSD volume; we presume that this is already reflected by the CRUSH
weights.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc