]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ECBackend: remove no-op set_priority calls
authorSage Weil <sage@redhat.com>
Thu, 16 Feb 2017 21:45:02 +0000 (16:45 -0500)
committerSage Weil <sage@redhat.com>
Mon, 20 Feb 2017 19:12:23 +0000 (14:12 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ECBackend.cc

index 367ac371001126eede329d204a40b501396ae51e..c8ee74b169837cb47c025cb42fde2fd22aba9820 100644 (file)
@@ -733,7 +733,6 @@ bool ECBackend::handle_message(
   case MSG_OSD_EC_WRITE_REPLY: {
     MOSDECSubOpWriteReply *op = static_cast<MOSDECSubOpWriteReply*>(
       _op->get_req());
-    op->set_priority(priority);
     handle_sub_write_reply(op->op.from, op->op);
     return true;
   }
@@ -743,7 +742,6 @@ bool ECBackend::handle_message(
     reply->pgid = get_parent()->primary_spg_t();
     reply->map_epoch = get_parent()->get_epoch();
     handle_sub_read(op->op.from, op->op, &(reply->op));
-    op->set_priority(priority);
     get_parent()->send_message_osd_cluster(
       op->op.from.osd, reply, get_parent()->get_epoch());
     return true;