]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG: make choose_acting a bit smarter
authorSamuel Just <samuel.just@dreamhost.com>
Tue, 17 May 2011 22:59:32 +0000 (15:59 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Thu, 19 May 2011 00:04:17 +0000 (17:04 -0700)
commit5d161aa0a9a679718cac128e25eeedad5d0bfab0
tree1e9037742635a5ab1aafdbd2e25147cbc9cbc2ab
parent0d79f1dedc0ccad304d348eb72e2adb3d55b1316
PG: make choose_acting a bit smarter

This change allows old strays that don't need backlogs
to stay acting until current members of the up set are caught up.
This allows the up set to maintain its full size during peering.

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h