]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PG: use local_reserver to schedule delete
authorSage Weil <sage@redhat.com>
Tue, 19 Dec 2017 17:48:26 +0000 (11:48 -0600)
committerSage Weil <sage@redhat.com>
Thu, 11 Jan 2018 23:07:00 +0000 (17:07 -0600)
commit4fb3947ef0e711b88b3ba5277d6f50c5d153f675
tree42f6c994d58e2d7de1daaeefa7de97c2802b82fa
parentb92b91b93cf737ccfa1540b949e8273c11312ec5
osd/PG: use local_reserver to schedule delete

Use the reserver so that delete competes for the same slot(s) as recovery
and such.

Priority below recovery normally, unless the OSD is getting fullish, in
which case we set a very high priority.  We have to be careful here because
backfill will back off when the OSD gets full(ish) but log recovery does
not.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PG.h
src/osd/osd_types.h