]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: do not treat an IO hint as an IOP for PG stats 25025/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 13 Jul 2018 13:48:56 +0000 (09:48 -0400)
committerNathan Cutler <ncutler@suse.com>
Sat, 10 Nov 2018 11:38:13 +0000 (12:38 +0100)
Fixes: http://tracker.ceph.com/issues/24909
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit d304d618b7297862b96cf7a6a5f9984f764c9e3f)

src/osd/PrimaryLogPG.cc

index a4a4f8ffb1dbe864ab37af155eb93ff70e86b62e..3d5e76a75160e68289dc4e71d129ff295d2a3971 100644 (file)
@@ -5804,7 +5804,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;