]> git-server-git.apps.pok.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>
Wed, 27 Sep 2017 19:40:18 +0000 (15:40 -0400)
commita8534cce1a1661375a93aff2314633bce63695ed
treeb2aea7e58ea9ff2b12cd681b67cbe3e24d82e405
parentdbc002eaa90e952df1acf295a630443ac3ada418
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>
src/osd/PG.cc