From d0a63238f43bf50a36a7f132db52f6d971910b9d Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Fri, 13 Jul 2018 09:48:56 -0400 Subject: [PATCH] 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) --- src/osd/PrimaryLogPG.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index a4a4f8ffb1dbe..3d5e76a75160e 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; -- 2.39.5