All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] scsi-disk: Add FUA write support
@ 2025-05-02 12:11 Alberto Faria
  2025-05-02 12:11 ` [PATCH v3 1/2] scsi-disk: Add native " Alberto Faria
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alberto Faria @ 2025-05-02 12:11 UTC (permalink / raw)
  To: qemu-devel
  Cc: Yanan Wang, Paolo Bonzini, Philippe Mathieu-Daudé, Zhao Liu,
	Marcel Apfelbaum, Eduardo Habkost, Fam Zheng, Kevin Wolf,
	qemu-block, Alberto Faria

Add scsi-disk support for Force Unit Access (FUA) writes. The first patch lets
us avoid FUA emulation when the underlying driver supports it natively. The
second patch makes scsi-disk devices advertise FUA support by default.

v3:
- Restore flush on VERIFY.
- Modify hw_compat_10_0 instead of hw_compat_9_2.

v2:
- Drop FUA write emulation logic since the block layer already does that.
- Add machine type compat for "dpofua".

Alberto Faria (2):
  scsi-disk: Add native FUA write support
  scsi-disk: Advertise FUA support by default

 hw/core/machine.c   |  4 +++-
 hw/scsi/scsi-disk.c | 55 +++++++++++++--------------------------------
 2 files changed, 19 insertions(+), 40 deletions(-)

-- 
2.49.0



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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-02 12:11 [PATCH v3 0/2] scsi-disk: Add FUA write support Alberto Faria
2025-05-02 12:11 ` [PATCH v3 1/2] scsi-disk: Add native " Alberto Faria
2025-05-02 12:11 ` [PATCH v3 2/2] scsi-disk: Advertise FUA support by default Alberto Faria
2025-05-13 12:45 ` [PATCH v3 0/2] scsi-disk: Add FUA write support Kevin Wolf

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.