]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: add an is_complete() method to AioCompletions
authorJosh Durgin <josh.durgin@inktank.com>
Wed, 27 Mar 2013 22:37:27 +0000 (15:37 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Thu, 28 Mar 2013 17:46:59 +0000 (10:46 -0700)
commit2ae32068dee22a0ca0698e230ead98f2eeeff3e6
tree310784eb39dbbe01d37240dfe4dad2b6a0e3249c
parentf06debef6c293750539501ec4e6103e5ae078392
librbd: add an is_complete() method to AioCompletions

Mainly this is useful for testing, like flushing and checking that
all pending writes are complete after the flush finishes.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/include/rbd/librbd.h
src/include/rbd/librbd.hpp
src/librbd/AioCompletion.h
src/librbd/librbd.cc