Skip to content

Commit

Permalink
Merge pull request #8573: hammer: ECBackend: send write and read sub …
Browse files Browse the repository at this point in the history
…ops on behalf of client ops at normal priority

Reviewed-by: Nathan Cutler <ncutler@suse.com>
  • Loading branch information
smithfarm committed Jul 18, 2016
2 parents 9a5d187 + 488a787 commit 7d7d086
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/osd/ECBackend.cc
Expand Up @@ -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(
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 7d7d086

Please sign in to comment.