From: Eric Blake <eblake@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, pbonzini@redhat.com, vsementsov@virtuozzo.com,
qemu-block@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] nbd/server: Honor FUA request on NBD_CMD_TRIM
Date: Mon, 12 Mar 2018 17:30:40 -0500 [thread overview]
Message-ID: <c9e83e73-4fc9-43b7-2ace-0ffad7492c7e@redhat.com> (raw)
In-Reply-To: <20180307225732.155835-1-eblake@redhat.com>
On 03/07/2018 04:57 PM, Eric Blake wrote:
> The NBD spec states that since trim requests can affect disk contents,
> then they should allow for FUA semantics just like writes for ensuring
> the disk has settled before returning. As bdrv_[co_]pdiscard() does
> not (yet?) support a flags argument, we can't pass FUA down the block
> layer stack, and must therefore emulate it with a flush at the NBD
> layer.
>
> Signed-off-by: Eric Blake <eblake@redhat.com>
> ---
>
Thanks; queued to my NBD tree.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
prev parent reply other threads:[~2018-03-12 22:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-07 22:57 [Qemu-devel] [PATCH] nbd/server: Honor FUA request on NBD_CMD_TRIM Eric Blake
2018-03-08 6:50 ` Paolo Bonzini
2018-03-08 14:45 ` Eric Blake
2018-03-08 15:22 ` Paolo Bonzini
2018-03-08 16:05 ` Eric Blake
2018-03-12 22:30 ` Eric Blake [this message]
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=c9e83e73-4fc9-43b7-2ace-0ffad7492c7e@redhat.com \
--to=eblake@redhat.com \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@virtuozzo.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).