]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: allow preemption of remote backfill reservations
authorSage Weil <sage@redhat.com>
Mon, 23 Oct 2017 03:37:36 +0000 (22:37 -0500)
committerSage Weil <sage@redhat.com>
Mon, 23 Oct 2017 03:37:36 +0000 (22:37 -0500)
commit2463c6463d1ed38a2e15a0960ed1530a47851489
tree165ed9accf910f9421659e63a7cf6a417f4817b5
parent0e9dac1ae1a529ecbb9305dabcb3f97c0e193f8d
osd/PG: allow preemption of remote backfill reservations

If we have granted a remote backfill reservation, and a higher priority
request comes in, send a REVOKE message back to the primary and drop the
reservation (allowing the higher-priority reservation to be GRANTed).

We can only do this if the primary is running new code because it must
understand the REVOKE message.

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