From: Samuel Just Date: Fri, 8 Jan 2016 21:26:39 +0000 (-0800) Subject: ECBackend: send subop writes and reads at normal priority X-Git-Tag: v10.1.0~277^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b1151c4b8b7f22c7ac067da059d087007b0bc8ea;p=ceph.git ECBackend: send subop writes and reads at normal priority 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 --- diff --git a/src/osd/ECBackend.cc b/src/osd/ECBackend.cc index c87e6d22af01..61edef4dc8a7 100644 --- a/src/osd/ECBackend.cc +++ b/src/osd/ECBackend.cc @@ -1830,7 +1830,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( @@ -1972,7 +1971,7 @@ void ECBackend::objects_read_async( c))); start_read_op( - cct->_conf->osd_client_op_priority, + CEPH_MSG_PRIO_DEFAULT, for_read_op, OpRequestRef(), fast_read, false);