hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/s390/scsi/zfcp_fc.h
....@@ -121,9 +121,24 @@
121121 /**
122122 * struct zfcp_fc_req - Container for FC ELS and CT requests sent from zfcp
123123 * @ct_els: data required for issuing fsf command
124
- * @sg_req: scatterlist entry for request data
125
- * @sg_rsp: scatterlist entry for response data
126
- * @u: request specific data
124
+ * @sg_req: scatterlist entry for request data, refers to embedded @u submember
125
+ * @sg_rsp: scatterlist entry for response data, refers to embedded @u submember
126
+ * @u: request and response specific data
127
+ * @u.adisc: ADISC specific data
128
+ * @u.adisc.req: ADISC request
129
+ * @u.adisc.rsp: ADISC response
130
+ * @u.gid_pn: GID_PN specific data
131
+ * @u.gid_pn.req: GID_PN request
132
+ * @u.gid_pn.rsp: GID_PN response
133
+ * @u.gpn_ft: GPN_FT specific data
134
+ * @u.gpn_ft.sg_rsp2: GPN_FT response, not embedded here, allocated elsewhere
135
+ * @u.gpn_ft.req: GPN_FT request
136
+ * @u.gspn: GSPN specific data
137
+ * @u.gspn.req: GSPN request
138
+ * @u.gspn.rsp: GSPN response
139
+ * @u.rspn: RSPN specific data
140
+ * @u.rspn.req: RSPN request
141
+ * @u.rspn.rsp: RSPN response
127142 */
128143 struct zfcp_fc_req {
129144 struct zfcp_fsf_ct_els ct_els;
....@@ -170,7 +185,8 @@
170185 /**
171186 * struct zfcp_fc_wka_port - representation of well-known-address (WKA) FC port
172187 * @adapter: Pointer to adapter structure this WKA port belongs to
173
- * @completion_wq: Wait for completion of open/close command
188
+ * @opened: Wait for completion of open command
189
+ * @closed: Wait for completion of close command
174190 * @status: Current status of WKA port
175191 * @refcount: Reference count to keep port open as long as it is in use
176192 * @d_id: FC destination id or well-known-address
....@@ -180,7 +196,8 @@
180196 */
181197 struct zfcp_fc_wka_port {
182198 struct zfcp_adapter *adapter;
183
- wait_queue_head_t completion_wq;
199
+ wait_queue_head_t opened;
200
+ wait_queue_head_t closed;
184201 enum zfcp_fc_wka_status status;
185202 atomic_t refcount;
186203 u32 d_id;