All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Alberto Faria <afaria@redhat.com>
Cc: dverkamp@chromium.org, mst@redhat.com, virtio-comment@lists.linux.dev
Subject: Re: [PATCH v3] virtio-blk: Add support for "Force Unit Access" writes
Date: Thu, 13 Nov 2025 10:41:27 -0500	[thread overview]
Message-ID: <20251113154127.GC189474@fedora> (raw)
In-Reply-To: <CAELaAXyuqgwD9z8PQtXfO+hBxjp_Gthm+qpo14pi=q7S+71cLg@mail.gmail.com>

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

On Wed, Nov 12, 2025 at 05:30:40AM +0000, Alberto Faria wrote:
> On Thu, Sep 18, 2025 at 2:38 PM Stefan Hajnoczi <stefanha@redhat.com> wrote:
> > On Wed, Sep 17, 2025 at 08:12:49AM +0100, Alberto Faria wrote:
> > > @@ -1000,14 +1030,20 @@ \subsection{Device Operation}\label{sec:Device Types / Block Device / Device Ope
> > >    \field{writeback} field in configuration space was 0 \textbf{all the time between
> > >    the submission of the write and its completion};
> > >
> > > -\item\label{item:flush3} a VIRTIO_BLK_T_FLUSH request is sent \textbf{after the write is
> > > +\item\label{item:flush3} the VIRTIO_BLK_F_REQ_FLAGS_FUA feature was negotiated
> > > +  and the \field{fua} bit in \field{flags} was set in the write request
> > > +  (regardless of whether the VIRTIO_BLK_F_FLUSH or VIRTIO_BLK_F_CONFIG_WCE
> > > +  features were negotiated, and regardless of the current cache mode as
> > > +  expressed by the value of the \field{writeback} field in configuration space).
> >
> > Missing "and the write request is completed"?
> 
> This should be implied by the paragraph above the itemize.

You are right, write completion is already mentioned:

  A write becomes stable once it is completed and one or more of the
  following conditions is true:
  - ...

Stefan

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

      reply	other threads:[~2025-11-13 15:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-17  7:12 [PATCH v3] virtio-blk: Add support for "Force Unit Access" writes Alberto Faria
2025-09-17 19:26 ` Stefan Hajnoczi
2025-11-12  5:30   ` Alberto Faria
2025-11-13 15:41     ` Stefan Hajnoczi [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=20251113154127.GC189474@fedora \
    --to=stefanha@redhat.com \
    --cc=afaria@redhat.com \
    --cc=dverkamp@chromium.org \
    --cc=mst@redhat.com \
    --cc=virtio-comment@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.