]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PG: cancel local reservation in RemoteReservationRejected handler
authorSage Weil <sage@redhat.com>
Sun, 1 Oct 2017 20:01:05 +0000 (15:01 -0500)
committerSage Weil <sage@redhat.com>
Sun, 1 Oct 2017 20:06:22 +0000 (15:06 -0500)
commitf5809afb0f2ca2f1187609e645d6c4c5bd73e39d
treee327016fd6f98ce3f887ac323cf872a1c55c1b27
parent57d18f0e8d9b0428a193c63112a28ddd046337b4
osd/PG: cancel local reservation in RemoteReservationRejected handler

We can get a RemoteReservationRejected event either because *we* decide
to reject, or because we get a REJECT from the primary that means "cancel"
(e.g., because recovery/backfill was preempted there).  In both cases we
want to cancel our remote_reservation.

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