]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
BackoffThrottle: use wait_for instead of wait_until
authorSamuel Just <sjust@redhat.com>
Wed, 18 May 2016 18:49:19 +0000 (11:49 -0700)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Wed, 8 Jun 2016 06:17:52 +0000 (11:47 +0530)
commit5ce43eb7682535deeee149600f1226b87e41defd
tree4690a535e08fa28270b860fb62888111ee6a1324
parentb1c4c4c456d1d20ccc91de4f762dbe46d8e339a3
BackoffThrottle: use wait_for instead of wait_until

On some platforms, wait_until won't surrender the lock
with a negative argument.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 846808ff3f3837b1772f293ae71dba5eda609cc4)
src/common/Throttle.cc