]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/osd_types: use appropriate cost value for PullOp
authorSridhar Seshasayee <sseshasa@redhat.com>
Fri, 3 Feb 2023 05:36:06 +0000 (11:06 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Mon, 8 May 2023 10:51:59 +0000 (16:21 +0530)
commit7dc30243551c5095a385df5d4ef2289cab0b4710
tree723d5ca2fe770423aa31ca43583e5eea198e953c
parentee26df6d56254d3d42cc3426e3694c3c9ace7cee
osd/osd_types: use appropriate cost value for PullOp

See included comments -- previous values did not account for object
size.  This causes problems for mclock which is much more strict
in how it interprets costs.

Fixes: https://tracker.ceph.com/issues/58607
Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
src/osd/osd_types.cc
src/osd/osd_types.h