]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: do not release recovery_ops_reserved on requeue
authorSage Weil <sage@redhat.com>
Fri, 2 Feb 2018 21:50:25 +0000 (15:50 -0600)
committerSage Weil <sage@redhat.com>
Wed, 4 Apr 2018 13:26:51 +0000 (08:26 -0500)
commit0766f5b40cb707cf058a8b25b1a9222e4259cd30
treed97f88c8d10ec3caac591e26623f8ad746e69c0b
parent987490db3d8994928ae51d7e5e5ba464b3eeff0d
osd: do not release recovery_ops_reserved on requeue

This doesn't make sense.. although it's the same behavior as
luminous.

The point of the releases here is that if we drop something that is in
the queue we drop the recovery_ops_reserved counter by that much.  However,
if something is in the queue and waiting, and we wake it back up, there
is no net change to _reserved... which is only decremented when we
actually dequeue something.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h