qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Eric Blake <eblake@redhat.com>
Cc: nbd-general@lists.sourceforge.net, qemu-devel@nongnu.org,
	xieyingtai@huawei.com, subo7@huawei.com, eric.fangyi@huawei.com,
	pbonzini@redhat.com, qemu-block@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] doc: Propose NBD_FLAG_INIT_ZEROES extension
Date: Tue, 6 Dec 2016 10:18:25 +0000	[thread overview]
Message-ID: <20161206101825.GA20860@stefanha-x1.localdomain> (raw)
In-Reply-To: <20161205234235.5728-1-eblake@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

On Mon, Dec 05, 2016 at 05:42:35PM -0600, Eric Blake wrote:
> While not directly related to NBD_CMD_WRITE_ZEROES, the qemu
> team discovered that it is useful if a server can advertise
> whether an export is in a known-all-zeroes state at the time
> the client connects.
> 
> Signed-off-by: Eric Blake <eblake@redhat.com>
> ---
>  doc/proto.md | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> This replaces the following qemu patch attempt:
> https://lists.gnu.org/archive/html/qemu-devel/2016-12/msg00357.html
> which tried to add NBD_CMD_HAS_ZERO_INIT with poor semantics. The
> semantics in this proposal should be much better.
> 
> Patch is to the merge of the master branch and the
> extension-write-zeroes branch.  By the way, qemu 2.8 is due
> to be released "real soon now", and implements NBD_CMD_WRITE_ZEROES,
> so maybe it is time to consider promoting the extension-write-zeroes
> branch into master.

Useful, thanks!

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

  parent reply	other threads:[~2016-12-06 10:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-05 23:42 [Qemu-devel] [PATCH] doc: Propose NBD_FLAG_INIT_ZEROES extension Eric Blake
2016-12-06  8:46 ` [Qemu-devel] [Nbd] " Alex Bligh
2016-12-06 10:30   ` Alex Bligh
2016-12-06  9:25 ` [Qemu-devel] [Qemu-block] " Kevin Wolf
2016-12-06 10:29   ` [Qemu-devel] [Nbd] " Alex Bligh
2016-12-06 15:21   ` [Qemu-devel] " Eric Blake
2016-12-07 10:44     ` Kevin Wolf
2016-12-07 15:50       ` Eric Blake
2016-12-07 16:35         ` Kevin Wolf
2016-12-06 10:18 ` Stefan Hajnoczi [this message]
2016-12-12 18:12 ` [Qemu-devel] [Nbd] " Wouter Verhelst
2016-12-13  7:38   ` [Qemu-devel] [Qemu-block] " Kevin Wolf
2016-12-13 12:18     ` [Qemu-devel] [Nbd] [Qemu-block] " Wouter Verhelst
2016-12-13 13:19       ` Alex Bligh
2016-12-13 22:36       ` Eric Blake
2016-12-14  8:22         ` Wouter Verhelst
2016-12-14 16:37           ` Eric Blake
2016-12-14 16:54             ` Alex Bligh
2016-12-14 19:58             ` Wouter Verhelst

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=20161206101825.GA20860@stefanha-x1.localdomain \
    --to=stefanha@gmail.com \
    --cc=eblake@redhat.com \
    --cc=eric.fangyi@huawei.com \
    --cc=nbd-general@lists.sourceforge.net \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=subo7@huawei.com \
    --cc=xieyingtai@huawei.com \
    /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).