aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r--include/scsi/libiscsi.h7
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
233struct iscsi_pool { 234struct 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 */
336extern int iscsi_change_queue_depth(struct scsi_device *sdev, int depth); 338extern int iscsi_change_queue_depth(struct scsi_device *sdev, int depth,
339 int reason);
337extern int iscsi_eh_abort(struct scsi_cmnd *sc); 340extern int iscsi_eh_abort(struct scsi_cmnd *sc);
338extern int iscsi_eh_target_reset(struct scsi_cmnd *sc); 341extern int iscsi_eh_target_reset(struct scsi_cmnd *sc);
339extern int iscsi_eh_device_reset(struct scsi_cmnd *sc); 342extern int iscsi_eh_device_reset(struct scsi_cmnd *sc);