]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: allow AioCompletions to be blocked
authorJason Dillaman <dillaman@redhat.com>
Tue, 3 Mar 2015 02:07:01 +0000 (21:07 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 3 Mar 2015 02:18:39 +0000 (21:18 -0500)
commit7d2fe5b8f3c1959a554da2efb18b05987c2d8c4c
tree6777502b8296281b0cdd929651eb4013cc013cbf
parent416ce7621d75aeaabd3888dbc736ea4245206a3f
librbd: allow AioCompletions to be blocked

Blocked AioCompletions will not fire their callback until unblocked.
This is an expansion / replacement of the previous 'building' flag
used to block completions while additional requests were added to the
completion.

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