]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes vol restore discard final bytes unzeroed
authorEdward Hope-Morley <edward.hope-morley@canonical.com>
Tue, 17 Sep 2013 13:12:01 +0000 (14:12 +0100)
committerEdward Hope-Morley <edward.hope-morley@canonical.com>
Wed, 18 Sep 2013 09:19:42 +0000 (10:19 +0100)
commit80aa2fb7d6f68c84e731e91bff5d3795626eb8d0
tree931076f81c5c3881550e81315bf5b3dfc10f2120
parent27d658a57f3d45f13b8ba108a3445bb9f0bc0207
Fixes vol restore discard final bytes unzeroed

When doing a volume restore with Ceph backend to a non-rbd volume
that is greater in size that the backup volume, we write zeroes
the extraneous extents but we are not zeroing the final few bytes
in the case where the destination volume is non-rbd.

Also fixed up internationalisation on a number of log messages.

Change-Id: Iac1ff98a75e9164f8865c2f7d998454205e049d4
Fixes: bug 1226555
cinder/backup/drivers/ceph.py