]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
BackoffThrottle: wait() if past max 9579/head
authorSamuel Just <sjust@redhat.com>
Wed, 18 May 2016 19:09:10 +0000 (12:09 -0700)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Wed, 8 Jun 2016 06:17:52 +0000 (11:47 +0530)
commit99ff1fc34215da3339ccd227c4f17caf8294a32f
tree236efe1cdc1348baaa8db7bf85e59f431999e989
parent5ce43eb7682535deeee149600f1226b87e41defd
BackoffThrottle: wait() if past max

Otherwise, we risk spinning on wait_for() with a small
delay.

Fixes: http://tracker.ceph.com/issues/15953
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 6f835726a7df5b29a96849fc1362186fd2116d9b)
src/common/Throttle.cc