]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
BackoffThrottle: wait() if past max 9235/head
authorSamuel Just <sjust@redhat.com>
Wed, 18 May 2016 19:09:10 +0000 (12:09 -0700)
committerSamuel Just <sjust@redhat.com>
Mon, 23 May 2016 17:37:15 +0000 (10:37 -0700)
commit6f835726a7df5b29a96849fc1362186fd2116d9b
treeba5d2a2c79d9252acb6966a7e02b616ada066eeb
parent846808ff3f3837b1772f293ae71dba5eda609cc4
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>
src/common/Throttle.cc