]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: fix min variance calc in 'osd df'
authorSage Weil <sage@redhat.com>
Tue, 14 Apr 2015 16:32:22 +0000 (09:32 -0700)
committerSage Weil <sage@redhat.com>
Tue, 14 Apr 2015 16:32:22 +0000 (09:32 -0700)
commitf3ce75c16422122a0b5eeca94be14310711798ce
tree58fc75a172c345ad73a83e059cfa679289e94be8
parentaec2f5de3be181fd45aa545a0c28ac5a7007419f
mon: fix min variance calc in 'osd df'

If the reweight is 0, ignore the osd for the purposes of calculating the
min.

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