summaryrefslogtreecommitdiff
path: root/usr/iscsi_settings.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2007-08-27 02:41:25 -0500
committerMike Christie <michaelc@cs.wisc.edu>2007-08-27 19:37:54 -0500
commit13b02660d0866725d10aa3bba03b949df23fef20 (patch)
treece6ecc82d309838701e9aaa5ebb721bb49010f4c /usr/iscsi_settings.h
parenta3e4c5202918409d54a893216a1d6555dc38cfe9 (diff)
downloadopen-iscsi-13b02660d0866725d10aa3bba03b949df23fef20.tar.gz
mv nop handling to kernel
During root boot and shutdown the target could send us nops. At this time iscsid cannot be running, so the target will drop the session and the boot or shutdown will hang. This patch moves the nop handling to the kernel.
Diffstat (limited to 'usr/iscsi_settings.h')
-rw-r--r--usr/iscsi_settings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/iscsi_settings.h b/usr/iscsi_settings.h
index 4bb7064..107a4f7 100644
--- a/usr/iscsi_settings.h
+++ b/usr/iscsi_settings.h
@@ -9,6 +9,10 @@
#define DEF_NOOP_OUT_TIMEO 15
#define DEF_REPLACEMENT_TIMEO 120
+#define DEF_ABORT_TIMEO 15
+#define DEF_LU_RESET_TIMEO 30
+#define DEF_HOST_RESET_TIMEO 60
+
/* q depths */
#define CMDS_MAX 128
#define QUEUE_DEPTH 32