aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/iscsi_tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/iscsi_tcp.h')
-rw-r--r--drivers/scsi/iscsi_tcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/iscsi_tcp.h b/drivers/scsi/iscsi_tcp.h
index ba26741ac154..12ef64179b4c 100644
--- a/drivers/scsi/iscsi_tcp.h
+++ b/drivers/scsi/iscsi_tcp.h
@@ -159,6 +159,7 @@ struct iscsi_conn {
159 struct kfifo *immqueue; /* immediate xmit queue */ 159 struct kfifo *immqueue; /* immediate xmit queue */
160 struct kfifo *mgmtqueue; /* mgmt (control) xmit queue */ 160 struct kfifo *mgmtqueue; /* mgmt (control) xmit queue */
161 struct kfifo *xmitqueue; /* data-path cmd queue */ 161 struct kfifo *xmitqueue; /* data-path cmd queue */
162 struct list_head run_list; /* list of cmds in progress */
162 struct work_struct xmitwork; /* per-conn. xmit workqueue */ 163 struct work_struct xmitwork; /* per-conn. xmit workqueue */
163 struct mutex xmitmutex; /* serializes connection xmit, 164 struct mutex xmitmutex; /* serializes connection xmit,
164 * access to kfifos: * 165 * access to kfifos: *
@@ -228,6 +229,7 @@ struct iscsi_session {
228 * - mgmtpool, * 229 * - mgmtpool, *
229 * - r2tpool */ 230 * - r2tpool */
230 int state; /* session state */ 231 int state; /* session state */
232 int recovery_failed;
231 struct list_head item; 233 struct list_head item;
232 void *auth_client; 234 void *auth_client;
233 int conn_cnt; 235 int conn_cnt;
@@ -310,6 +312,7 @@ struct iscsi_cmd_task {
310 struct iscsi_conn *conn; /* used connection */ 312 struct iscsi_conn *conn; /* used connection */
311 struct iscsi_mgmt_task *mtask; /* tmf mtask in progr */ 313 struct iscsi_mgmt_task *mtask; /* tmf mtask in progr */
312 314
315 struct list_head running; /* running cmd list */
313 struct iscsi_r2t_info *r2t; /* in progress R2T */ 316 struct iscsi_r2t_info *r2t; /* in progress R2T */
314 struct iscsi_queue r2tpool; 317 struct iscsi_queue r2tpool;
315 struct kfifo *r2tqueue; 318 struct kfifo *r2tqueue;