[PATCH v2 0/2] scsi: Replace SYNC_CACHE with FUA for scsi write
Balaji Selvanathan
balaji.selvanathan at oss.qualcomm.com
Thu Jan 22 09:39:52 CET 2026
This series replaces the SYNC_CACHE approach with FUA (Force Unit
Access) to prevent data loss during board resets while avoiding
system hangs during large sparse image flashing operations.
The previous SYNC_CACHE implementation caused timeouts and hangs
when flashing large sparse images because it issued cache sync
commands after every write operation. The FUA approach achieves
the same data integrity goal by setting the FUA bit in
WRITE10 commands.
---
Changes in v2:
- Reverted "scsi: sync cache on write" commit and then set the FUA bit
- Link to v1: https://lore.kernel.org/u-boot/20260105052526.593017-1-balaji.selvanathan@oss.qualcomm.com/
Aswin Murugan (1):
scsi: Enable FUA bit in WRITE10 commands
Balaji Selvanathan (1):
Revert "scsi: sync cache on write"
drivers/scsi/scsi.c | 24 +-----------------------
1 file changed, 1 insertion(+), 23 deletions(-)
--
2.34.1
More information about the U-Boot
mailing list