From: Jason Dillaman Date: Fri, 13 Jul 2018 13:48:56 +0000 (-0400) Subject: osd: do not treat an IO hint as an IOP for PG stats X-Git-Tag: v12.2.11~132^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d0a63238f43bf50a36a7f132db52f6d971910b9d;p=ceph.git osd: do not treat an IO hint as an IOP for PG stats Fixes: http://tracker.ceph.com/issues/24909 Signed-off-by: Jason Dillaman (cherry picked from commit d304d618b7297862b96cf7a6a5f9984f764c9e3f) --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index a4a4f8ffb1db..3d5e76a75160 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -5804,7 +5804,6 @@ int PrimaryLogPG::do_osd_ops(OpContext *ctx, vector& 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;