Linux virtualization list
 help / color / mirror / Atom feed
* [PATCH v2 0/2] virtio_blk: add FUA write support
@ 2026-11-25  7:54 Alberto Faria
  2026-11-25  7:54 ` [PATCH v2 1/2] virtio_blk: add fua " Alberto Faria
  2026-11-25  7:54 ` [PATCH v2 2/2] vdpa_sim_blk: add support for FUA writes Alberto Faria
  0 siblings, 2 replies; 5+ messages in thread
From: Alberto Faria @ 2026-11-25  7:54 UTC (permalink / raw)
  To: linux-block
  Cc: virtualization, Xuan Zhuo, Jason Wang, Paolo Bonzini, Jens Axboe,
	Eugenio Pérez, Stefan Hajnoczi, Michael S. Tsirkin,
	Alberto Faria

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-25  8:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25  7:54 [PATCH v2 0/2] virtio_blk: add FUA write support Alberto Faria
2026-11-25  7:54 ` [PATCH v2 1/2] virtio_blk: add fua " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox