]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Thu, 27 Apr 2023 13:10:43 +0000 (18:40 +0530)
commitda78c375432fe626b33d05a6063a0ef144819b15
tree9b9d85baa8cbb32d0b5d7cc99e4c9e70d7fa5b71
parent5f19189920f280e69b100bc311b3bf4edb61856f
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