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

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                       |  2 +
 hw/core/machine.c                           |  5 +-
 hw/virtio/virtio-qmp.c                      |  2 +
 include/standard-headers/linux/virtio_blk.h |  4 ++
 tests/qtest/vhost-user-blk-test.c           | 56 +++++++++++++++++++++
 tests/qtest/virtio-blk-test.c               | 56 +++++++++++++++++++++
 11 files changed, 148 insertions(+), 7 deletions(-)

-- 
2.49.0



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

end of thread, other threads:[~2025-05-08 21:30 UTC | newest]

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

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