]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: journal helper state machines now inherits from simple BaseRequest
authorJason Dillaman <dillaman@redhat.com>
Wed, 8 Jan 2020 19:29:15 +0000 (14:29 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 9 Jan 2020 15:48:52 +0000 (10:48 -0500)
commit35c59e75cf3508a6c5d061147cf886a4942d0083
treedb46b399b809a0cb1c4489ab78d13a16f87a126e
parentee6b1ab0763ba911d90838cc9526ac05cd25205c
rbd-mirror: journal helper state machines now inherits from simple BaseRequest

The StateBuilder will need to construct and return a simple interface when
creating the CreateLocalImageRequest and PrepareReplayRequest state machines
regardless of whether it's for journal or snapshot mirroring.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd_mirror/BaseRequest.h [new file with mode: 0644]
src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.cc
src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.h
src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.cc
src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.h