]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: copy API should not inherit v1 image format by default 35025/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 12 May 2020 14:16:36 +0000 (10:16 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 12 May 2020 14:16:36 +0000 (10:16 -0400)
commit69b6d5997e8c6a11739e4d5a32564e61eb2f470f
tree97cb2dfb553f558db50c5522264db4a3b1a40b1f
parent3156ed6f9bd55f0e3451e2ed9891d88af06351b7
librbd: copy API should not inherit v1 image format by default

When copying from a v1 image, by default the new destination image
would be created using the v1 format. Since the creation of v1 images
is disallowed, this has been updated to default to using the v2
image format.

Fixes: https://tracker.ceph.com/issues/45518
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc