Files
Annie Liandmergify[bot] 5caf4c6aeb MdeModulePkg,MdePkg: Send I/O without FUA if necessary
Commit 8c654bb3ec sets FUA bit forcefully in SCSI sync I/O to
avoid possible data loss. However, it may cause issues for the
storage without the support FUA and WCE.

For example, Windows Server 2025 guest fails to boot from
vhost-scsi block device in such scenario. The booting Error
code is 0xc0000185, the SCSI command fails with the following,

Mode Sense Key: EFI_SCSI_SK_ILLEGAL_REQUEST
Additional Sense Code: EFI_SCSI_ASC_INVALID_FIELD

This patch gets the FUA and WCE support of the storage and sets
FUA conditionally.

Continuous-integration-options: PatchCheck.ignore-multi-package

Signed-off-by: Annie Li <annie.li@oracle.com>
2026-05-06 08:04:12 +00:00
..