]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: Create async versions of long-running maintenance operations
authorJason Dillaman <dillaman@redhat.com>
Mon, 10 Nov 2014 17:25:50 +0000 (12:25 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Sat, 24 Jan 2015 23:03:44 +0000 (15:03 -0800)
commit398bc9648d48fa5659dd80001112aa69e3d31197
treedb43e959d31a31eec7e458673d49e6a78cee5c74
parent48910a52320e058ba683d4c3bcf73ef53967e07a
librbd: Create async versions of long-running maintenance operations

Resize and flatten now have async versions. The existing resize
and flatten operations now use the async versions internally. The
async operations will be used by the client holding the exclusive
lock when it receives maintenance requests from other clients.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/ContextCompletion.cc [new file with mode: 0644]
src/common/ContextCompletion.h [new file with mode: 0644]
src/common/Makefile.am
src/librbd/AsyncObjectThrottle.cc [new file with mode: 0644]
src/librbd/AsyncObjectThrottle.h [new file with mode: 0644]
src/librbd/Makefile.am
src/librbd/internal.cc
src/librbd/internal.h