Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: adjust volume size when converting to cow/preallocated #282

Merged
merged 1 commit into from
Apr 27, 2022

Commits on Apr 27, 2022

  1. core: adjust volume size when converting to cow/preallocated

    When converting to COW/Prellocated from RAW additional size may be
    required for the qcow header. We already measure required size, however
    we only use it for the initial size of the volume which is not used when
    the target is a preallocated volume on block storage.
    
    This patch uses required size to increase the target volume if it's
    larger than the current size of the volume to ensure there is enough
    space to perform the conversion.
    
    Bug-Url: https://bugzilla.redhat.com/2076047
    Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
    bennyz committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    1a813d8 View commit details
    Browse the repository at this point in the history