Skip to contentSkip to conversation

lpfc 8.1.5 : Fix Discovery processing for NPorts that hit nodev_tmo during discovery

PATCH In review James Smart 1 participant 1 message Apr 15, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/7 lpfc 8.1.5 : Fix Discovery processing for NPorts that hit nodev_tmo during discovery

Fix Discovery processing for NPorts that hit nodev_tmo during discovery

drivers/scsi/lpfc/lpfc_hbadisc.c +2 -0
@@ -1238,6 +1238,7 @@ lpfc_nlp_list(struct lpfc_hba * phba, st
 						evt_listp);
 
 		}
+		nlp->nlp_flag &= ~NLP_NODEV_REMOVE;
 		nlp->nlp_type |= NLP_FC_NODE;
 		break;
 	case NLP_MAPPED_LIST:
@@ -1258,6 +1259,7 @@ lpfc_nlp_list(struct lpfc_hba * phba, st
 						evt_listp);
 
 		}
+		nlp->nlp_flag &= ~NLP_NODEV_REMOVE;
 		break;
 	case NLP_NPR_LIST:
 		nlp->nlp_flag |= list;
drivers/scsi/lpfc/lpfc_nportdisc.c +76 -22

206 lines not on this page · raw message

drivers/scsi/lpfc/lpfc_disc.h +1 -0
@@ -113,6 +113,7 @@ struct lpfc_nodelist {
 #define NLP_NPR_ADISC      0x2000000	/* Issue ADISC when dq'ed from
 					   NPR list */
 #define NLP_DELAY_REMOVE   0x4000000	/* Defer removal till end of DSM */
+#define NLP_NODEV_REMOVE   0x8000000	/* Defer removal till discovery ends */
 
 /* Defines for list searchs */
 #define NLP_SEARCH_MAPPED    0x1	/* search mapped */