]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: read image size when opening migration raw format
authorJason Dillaman <dillaman@redhat.com>
Wed, 21 Oct 2020 19:32:47 +0000 (15:32 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 1 Nov 2020 14:22:38 +0000 (09:22 -0500)
commitd63a564f2269e42379d148a34071f46b0b0a6c95
treeda25e282e1d1273c30dc58842e823a18740bdfe9
parent9ad4d7936afcc1da3d032f5486b856e932d04a4d
librbd: read image size when opening migration raw format

The migration prepare operation will need to know the size of
the source image so that it can create the destination image.

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