]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Adjust misplaced calculation
authorDavid Zafman <dzafman@redhat.com>
Mon, 23 Oct 2017 21:49:02 +0000 (14:49 -0700)
committerDavid Zafman <dzafman@redhat.com>
Tue, 24 Oct 2017 00:09:24 +0000 (17:09 -0700)
commit3818e8ed2c0d8bd2216f6a3ae06b634032bf0a9c
tree6ed8c74504c6808ba7ff2d87493928e49ffdbe54
parentd0213e3d37094185ceaac61553c401a0fc207112
osd: Adjust misplaced calculation

When there are more backfill ndoes then misplaced nodes the
object calculation would cause misplace to drop too quickly.
Assuming that all backfill nodes are at approximate the same
place, we compute backfill per node and only adjust by
the number of misplaced nodes.

Fixes: http://tracker.ceph.com/issues/21898
Signed-off-by: David Zafman <dzafman@redhat.com>
src/osd/PG.cc