mbox series

[0/2] scsi-disk: Add FUA write support

Message ID 20250304155232.1325581-1-afaria@redhat.com (mailing list archive)
Headers show
Series scsi-disk: Add FUA write support | expand

Message

Alberto Faria March 4, 2025, 3:52 p.m. UTC
Add support for Force Unit Access (FUA) writes. The first patch makes scsi-disk
devices advertise FUA support by default; FUA requests will be emulated through
a regular write followed by a flush. The second patch lets us avoid FUA
emulation when the underlying block driver supports it natively.

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

 hw/scsi/scsi-disk.c | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)