]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Throttle: added pending_error method to SimpleThrottle
authorJason Dillaman <dillaman@redhat.com>
Thu, 9 Apr 2015 01:48:21 +0000 (21:48 -0400)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 24 Jun 2015 16:41:21 +0000 (10:41 -0600)
commitced43a31d2695fc75668a1d7d7b01ac4132ef196
tree5a1bbbcf178ee384d743880cdb37fab98ee563d6
parent59b3db9d3f4c762f5c45b65202ebdce42184bc35
Throttle: added pending_error method to SimpleThrottle

Allow the client of SimpleThrottle to detect an async error
so that it can exit early.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b88b88c5df91325fb713c2031a56bffe421268e0)
(cherry picked from commit dbd4e293d7124c89a22148e8fa5f425a995c900c)
src/common/Throttle.cc
src/common/Throttle.h