]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/migration: generic method for applying source image metadata
authorJason Dillaman <dillaman@redhat.com>
Wed, 2 Dec 2020 02:25:34 +0000 (21:25 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 2 Dec 2020 03:48:16 +0000 (22:48 -0500)
commit6ef73c01069f1eb507885b81363e23ad5c67420d
tree9801bb706ac84309fab2314d112cac10086abe84
parent5407e4380b318cf04f9996fc9d163abd8b9674b3
librbd/migration: generic method for applying source image metadata

Collect the image size and snapshot details from the constructed format
and apply it to the source image ctx.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/migration/OpenSourceImageRequest.cc
src/librbd/migration/OpenSourceImageRequest.h
src/librbd/migration/RawFormat.cc
src/test/librbd/migration/test_mock_RawFormat.cc