summaryrefslogtreecommitdiff
path: root/src/osd/OSD.cc
diff options
context:
space:
mode:
authorDavid Zafman <david.zafman@inktank.com>2013-05-07 18:03:25 -0700
committerDavid Zafman <david.zafman@inktank.com>2013-05-09 12:00:29 -0700
commit00e903160b33fe0a2195fe9c86ed24350944bdea (patch)
tree66bd43656d3dfcb1621f6dd3adf4054dfcd08ba9 /src/osd/OSD.cc
parent09163a3bbc37223416a87dec39dfe2db7c06d2ba (diff)
downloadceph-00e903160b33fe0a2195fe9c86ed24350944bdea.tar.gz
osd: prioritize recovery for degraded pgs
Three Reservation priorities from RECOVERY, BACKFILL_HIGH, BACKFILL_LOW fixes: #4273 Signed-off-by: David Zafman <david.zafman@inktank.com>
Diffstat (limited to 'src/osd/OSD.cc')
-rw-r--r--src/osd/OSD.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc
index eccaa4b89a4..9852f6f1d6d 100644
--- a/src/osd/OSD.cc
+++ b/src/osd/OSD.cc
@@ -5715,7 +5715,7 @@ void OSD::handle_pg_backfill_reserve(OpRequestRef op)
new PG::CephPeeringEvt(
m->query_epoch,
m->query_epoch,
- PG::RequestBackfill())));
+ PG::RequestBackfillPrio(m->priority))));
} else if (m->type == MBackfillReserve::GRANT) {
pg->queue_peering_event(
PG::CephPeeringEvtRef(