Merge pull request #23029 from dillaman/wip-24909

osd: do not treat an IO hint as an IOP for PG stats

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
Yuri Weinstein 2018-07-23 14:52:02 -07:00 committed by GitHub
commit 19c1a77bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6294,7 +6294,6 @@ int PrimaryLogPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops)
t->set_alloc_hint(soid, op.alloc_hint.expected_object_size,
op.alloc_hint.expected_write_size,
op.alloc_hint.flags);
ctx->delta_stats.num_wr++;
result = 0;
}
break;