The patch titled scsi: megaraid_sas - return sync cache call with success has been removed from the -mm tree. Its filename was scsi-megaraid_sas-return-sync-cache-call-with-success.patch This patch was dropped because it is obsolete ------------------------------------------------------ Subject: scsi: megaraid_sas - return sync cache call with success From: Sumant Patro <sumantp@xxxxxxxx> FW does not support SYNCHRONIZE_CACHE cmd. FW flush cache on its own. So, we just return success from the megasas_queue_command. Signed-off-by: Sumant Patro <sumant.patro@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/scsi/megaraid/megaraid_sas.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff -puN drivers/scsi/megaraid/megaraid_sas.c~scsi-megaraid_sas-return-sync-cache-call-with-success drivers/scsi/megaraid/megaraid_sas.c --- a/drivers/scsi/megaraid/megaraid_sas.c~scsi-megaraid_sas-return-sync-cache-call-with-success +++ a/drivers/scsi/megaraid/megaraid_sas.c @@ -871,6 +871,18 @@ megasas_queue_command(struct scsi_cmnd * break; } + switch (scmd->cmnd[0]) { + case SYNCHRONIZE_CACHE: + /* + * FW takes care of flush cache on its own + * No need to send it down + */ + scmd->result = DID_OK << 16; + goto out_done; + default: + break; + } + /* Check if we can accept cmds */ if (instance->is_busy) { sec = (jiffies - instance->last_time) / HZ; _ Patches currently in -mm which might be from sumantp@xxxxxxxx are scsi-megaraid_sas-return-sync-cache-call-with-success.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html