On Mon, Jan 05, 2026 at 10:55:26AM +0530, Balaji Selvanathan wrote: > Enable the Force Unit Access (FUA) bit in SCSI WRITE10 commands to > ensure writes bypass the device's volatile cache and go directly to > non-volatile storage. This provides write-through behavior without > requiring explicit cache flushes after each write operation. > > Remove the SYNC_CACHE command that was being issued after every > scsi_write() call, as it is redundant when FUA is enabled and was > causing system hangs during large sparse image flashing operations. > > Signed-off-by: Aswin Murugan <[email protected]> > Signed-off-by: Balaji Selvanathan <[email protected]>
This introduces failure to build on xilinx_zynqmp_virt and others: drivers/scsi/scsi.c:85:13: error: 'scsi_setup_sync_cache' defined but not used [-Werror=unused-function] -- Tom
signature.asc
Description: PGP signature

