]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd/migration: refactor lookup table handling for QCOW format
authorJason Dillaman <dillaman@redhat.com>
Tue, 26 Jan 2021 01:45:40 +0000 (20:45 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 27 Jan 2021 18:34:08 +0000 (13:34 -0500)
commitf73b8322171229e4cb205ff6fe32c035c59762ef
treefbf98812fccdbc899886a1e4af9f35dd277c520f
parent00f1810e60dc59c1c92d3e6d0e438f4adb5e4eba
librbd/migration: refactor lookup table handling for QCOW format

This will be used by a refactored list-snaps state machine to compute
the L2 table cluster for image offsets. The L1 and L2 lookup tables
can now be represented in a single structure.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 83687244025d36af45da03313e6d3002767a70cb)
src/librbd/migration/QCOWFormat.cc
src/librbd/migration/QCOWFormat.h