]> git-server-git.apps.pok.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)
committerJason Dillaman <dillaman@redhat.com>
Fri, 24 Jul 2015 13:59:56 +0000 (09:59 -0400)
commite48040413849c5d3a577addff644502858ac5a66
treea1877bf1e53df8260c25bf0890ea656de1fd03ce
parent8ec341ee8f256e8ab91a931f6005e1ebd4b1db60
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)
src/common/Throttle.cc
src/common/Throttle.h