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/[email protected]/ 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

