]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/crypto/LoadRequest: clone format for migration source image 60171/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:25:43 +0000 (20:25 +0200)
commit7196790b998cb21cff064cea965dc5aa953036a1
tree73845d70d4e782626a9cf73511c8ae79f4a84e7b
parent6d42d18e112fe09ea72e14de69ff5cd2afd6a56c
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