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: v13.2.3~16^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d883b56a3b7788cf70fbe72ca3c50cb49f34ca9d;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 1a6dc4001e8..5d0805cc05b 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -6324,7 +6324,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;