]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd/migration: decode QCOW2 snapshot metadata during open
authorJason Dillaman <dillaman@redhat.com>
Wed, 13 Jan 2021 02:19:22 +0000 (21:19 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 14 Jan 2021 14:35:35 +0000 (09:35 -0500)
commit1594b53d7539004f8e91692a728148cd9d7d5555
treee5a32d4796a3c32a74ae362f48f9fe685f3fd430
parentbd8db295eaa973a17e90acf76dbd0ca48cc43bd2
librbd/migration: decode QCOW2 snapshot metadata during open

This will allow the migration state machine to build matching RBD
snapshots to mimic the QCOW2 snapshots. The next commit will add the
ability to read from a snapshot.

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