]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ECBackend: send subop writes and reads at normal priority 8573/head
authorSamuel Just <sjust@redhat.com>
Fri, 8 Jan 2016 21:26:39 +0000 (13:26 -0800)
committerVicente Cheng <freeze.bilsted@gmail.com>
Wed, 13 Apr 2016 06:39:40 +0000 (14:39 +0800)
We want these to be processed ahead of new client ops since
there are resources being held.

Fixes: 14313
Backport: hammer
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit b1151c4b8b7f22c7ac067da059d087007b0bc8ea)

src/osd/ECBackend.cc

index 00cbd54c6d7411833d2dd567ac2b1428727cdc95..8f2b571acc44e59094bb5e5215ef7efa72c69f4b 100644 (file)
@@ -1590,7 +1590,6 @@ void ECBackend::start_write(Op *op) {
       op->on_local_applied_sync = 0;
     } else {
       MOSDECSubOpWrite *r = new MOSDECSubOpWrite(sop);
-      r->set_priority(cct->_conf->osd_client_op_priority);
       r->pgid = spg_t(get_parent()->primary_spg_t().pgid, i->shard);
       r->map_epoch = get_parent()->get_epoch();
       get_parent()->send_message_osd_cluster(
@@ -1726,7 +1725,7 @@ void ECBackend::objects_read_async(
        c)));
 
   start_read_op(
-    cct->_conf->osd_client_op_priority,
+    CEPH_MSG_PRIO_DEFAULT,
     for_read_op,
     OpRequestRef());
   return;