]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ECBackend: use CEPH_MSG_PRIO_HIGH for write replies
authorSamuel Just <sjust@redhat.com>
Wed, 3 Feb 2016 17:35:31 +0000 (09:35 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 25 Feb 2016 18:56:41 +0000 (10:56 -0800)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/ECBackend.cc

index 61edef4dc8a761f07866b02fdb25e5b687e79c0d..ff44a6930455850d76efac57fbfd0f86e62153fb 100644 (file)
@@ -776,6 +776,7 @@ void ECBackend::sub_write_committed(
     r->op.last_complete = last_complete;
     r->op.committed = true;
     r->op.from = get_parent()->whoami_shard();
+    r->set_priority(CEPH_MSG_PRIO_HIGH);
     get_parent()->send_message_osd_cluster(
       get_parent()->primary_shard().osd, r, get_parent()->get_epoch());
   }
@@ -816,6 +817,7 @@ void ECBackend::sub_write_applied(
     r->op.from = get_parent()->whoami_shard();
     r->op.tid = tid;
     r->op.applied = true;
+    r->set_priority(CEPH_MSG_PRIO_HIGH);
     get_parent()->send_message_osd_cluster(
       get_parent()->primary_shard().osd, r, get_parent()->get_epoch());
   }