diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-11-11 17:34:33 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:01:36 -0500 |
commit | 3fe5ae8b4c4d3a82c755074878da7ddb9dde381e (patch) | |
tree | 2565bc75ba1ab288cff50d4290eca8312f87bb04 /include/scsi/libiscsi.h | |
parent | 5d12c05e29fc8715e3e32f57a8cced9290d87c55 (diff) |
[SCSI] libiscsi: add warm target reset tmf support
This implements warm target reset tmf support for
the scsi-ml target reset callback. Previously we would
just drop the session in that callback. This patch will
now try a target reset and if that fails drop the session.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r-- | include/scsi/libiscsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index 2db2bc26b1e9..7394e3bc8f4b 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -267,6 +267,7 @@ struct iscsi_session { | |||
267 | /* configuration */ | 267 | /* configuration */ |
268 | int abort_timeout; | 268 | int abort_timeout; |
269 | int lu_reset_timeout; | 269 | int lu_reset_timeout; |
270 | int tgt_reset_timeout; | ||
270 | int initial_r2t_en; | 271 | int initial_r2t_en; |
271 | unsigned max_r2t; | 272 | unsigned max_r2t; |
272 | int imm_data_en; | 273 | int imm_data_en; |