integ/filesystem/iscsi-initiator-utils/centos/patches/0001-increase-default-error-timeouts-for-iSCSI-initiator.patch
Scott Little dd07193bf0 Relocate iscsi-initiator-utils to stx-integ/filesystem/...
Move content from stx-gplv2 into stx-integ

Packages will be relocated to

stx-integ:
    base/
        bash
        cgcs-users
        cluster-resource-agents
        dpkg
        haproxy
        libfdt
        netpbm
        rpm

    database/
        mariadb

    filesystem/
        iscsi-initiator-utils

    filesystem/drbd/
        drbd-tools

    kernel/kernel-modules/
        drbd
        integrity
        intel-e1000e
        intel-i40e
        intel-i40evf
        intel-ixgbe
        intel-ixgbevf
        qat17
        tpmdd

    ldap/
        ldapscripts

    networking/
        iptables
        net-tools

Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I33594eeb5112f43ed4264361aaee841503e66276
2018-08-01 15:31:54 -04:00

49 lines
1.9 KiB
Diff

From e030a19da5a93a8fdca9ed1c7263d6e2be3ceb5a Mon Sep 17 00:00:00 2001
From: Chris Friesen <chris.friesen@windriver.com>
Date: Wed, 5 Aug 2015 18:09:36 -0400
Subject: [PATCH] Increase default error timeouts for iSCSI initiator
The only place we use the iSCSI initiator within our system is on
the compute nodes when using cinder volumes.
Accordingly, change the default values to something that makes more
sense when instance root filesystems are being accessed via iSCSI.
This addresses CGTS-2286.
---
etc/iscsid.conf | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/etc/iscsid.conf b/etc/iscsid.conf
index b9b3b1f..0f270b5 100644
--- a/etc/iscsid.conf
+++ b/etc/iscsid.conf
@@ -95,7 +95,7 @@ node.leading_login = No
# - If the value is 0, IO will be failed immediately.
# - If the value is less than 0, IO will remain queued until the session
# is logged back in, or until the user runs the logout command.
-node.session.timeo.replacement_timeout = 120
+node.session.timeo.replacement_timeout = 900
# To specify the time to wait for login to complete, edit the line.
# The value is in seconds and the default is 15 seconds.
@@ -106,13 +106,13 @@ node.conn[0].timeo.login_timeout = 15
node.conn[0].timeo.logout_timeout = 15
# Time interval to wait for on connection before sending a ping.
-node.conn[0].timeo.noop_out_interval = 5
+node.conn[0].timeo.noop_out_interval = 900
# To specify the time to wait for a Nop-out response before failing
# the connection, edit this line. Failing the connection will
# cause IO to be failed back to the SCSI layer. If using dm-multipath
# this will cause the IO to be failed to the multipath layer.
-node.conn[0].timeo.noop_out_timeout = 5
+node.conn[0].timeo.noop_out_timeout = 900
# To specify the time to wait for abort response before
# failing the operation and trying a logical unit reset edit the line.
--
1.9.1