linux_dsm_epyc7002/drivers/scsi/lpfc
James.Smart@Emulex.Com ea84c3f74d [SCSI] lpfc driver 8.0.30 : dev_loss and nodev timeouts
Fix handling of the dev_loss and nodev timeouts.

Symptoms: when remote port disappears for a period of time longer then
either nodev_tmo or dev_loss_tmo, the lpfc driver worker thread will
stall removing that remote port.

Cause: removing remote port involves un-blocking and sync-ing
corresponding block device queue. But corresponding node in the lpfc
driver is still in the NPR(?node port recovery?) state and mid-layer
gets SCSI_MLQUEUE_HOST_BUSY as a return value when it is trying to call
queuecommand() with command for that node (AKA remote port)

Fix: Instead of returning SCSI_MLQUEUE_HOST_BUS from queuecommand() for
nodes in NPR states complete it with retry-able error code  DID_BUS_BUSY

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-08-12 12:08:54 -05:00
..
lpfc_attr.c [SCSI] lpfc driver 8.0.30 : fix get_stats panic 2005-08-12 12:08:48 -05:00
lpfc_compat.h [PATCH] turn many #if $undefined_string into #ifdef $undefined_string 2005-07-27 16:26:08 -07:00
lpfc_crtn.h [SCSI] lpfc: Update copyright notices 2005-07-02 19:08:29 -05:00
lpfc_ct.c [SCSI] lpfc driver 8.0.30 : fix get_stats panic 2005-08-12 12:08:48 -05:00
lpfc_disc.h [SCSI] lpfc: Update copyright notices 2005-07-02 19:08:29 -05:00
lpfc_els.c [SCSI] lpfc: Update copyright notices 2005-07-02 19:08:29 -05:00
lpfc_hbadisc.c [SCSI] lpfc driver 8.0.30 : fix lip/cablepull panic 2005-08-12 12:08:30 -05:00
lpfc_hw.h [SCSI] lpfc: Update copyright notices 2005-07-02 19:08:29 -05:00
lpfc_init.c [SCSI] lpfc driver 8.0.30 : fix get_stats panic 2005-08-12 12:08:48 -05:00
lpfc_logmsg.h [SCSI] lpfc: Update copyright notices 2005-07-02 19:08:29 -05:00
lpfc_mbox.c [SCSI] lpfc driver 8.0.30 : fix get_stats panic 2005-08-12 12:08:48 -05:00
lpfc_mem.c [SCSI] lpfc driver 8.0.30 : fix get_stats panic 2005-08-12 12:08:48 -05:00
lpfc_nportdisc.c [SCSI] lpfc: Update copyright notices 2005-07-02 19:08:29 -05:00
lpfc_scsi.c [SCSI] lpfc driver 8.0.30 : dev_loss and nodev timeouts 2005-08-12 12:08:54 -05:00
lpfc_scsi.h [PATCH] turn many #if $undefined_string into #ifdef $undefined_string 2005-07-27 16:26:08 -07:00
lpfc_sli.c [SCSI] lpfc driver 8.0.30 : fix get_stats panic 2005-08-12 12:08:48 -05:00
lpfc_sli.h [SCSI] lpfc: Update copyright notices 2005-07-02 19:08:29 -05:00
lpfc_version.h [SCSI] lpfc: Change version to 8.0.29. 2005-07-02 19:08:56 -05:00
lpfc.h [SCSI] lpfc driver 8.0.30 : fix get_stats panic 2005-08-12 12:08:48 -05:00
Makefile [SCSI] lpfc: Update copyright notices 2005-07-02 19:08:29 -05:00