]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSD, PG: remove optional arg from queue_for_recovery
authorPiotr Dałek <piotr.dalek@corp.ovh.com>
Mon, 20 Feb 2017 11:43:38 +0000 (12:43 +0100)
committerPiotr Dałek <piotr.dalek@corp.ovh.com>
Thu, 20 Jul 2017 07:35:53 +0000 (09:35 +0200)
commit50742c5cd0962d542ea2a1b0b5e32e68fe7b1a72
tree0d965395091bfaed6d3d718992d5d7ad5732ff02
parentde0566f6044052cff28837838ac041c1fc76a2f1
OSD, PG: remove optional arg from queue_for_recovery

The optional arg ("front") was meant to control if PG was supposed
to be put in front or back (default) of awaiting_throttle. For some
reason, this was't used at all, so this commit removes it and
replaces with logic that checks whether the PG has forcecd
backfill or recovery set, and lets it in the front only in that
case.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
src/osd/OSD.h
src/osd/PG.cc
src/osd/PG.h