]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: set {backfill,recovery}_wait when canceling backfill/recovery
authorSage Weil <sage@redhat.com>
Tue, 19 Sep 2017 19:44:50 +0000 (14:44 -0500)
committerSage Weil <sage@redhat.com>
Thu, 28 Sep 2017 19:14:36 +0000 (15:14 -0400)
commit6c529092e8f4bd1e2a4a4069bf9f319d49430ccb
treec782cb45d02e489c89faea104a243006fa5800d4
parent9915a2f600788c37fb42f39a766ce93b9ae4d816
osd/PG: set {backfill,recovery}_wait when canceling backfill/recovery

The only caller currently is when we get as far as we can with backfill
or recovery but still have unfound objects.  In this case, go back into
the *_wait state instead of appearing as though we are still doing
something.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 4b216771bd31e5712471e13ad32ee8a1e519eb30)
src/osd/PG.cc