Skip to contentSkip to conversation

Use SYNCHRONIZE CACHE instead of FUA for UFS devices

PATCH Superseded Bart Van Assche 1 participant 1 message Feb 2, 2023 SCSI

lore
Share & tools
lore
#0 lore raw

v2 cover Use SYNCHRONIZE CACHE instead of FUA for UFS devices

Hi Martin,

Measurements have shown that UFS devices perform better when using SYNCHRONIZE CACHE instead of FUA. Hence this patch series that makes the SCSI core submit a SYNCHRONIZE CACHE command instead of setting the FUA bit for UFS devices. Please consider this patch series for the next merge window.

Thanks,

Bart.

Changes compared to v1:
- Updated __BLIST_LAST_USED.
- Added #include <scsi/scsi_devinfo.h> to fix a build error reported by the kernel robot.

Asutosh Das (1):
scsi: ufs: Use SYNCHRONIZE CACHE instead of FUA

Bart Van Assche (1):
scsi: core: Introduce the BLIST_BROKEN_FUA flag

 drivers/scsi/scsi_scan.c    | 3 +++
 drivers/ufs/core/ufshcd.c   | 4 ++++
 include/scsi/scsi_devinfo.h | 4 +++-
 3 files changed, 10 insertions(+), 1 deletion(-)