]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: allow "0" cost items to be queued by TokenBucketThrottle
authorMykola Golub <mgolub@suse.com>
Thu, 14 Mar 2019 18:30:31 +0000 (18:30 +0000)
committerJason Dillaman <dillaman@redhat.com>
Wed, 15 May 2019 18:13:13 +0000 (14:13 -0400)
commitfb6bc605356ab3f03ca44e5d6157fff0f0b9062c
treef0c205b046f23c9d392a3359a8a8e64d8a3d91a4
parenta7dac8d89d804cc91e38a38ff26294576f5298ce
common: allow "0" cost items to be queued by TokenBucketThrottle

They will be queued if there are already blockers.

Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 4f7780a92c482562974923360e6b2d11bd8ffa58)
src/common/Throttle.h