]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: allow local recovery reservations to be preempted
authorSage Weil <sage@redhat.com>
Tue, 19 Sep 2017 20:26:40 +0000 (15:26 -0500)
committerSage Weil <sage@redhat.com>
Fri, 29 Sep 2017 16:53:59 +0000 (11:53 -0500)
commitba106b6d32fb3138b7a61fe613b211e02f1e44aa
tree1afb0962f141b9dda8dd2b458234a67b19d4866f
parent33ea286d0cedf44b7b3c70bc9f35c7f88fcc0361
osd/PG: allow local recovery reservations to be preempted

If a PG has a higher recovery priority and a lower-priority item is in
progress, allow it to be preempted.  This triggers the RecoveryCancel
or BackfillCancel event with a 0 delay, which means it will immediately
re-request a reservation (and presumably wait).

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