]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: throttle async progress callbacks
authorJason Dillaman <dillaman@redhat.com>
Mon, 19 Jan 2015 22:33:41 +0000 (17:33 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Sat, 24 Jan 2015 23:05:49 +0000 (15:05 -0800)
commit4ac3cd729cfb967ed4caf7af0d86e17b90e17724
treea90d5162919816274e88bc7be7d13b51fa1917b1
parentcd9d8eb79a1abf9b982d9236385ced396cb1339f
librbd: throttle async progress callbacks

Ensure that no more than one outstanding progress callback
is queued for notification.  This will allow remote progress
updates to be sent at a rate in which all watch/notify
clients can support.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h