diff options
author | James Smart <James.Smart@Emulex.Com> | 2007-04-25 09:53:01 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-06 10:33:15 -0400 |
commit | 329f9bc735b4665d42267259b1612191f72c4d42 (patch) | |
tree | b696a632e19afa0d0e42012efd7992690f69e1a1 /drivers/scsi/lpfc/lpfc_disc.h | |
parent | 2680eeaaa03e83a87ece2724e71f7cc816cd3ef0 (diff) |
[SCSI] lpfc 8.1.12 : Reference count node structures for node lifetime management
Reference count node structures for node lifetime management.
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_disc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_disc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_disc.h b/drivers/scsi/lpfc/lpfc_disc.h index 30b2ba0b06f7..4561327c9946 100644 --- a/drivers/scsi/lpfc/lpfc_disc.h +++ b/drivers/scsi/lpfc/lpfc_disc.h | |||
@@ -69,7 +69,6 @@ struct lpfc_nodelist { | |||
69 | uint16_t nlp_maxframe; /* Max RCV frame size */ | 69 | uint16_t nlp_maxframe; /* Max RCV frame size */ |
70 | uint8_t nlp_class_sup; /* Supported Classes */ | 70 | uint8_t nlp_class_sup; /* Supported Classes */ |
71 | uint8_t nlp_retry; /* used for ELS retries */ | 71 | uint8_t nlp_retry; /* used for ELS retries */ |
72 | uint8_t nlp_disc_refcnt; /* used for DSM */ | ||
73 | uint8_t nlp_fcp_info; /* class info, bits 0-3 */ | 72 | uint8_t nlp_fcp_info; /* class info, bits 0-3 */ |
74 | #define NLP_FCP_2_DEVICE 0x10 /* FCP-2 device */ | 73 | #define NLP_FCP_2_DEVICE 0x10 /* FCP-2 device */ |
75 | 74 | ||
@@ -80,6 +79,7 @@ struct lpfc_nodelist { | |||
80 | struct lpfc_work_evt els_retry_evt; | 79 | struct lpfc_work_evt els_retry_evt; |
81 | unsigned long last_ramp_up_time; /* jiffy of last ramp up */ | 80 | unsigned long last_ramp_up_time; /* jiffy of last ramp up */ |
82 | unsigned long last_q_full_time; /* jiffy of last queue full */ | 81 | unsigned long last_q_full_time; /* jiffy of last queue full */ |
82 | struct kref kref; | ||
83 | }; | 83 | }; |
84 | 84 | ||
85 | /* Defines for nlp_flag (uint32) */ | 85 | /* Defines for nlp_flag (uint32) */ |
@@ -107,7 +107,6 @@ struct lpfc_nodelist { | |||
107 | ACC */ | 107 | ACC */ |
108 | #define NLP_NPR_ADISC 0x2000000 /* Issue ADISC when dq'ed from | 108 | #define NLP_NPR_ADISC 0x2000000 /* Issue ADISC when dq'ed from |
109 | NPR list */ | 109 | NPR list */ |
110 | #define NLP_DELAY_REMOVE 0x4000000 /* Defer removal till end of DSM */ | ||
111 | #define NLP_NODEV_REMOVE 0x8000000 /* Defer removal till discovery ends */ | 110 | #define NLP_NODEV_REMOVE 0x8000000 /* Defer removal till discovery ends */ |
112 | 111 | ||
113 | /* Defines for list searchs */ | 112 | /* Defines for list searchs */ |