summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Zafman <david.zafman@inktank.com>2013-05-07 15:58:48 -0700
committerDavid Zafman <david.zafman@inktank.com>2013-05-09 12:00:29 -0700
commit09163a3bbc37223416a87dec39dfe2db7c06d2ba (patch)
tree23dfcb8c35a4ce384570b86d1d0f1c93a0a1970a /doc
parentdf049c1c1ffeb3efa29eff7e9862c6ae7ea489cf (diff)
downloadceph-09163a3bbc37223416a87dec39dfe2db7c06d2ba.tar.gz
Add priority option to AsyncReserver class
Add priority to request_reservation() Change to map of lists by prioriry Add priority to queue_pointers mappped type Signed-off-by: David Zafman <david.zafman@inktank.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/dev/osd_internals/backfill_reservation.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/dev/osd_internals/backfill_reservation.rst b/doc/dev/osd_internals/backfill_reservation.rst
index 9918360c49d..11c92cd5472 100644
--- a/doc/dev/osd_internals/backfill_reservation.rst
+++ b/doc/dev/osd_internals/backfill_reservation.rst
@@ -10,9 +10,9 @@ incoming backfills on a single node.
Each OSDService now has two AsyncReserver instances: one for backfills going
from the osd (local_reserver) and one for backfills going to the osd
(remote_reserver). An AsyncReserver (common/AsyncReserver.h) manages a queue
-of waiting items and a set of current reservation holders. When a slot frees
-up, the AsyncReserver queues the Context* associated with the next item in the
-finisher provided to the constructor.
+by priority of waiting items and a set of current reservation holders. When a
+slot frees up, the AsyncReserver queues the Context* associated with the next
+item on the highest priority queue in the finisher provided to the constructor.
For a primary to initiate a backfill, it must first obtain a reservation from
its own local_reserver. Then, it must obtain a reservation from the backfill