]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/crypto/LoadRequest: clone format for migration source image 60170/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 3 Oct 2024 15:54:07 +0000 (17:54 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 7 Oct 2024 18:20:00 +0000 (20:20 +0200)
commit310c63979aed2b098108ceb553f8b2e26f047cf7
treeebcd851219446b4c5a4c80a612314584d80ffdd9
parent8c67d0c7f0f25abbda3d8591019897652dd63720
librbd/crypto/LoadRequest: clone format for migration source image

Migration source and migration target images naturally have the same
encryption format, but the user shouldn't have to need to specify it
for the image that they can't even immediately see -- migration source
image gets moved to the RBD trash to avoid mistaken usage while
migration is in progress.

Fixes: https://tracker.ceph.com/issues/63184
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 7b2085daad168d3d0e6357cd34979f91ecdc8486)
qa/workunits/rbd/luks-encryption.sh
src/librbd/crypto/LoadRequest.cc