]> 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)
committerJason Dillaman <dillaman@redhat.com>
Wed, 10 Jun 2015 15:55:56 +0000 (11:55 -0400)
commitdbd4e293d7124c89a22148e8fa5f425a995c900c
tree188c6f1520bf49f34996c6b87dcbbd4e28d5c609
parent7df6091a30b1b94d764240262195e971175554b3
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