]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: consolidate all async operation flush logic
authorJason Dillaman <dillaman@redhat.com>
Thu, 5 Feb 2015 06:20:00 +0000 (01:20 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 9 Feb 2015 22:40:25 +0000 (14:40 -0800)
commitb025fbfa22416ea05fe48a09d20cf22672fd3fc8
tree84c208382cf47fc25d4075806584c896244abb6e
parent0a00be286d74cff43c6970be2c4fd9a3f7c75280
librbd: consolidate all async operation flush logic

librbd has three different methods for flushing asynchronous
operations. These have all been consolidated down to a single,
shared method to fix an existing issue and simplify maintenance
going forward.

Fixes: #10783
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
13 files changed:
src/librbd/AioCompletion.cc
src/librbd/AioCompletion.h
src/librbd/AsyncOperation.cc [new file with mode: 0644]
src/librbd/AsyncOperation.h [new file with mode: 0644]
src/librbd/CopyupRequest.cc
src/librbd/CopyupRequest.h
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h
src/librbd/Makefile.am
src/librbd/internal.cc
src/test/librbd/test_internal.cc