Re: [PATCH v7 5/5] scsi:lpfc: Added support for eh_should_retry_cmd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/11/20 5:58 AM, Muneendra wrote:
Added support to handle eh_should_retry_cmd in lpfc_template.

Signed-off-by: Muneendra <muneendra.kumar@xxxxxxxxxxxx>

---
v7:
New patch
---
  drivers/scsi/lpfc/lpfc_scsi.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index 4ffdfd2c8604..dbc80e6423ea 100644
--- a/drivers/scsi/lpfc/lpfc_scsi.c
+++ b/drivers/scsi/lpfc/lpfc_scsi.c
@@ -6040,6 +6040,7 @@ struct scsi_host_template lpfc_template = {
  	.info			= lpfc_info,
  	.queuecommand		= lpfc_queuecommand,
  	.eh_timed_out		= fc_eh_timed_out,
+	.eh_should_retry_cmd    = fc_eh_should_retry_cmd,
  	.eh_abort_handler	= lpfc_abort_handler,
  	.eh_device_reset_handler = lpfc_device_reset_handler,
  	.eh_target_reset_handler = lpfc_target_reset_handler,

I guess this change is pretty generic, and should be made to every FC HBA driver. But probably not your immediate scope, I do agree :-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
hare@xxxxxxx                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux