Red Hat Bugzilla – Bug 161657
iscsi_sfnet driver does not calculate ConnFailTimeout correctly when greater than 15 secs
Last modified: 2007-11-30 17:07:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
For linux-iscsi (drivers/addon/iscsi_sfnet) it appears that if you set the ConnFailTimeout to any time setting then 15 seconds then an additional 50 seconds is added before I/O failover occurs. If your ConnFailTimeout is equal < 15 seconds then the I/O failover occurs based on the timer.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. set ConnFailTimeout > 15 seconds
Actual Results: ConnFailTimeout is x + 50 seconds
Expected Results: ConnFailTimeout should be x seconds
Updating "Steps to reproduce"
1. set ConnFailTimeout > 15 seconds in iscsi.conf file
2. setup iscsi (run iscsid).
3. unplug network cable (leave unplugged).
4. verify that the log msg from this printk
printk("iSCSI: session %p replacement timed after %d seconds, "
"drop %lu, now %lu, failing all commands\n",
session, replacement_timeout, session->session_drop_time,
comes after ConnFailTimeout seconds set in iscsi.conf, not ConnFailTimeout + 50
A fix for this problem has just been committed to the RHEL3 U6
patch pool this evening (in kernel version 2.4.21-32.11.EL).
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.