]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd/migration: add support for reading from QCOW2 snapshots
authorJason Dillaman <dillaman@redhat.com>
Wed, 13 Jan 2021 18:50:41 +0000 (13:50 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 14 Jan 2021 14:35:35 +0000 (09:35 -0500)
commit1f4b5aeb0ec3358f1c2df8aaf4da5324ca6488ee
treed04d7b97c40be4266f6fa6637d469d2442d9da29
parent1594b53d7539004f8e91692a728148cd9d7d5555
librbd/migration: add support for reading from QCOW2 snapshots

Tweak the IO read path to now utilize the L1 table associated with
the specified snapshot id. This will cause the IO to properly read
from the specific snapshot.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/cli_migration.sh
src/librbd/migration/QCOWFormat.cc