From: Alberto Faria <afaria@redhat.com>
To: linux-block@vger.kernel.org
Cc: virtualization@lists.linux.dev,
"Xuan Zhuo" <xuanzhuo@linux.alibaba.com>,
"Jason Wang" <jasowangio@gmail.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Jens Axboe" <axboe@kernel.dk>,
"Eugenio Pérez" <eperezma@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Alberto Faria" <afaria@redhat.com>
Subject: [PATCH v2 0/2] virtio_blk: add FUA write support
Date: Wed, 25 Nov 2026 07:54:06 +0000 [thread overview]
Message-ID: <20261125075408.226762-1-afaria@redhat.com> (raw)
virtio-blk FUA write support has been added to the virtio spec [1]. This series
implements that by adding the new request flag uapi definitions and
corresponding virtio-blk support. It also enables vdpa_sim_blk to handle fua
writes.
[1] https://lore.kernel.org/virtio-comment/20251112055113.62207-1-afaria@redhat.com/
v2:
- Check for VIRTIO_BLK_F_REQ_FLAGS_OUT_FUA when handling requests with REQ_FUA.
- Don't advertise FUA support on zoned devices.
- Restore BLK_FEAT_FUA in cache_type_store().
- vdpa_sim: Reject VIRTIO_BLK_F_REQ_FLAGS_OUT_FUA without VIRTIO_BLK_F_REQ_FLAGS.
Alberto Faria (2):
virtio_blk: add fua write support
vdpa_sim_blk: add support for FUA writes
drivers/block/virtio_blk.c | 28 ++++++++++++++++++++++++++--
drivers/vdpa/vdpa_sim/vdpa_sim.c | 13 +++++++++++++
drivers/vdpa/vdpa_sim/vdpa_sim.h | 1 +
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 14 +++++++++++++-
include/uapi/linux/virtio_blk.h | 13 +++++++++++--
5 files changed, 64 insertions(+), 5 deletions(-)
--
2.56.1
next reply other threads:[~2026-11-25 7:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 7:54 Alberto Faria [this message]
2026-11-25 7:54 ` [PATCH v2 1/2] virtio_blk: add fua write support Alberto Faria
2026-11-25 8:09 ` sashiko-bot
2026-11-25 7:54 ` [PATCH v2 2/2] vdpa_sim_blk: add support for FUA writes Alberto Faria
2026-11-25 8:05 ` sashiko-bot
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=20261125075408.226762-1-afaria@redhat.com \
--to=afaria@redhat.com \
--cc=axboe@kernel.dk \
--cc=eperezma@redhat.com \
--cc=jasowangio@gmail.com \
--cc=linux-block@vger.kernel.org \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=stefanha@redhat.com \
--cc=virtualization@lists.linux.dev \
--cc=xuanzhuo@linux.alibaba.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