]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: support templating of ImageCtx for async state machines
authorJason Dillaman <dillaman@redhat.com>
Fri, 4 Sep 2015 18:59:09 +0000 (14:59 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 4 Sep 2015 18:59:09 +0000 (14:59 -0400)
commite8749b2a7f5a60dbfa03518315a1f1caa4039f59
tree0f6a738e9623f188eb566ac62ba7c36d3c7b1200
parent0d18f9b83a361e61c78906897d04c3bb88eba053
librbd: support templating of ImageCtx for async state machines

This will facilitate the creation of unit test mocks to verify
non-librados actions. The templates (by default) will be flagged
as extern to avoid the translation unit bloat.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
15 files changed:
src/librbd/AsyncFlattenRequest.cc
src/librbd/AsyncFlattenRequest.h
src/librbd/AsyncObjectThrottle.cc
src/librbd/AsyncObjectThrottle.h
src/librbd/AsyncRequest.cc
src/librbd/AsyncRequest.h
src/librbd/AsyncResizeRequest.h
src/librbd/AsyncTrimRequest.cc
src/librbd/AsyncTrimRequest.h
src/librbd/CopyupRequest.cc
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/ObjectMap.h
src/librbd/RebuildObjectMapRequest.cc
src/librbd/RebuildObjectMapRequest.h