Hi Hannes, Thanks for the input. >> +++ b/drivers/scsi/lpfc/lpfc_scsi.c >> @@ -4526,6 +4526,12 @@ lpfc_queuecommand(struct Scsi_Host *shost, struct >> scsi_cmnd *cmnd) >> cmnd->result = err; >> goto out_fail_command; >> } >> + >> + /* >> + * If port state is marginal >> + * Set the SCMD_NORETRIES_ABORT bit in scmd->state >> + */ >> + fc_rport_chkmarginal_set_noretries(rport, cmnd); >> ndlp = rdata->pnode; >> >> if ((scsi_get_prot_op(cmnd) != SCSI_PROT_NORMAL) && >> >This really should be moved into the transport class; fc_block_rport() >would be an ideal place for it. [Muneendra]Correct me if I didn't understand correctly. As fc_block_rport cannot take arg of scsi_cmd can we add it as part of fc_block_scsi_eh ? Regards, Muneendra.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature