vol restore discard leaves final bytes unzeroed

Bug #1226555 reported by Edward Hope-Morley on 2013-09-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Edward Hope-Morley

Bug Description

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.

This should have gone into 1225126 but I did not catch it until after it was merged.

Changed in cinder:
status: New → In Progress
assignee: nobody → Edward Hope-Morley (hopem)

Reviewed: https://review.openstack.org/46942
Committed: http://github.com/openstack/cinder/commit/80aa2fb7d6f68c84e731e91bff5d3795626eb8d0
Submitter: Jenkins
Branch: master

commit 80aa2fb7d6f68c84e731e91bff5d3795626eb8d0
Author: Edward Hope-Morley <email address hidden>
Date: Tue Sep 17 14:12:01 2013 +0100

    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

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-10-04
Changed in cinder:
milestone: none → havana-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers