]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg/UefiScsiLib: Set FUA bit for synchronous SCSI Write operations
authorZurcher, Christopher J <christopher.j.zurcher@intel.com>
Thu, 26 Mar 2020 07:34:24 +0000 (15:34 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 15 Apr 2020 01:13:04 +0000 (01:13 +0000)
commit8c654bb3ec0b5232dec2b2b07234c5479eb14d62
treed366c9b0f3c7266f2213f6e58131db43533739be
parentbd6aa93296de36c5afabd34e4fa4083bccb8488d
MdePkg/UefiScsiLib: Set FUA bit for synchronous SCSI Write operations

The FUA (Force Unit Access) bit forces data to be written directly to
disk instead of the write cache. This prevents data from being lost if a
shutdown or reset is requested immediately after a SCSI write operation.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Christopher J Zurcher <christopher.j.zurcher@intel.com>
MdePkg/Include/IndustryStandard/Scsi.h
MdePkg/Library/UefiScsiLib/UefiScsiLib.c