]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG: choose_log_location: prefer OSDs with a backlog
authorJosh Durgin <josh.durgin@dreamhost.com>
Thu, 19 May 2011 21:31:30 +0000 (14:31 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Thu, 19 May 2011 21:33:29 +0000 (14:33 -0700)
commitbc2c31e0701c2c7434e4b95041559a85dacecaf0
treed9899d70eb36af2a0f58735068edb756558c8ace
parentfe298f64618392d0cfa36a64bc1382124d706fdd
PG: choose_log_location: prefer OSDs with a backlog

Without preferring an OSD with a backlog, PGs would get stuck in the
active state when acting != up and the backlog was on an OSD with the
same last_update but a lower number or log_tail.

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
src/osd/PG.cc