From: Stefan Hajnoczi <stefanha@redhat.com>
To: Fam Zheng <famz@redhat.com>
Cc: kwolf@redhat.com, gentoo.integer@gmail.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3 1/4] qemu-img: Convert by cluster size if target is compressed
Date: Tue, 6 May 2014 14:50:16 +0200 [thread overview]
Message-ID: <20140506125016.GI15810@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1398412852-2562-2-git-send-email-famz@redhat.com>
On Fri, Apr 25, 2014 at 04:00:49PM +0800, Fam Zheng wrote:
> diff --git a/include/block/block.h b/include/block/block.h
> index b3230a2..8a1cb83 100644
> --- a/include/block/block.h
> +++ b/include/block/block.h
> @@ -34,6 +34,10 @@ typedef struct BlockDriverInfo {
> * opened with BDRV_O_UNMAP flag for this to work.
> */
> bool can_write_zeroes_with_unmap;
> + /*
> + * True if the driver is writing data clusters compressed
> + */
> + bool is_compressed;
"is_compressed" is more general than what this flag actually
communicates:
/*
* True if this block driver only supports compressed writes
*/
bool needs_compressed_writes;
next parent reply other threads:[~2014-05-06 12:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1398412852-2562-1-git-send-email-famz@redhat.com>
[not found] ` <1398412852-2562-2-git-send-email-famz@redhat.com>
2014-05-06 12:50 ` Stefan Hajnoczi [this message]
2014-05-06 12:52 ` [Qemu-devel] [PATCH v3 0/4] Fix conversion from ISO to VMDK streamOptimized Stefan Hajnoczi
2014-05-06 13:04 ` Fam Zheng
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=20140506125016.GI15810@stefanha-thinkpad.redhat.com \
--to=stefanha@redhat.com \
--cc=famz@redhat.com \
--cc=gentoo.integer@gmail.com \
--cc=kwolf@redhat.com \
--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).