qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC v2 0/4] virtio-blk: Add support for FUA write requests
@ 2025-05-08 16:20 Alberto Faria
  2025-05-08 16:20 ` [RFC v2 1/4] include: Add tentative virtio-blk FUA write definitions Alberto Faria
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Alberto Faria @ 2025-05-08 16:20 UTC (permalink / raw)
  To: qemu-devel
  Cc: Stefano Garzarella, Kevin Wolf, Stefan Hajnoczi, Xie Yongji,
	Philippe Mathieu-Daudé, Raphael Norwitz, Cornelia Huck,
	Eduardo Habkost, Michael S. Tsirkin, Hanna Reitz, qemu-block,
	Paolo Bonzini, Marcel Apfelbaum, Laurent Vivier, Zhao Liu,
	Coiby Xu, Fabiano Rosas, Yanan Wang, Alberto Faria

There is a proposal to introduce virtio-blk fua write support to the virtio
spec [1], and a matching kernel RFC [2]. This series implements the proposal by
adding VIRTIO_BLK_{F,T}_OUT_FUA uapi definitions and corresponding virtio-blk,
vhost-user-blk, and vduse-blk support.

[1] https://lore.kernel.org/virtio-comment/20250507152602.3993258-1-afaria@redhat.com/
[2] https://lore.kernel.org/linux-block/20250508001951.421467-1-afaria@redhat.com/

v2:
- Include missing hw/block/virtio-blk.c changes actually implementing
  VIRTIO_BLK_T_OUT_FUA support.

Alberto Faria (4):
  include: Add tentative virtio-blk FUA write definitions
  virtio-blk: Add VIRTIO_BLK_T_OUT_FUA command support
  vhost-user-blk: Add VIRTIO_BLK_T_OUT_FUA command support
  vduse-blk: Add VIRTIO_BLK_T_OUT_FUA command support

 block/export/vduse-blk.c                    |  3 +-
 block/export/vhost-user-blk-server.c        |  1 +
 block/export/virtio-blk-handler.c           |  7 ++-
 contrib/vhost-user-blk/vhost-user-blk.c     | 16 ++++--
 hw/block/vhost-user-blk.c                   |  3 ++
 hw/block/virtio-blk.c                       | 41 +++++++--------
 hw/core/machine.c                           |  5 +-
 hw/virtio/virtio-qmp.c                      |  2 +
 include/hw/virtio/virtio-blk.h              |  1 +
 include/standard-headers/linux/virtio_blk.h |  4 ++
 tests/qtest/vhost-user-blk-test.c           | 56 +++++++++++++++++++++
 tests/qtest/virtio-blk-test.c               | 56 +++++++++++++++++++++
 12 files changed, 168 insertions(+), 27 deletions(-)

-- 
2.49.0



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

end of thread, other threads:[~2025-05-12 19:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-08 16:20 [RFC v2 0/4] virtio-blk: Add support for FUA write requests Alberto Faria
2025-05-08 16:20 ` [RFC v2 1/4] include: Add tentative virtio-blk FUA write definitions Alberto Faria
2025-05-12 19:12   ` Stefan Hajnoczi
2025-05-08 16:20 ` [RFC v2 2/4] virtio-blk: Add VIRTIO_BLK_T_OUT_FUA command support Alberto Faria
2025-05-12 19:32   ` Stefan Hajnoczi
2025-05-08 16:20 ` [RFC v2 3/4] vhost-user-blk: " Alberto Faria
2025-05-12 19:43   ` Stefan Hajnoczi
2025-05-08 16:20 ` [RFC v2 4/4] vduse-blk: " Alberto Faria
2025-05-12 19:52   ` Stefan Hajnoczi
2025-05-12 19:52   ` Stefan Hajnoczi

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).