]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: be more careful about when we prime all pgs
authorSage Weil <sage@redhat.com>
Wed, 21 Jan 2015 03:08:19 +0000 (19:08 -0800)
committerSage Weil <sage@redhat.com>
Wed, 21 Jan 2015 03:20:24 +0000 (19:20 -0800)
commit4fcbd1464da97b098f2e27100f3288668324728d
tree10a255dd2420f157049473ea87cf556bbfdac459
parentf6fa254cda19df8f2539d27ab5d5c03d8a11d9b8
mon: be more careful about when we prime all pgs

If we mark down or weight down, pgs will go *away* from an osd and we can
focus just on the ones that are there now.

If we mark up or weight up, we don't know where pgs will come from, and
need to scan everything.

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