Skip to content

scsi-disk: Add FUA write support

Alberto Faria qemu-devel 3 versions – Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 5 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2scsi-disk: Add native FUA write supporthw/scsi/scsi-disk.c+15 -380 replies
2/2scsi-disk: Advertise FUA support by defaulthw/core/machine.c hw/scsi/scsi-disk.c+4 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] scsi-disk: Add FUA write support

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(-)
Signature · 1 line
2.49.0