diff options
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r-- | include/scsi/libiscsi.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index a72edd4eceec..ff92b46f5153 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/mutex.h> | 28 | #include <linux/mutex.h> |
29 | #include <linux/timer.h> | 29 | #include <linux/timer.h> |
30 | #include <linux/workqueue.h> | 30 | #include <linux/workqueue.h> |
31 | #include <linux/kfifo.h> | ||
31 | #include <scsi/iscsi_proto.h> | 32 | #include <scsi/iscsi_proto.h> |
32 | #include <scsi/iscsi_if.h> | 33 | #include <scsi/iscsi_if.h> |
33 | #include <scsi/scsi_transport_iscsi.h> | 34 | #include <scsi/scsi_transport_iscsi.h> |
@@ -231,7 +232,7 @@ struct iscsi_conn { | |||
231 | }; | 232 | }; |
232 | 233 | ||
233 | struct iscsi_pool { | 234 | struct iscsi_pool { |
234 | struct kfifo *queue; /* FIFO Queue */ | 235 | struct kfifo queue; /* FIFO Queue */ |
235 | void **pool; /* Pool of elements */ | 236 | void **pool; /* Pool of elements */ |
236 | int max; /* Max number of elements */ | 237 | int max; /* Max number of elements */ |
237 | }; | 238 | }; |
@@ -267,6 +268,7 @@ struct iscsi_session { | |||
267 | /* configuration */ | 268 | /* configuration */ |
268 | int abort_timeout; | 269 | int abort_timeout; |
269 | int lu_reset_timeout; | 270 | int lu_reset_timeout; |
271 | int tgt_reset_timeout; | ||
270 | int initial_r2t_en; | 272 | int initial_r2t_en; |
271 | unsigned max_r2t; | 273 | unsigned max_r2t; |
272 | int imm_data_en; | 274 | int imm_data_en; |
@@ -333,7 +335,8 @@ struct iscsi_host { | |||
333 | /* | 335 | /* |
334 | * scsi host template | 336 | * scsi host template |
335 | */ | 337 | */ |
336 | extern int iscsi_change_queue_depth(struct scsi_device *sdev, int depth); | 338 | extern int iscsi_change_queue_depth(struct scsi_device *sdev, int depth, |
339 | int reason); | ||
337 | extern int iscsi_eh_abort(struct scsi_cmnd *sc); | 340 | extern int iscsi_eh_abort(struct scsi_cmnd *sc); |
338 | extern int iscsi_eh_target_reset(struct scsi_cmnd *sc); | 341 | extern int iscsi_eh_target_reset(struct scsi_cmnd *sc); |
339 | extern int iscsi_eh_device_reset(struct scsi_cmnd *sc); | 342 | extern int iscsi_eh_device_reset(struct scsi_cmnd *sc); |