diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2010-07-22 07:29:49 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-28 10:06:06 -0400 |
commit | c01be6dcb2b5cce4feaf48035be6395e5cd7d47c (patch) | |
tree | b3080a6410e46a6c84bb6315bd56cc9fe085d874 /include | |
parent | fe4f0bdeea788a8ac049c097895cb2e4044f18b1 (diff) |
[SCSI] iscsi_transport: wait on session in error handler path
wait for session to come online in eh_device_reset_handler
and eh_target_reset_handler
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/scsi_transport_iscsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index 349c7f30720d..7fff94b3b2a8 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h | |||
@@ -32,6 +32,7 @@ struct scsi_transport_template; | |||
32 | struct iscsi_transport; | 32 | struct iscsi_transport; |
33 | struct iscsi_endpoint; | 33 | struct iscsi_endpoint; |
34 | struct Scsi_Host; | 34 | struct Scsi_Host; |
35 | struct scsi_cmnd; | ||
35 | struct iscsi_cls_conn; | 36 | struct iscsi_cls_conn; |
36 | struct iscsi_conn; | 37 | struct iscsi_conn; |
37 | struct iscsi_task; | 38 | struct iscsi_task; |
@@ -255,5 +256,6 @@ extern int iscsi_scan_finished(struct Scsi_Host *shost, unsigned long time); | |||
255 | extern struct iscsi_endpoint *iscsi_create_endpoint(int dd_size); | 256 | extern struct iscsi_endpoint *iscsi_create_endpoint(int dd_size); |
256 | extern void iscsi_destroy_endpoint(struct iscsi_endpoint *ep); | 257 | extern void iscsi_destroy_endpoint(struct iscsi_endpoint *ep); |
257 | extern struct iscsi_endpoint *iscsi_lookup_endpoint(u64 handle); | 258 | extern struct iscsi_endpoint *iscsi_lookup_endpoint(u64 handle); |
259 | extern int iscsi_block_scsi_eh(struct scsi_cmnd *cmd); | ||
258 | 260 | ||
259 | #endif | 261 | #endif |