Fixes ceph volume restore to larger image than source
If a backup is restored to a volume that is bigger than the
backup itself, which could be the case if --volume-id is
supplied, we need the option to set extraneous extents to zero
i.e. set extents after those from the backup to zero.
Reviewed: https:/ /review. openstack. org/46683 github. com/openstack/ cinder/ commit/ e54f34245880c10 5225675d9fb91d2 ad1997f7ba
Committed: http://
Submitter: Jenkins
Branch: master
commit e54f34245880c10 5225675d9fb91d2 ad1997f7ba
Author: Edward Hope-Morley <email address hidden>
Date: Fri Sep 13 15:20:03 2013 -0400
Fixes ceph volume restore to larger image than source
If a backup is restored to a volume that is bigger than the
backup itself, which could be the case if --volume-id is
supplied, we need the option to set extraneous extents to zero
i.e. set extents after those from the backup to zero.
Change-Id: I3c226b9e742937 1f6cd9b9bd81071 ff765712975
Fixes: bug 1225126