From fc22ce08386d704f787ad132d644101c4ffa41a7 Mon Sep 17 00:00:00 2001 From: Mike Christie Date: Tue, 14 Aug 2007 10:16:29 -0500 Subject: add device reset support and fix some scsi eh bugs. This patch adds logical unit reset support. It also fixes a bug where when the session lock is dropped so we can grab the recv lock, the iscsi eh thread could grab completely clean up the session. The recv lock would then be a null ptr. --- etc/iscsid.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'etc') diff --git a/etc/iscsid.conf b/etc/iscsid.conf index 0840594..e950e3f 100644 --- a/etc/iscsid.conf +++ b/etc/iscsid.conf @@ -204,3 +204,19 @@ discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768 # The default is to never use DataDigests and to allow the target to control # the setting of the HeaderDigest checking with the initiator requesting # a preference of disabling the checking. + +#************ +# Workarounds +#************ + +# Some targets like IET prefer after an initiator has sent a task +# management function like an ABORT TASK or LOGICAL UNIT RESET, that +# it does not respond to PDUs like R2Ts. To enable this behavior uncomment +# the following line (The default behavior is No): +# node.session.iscsi.FastAbort = Yes + +# Some targets like Equalogic prefer that after an initiator has sent +# a task management function like an ABORT TASK or LOGICAL UNIT RESET, that +# it continue to respond to R2Ts. To enable this uncomment this line (This +# is the default behavior): +node.session.iscsi.FastAbort = No -- cgit v1.2.1