From: Eric Blake <eblake@redhat.com>
To: Pavel Butsykin <pbutsykin@virtuozzo.com>,
qemu-block@nongnu.org, qemu-devel@nongnu.org
Cc: jsnow@redhat.com, kwolf@redhat.com, mreitz@redhat.com,
armbru@redhat.com, den@openvz.org
Subject: Re: [Qemu-devel] [PATCH v7 3/4] qcow2: add shrink image support
Date: Thu, 17 Aug 2017 06:04:49 -0500 [thread overview]
Message-ID: <8b89c494-29d8-515f-ac06-69c70c9f34f5@redhat.com> (raw)
In-Reply-To: <20170817091542.9403-4-pbutsykin@virtuozzo.com>
[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]
On 08/17/2017 04:15 AM, Pavel Butsykin wrote:
> This patch add shrinking of the image file for qcow2. As a result, this allows
> us to reduce the virtual image size and free up space on the disk without
> copying the image. Image can be fragmented and shrink is done by punching holes
> in the image file.
>
> Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
> Reviewed-by: Max Reitz <mreitz@redhat.com>
> ---
> +++ b/qapi/block-core.json
> @@ -2495,7 +2495,8 @@
> 'cluster_alloc_bytes', 'cluster_free', 'flush_to_os',
> 'flush_to_disk', 'pwritev_rmw_head', 'pwritev_rmw_after_head',
> 'pwritev_rmw_tail', 'pwritev_rmw_after_tail', 'pwritev',
> - 'pwritev_zero', 'pwritev_done', 'empty_image_prepare' ] }
> + 'pwritev_zero', 'pwritev_done', 'empty_image_prepare',
> + 'l1_shrink_write_table', 'l1_shrink_free_l2_clusters' ] }
Missing documentation of the new enum members (at a minimum, something
that says 'since 2.11').
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 619 bytes --]
next prev parent reply other threads:[~2017-08-17 11:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 9:15 [Qemu-devel] [PATCH v7 0/4] Add shrink image for qcow2 Pavel Butsykin
2017-08-17 9:15 ` [Qemu-devel] [PATCH v7 1/4] qemu-img: add --shrink flag for resize Pavel Butsykin
2017-09-16 15:49 ` Max Reitz
2017-08-17 9:15 ` [Qemu-devel] [PATCH v7 2/4] qcow2: add qcow2_cache_discard Pavel Butsykin
2017-09-16 14:59 ` Max Reitz
2017-08-17 9:15 ` [Qemu-devel] [PATCH v7 3/4] qcow2: add shrink image support Pavel Butsykin
2017-08-17 11:04 ` Eric Blake [this message]
2017-08-17 12:59 ` [Qemu-devel] [PATCH] follow-up path - " qcow2: add shrink image support" Pavel Butsykin
2017-08-17 13:05 ` no-reply
2017-09-16 15:29 ` [Qemu-devel] [PATCH v7 3/4] qcow2: add shrink image support Max Reitz
2017-08-17 9:15 ` [Qemu-devel] [PATCH v7 4/4] qemu-iotests: add shrinking image test Pavel Butsykin
2017-08-21 23:31 ` [Qemu-devel] [PATCH v7 0/4] Add shrink image for qcow2 John Snow
2017-08-22 17:17 ` Max Reitz
2017-09-16 14:56 ` Max Reitz
2017-09-18 9:45 ` Pavel Butsykin
2017-09-15 9:16 ` Pavel Butsykin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8b89c494-29d8-515f-ac06-69c70c9f34f5@redhat.com \
--to=eblake@redhat.com \
--cc=armbru@redhat.com \
--cc=den@openvz.org \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=pbutsykin@virtuozzo.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).