Bug 161657 - iscsi_sfnet driver does not calculate ConnFailTimeout correctly when greater than 15 secs
iscsi_sfnet driver does not calculate ConnFailTimeout correctly when greater ...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mike Christie
Brian Brock
:
Depends On:
Blocks: 156320
  Show dependency treegraph
 
Reported: 2005-06-24 19:25 EDT by Mike Christie
Modified: 2007-11-30 17:07 EST (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2005-663
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-28 11:25:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Mike Christie 2005-06-24 19:25:43 EDT
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):


How reproducible:
Always

Steps to Reproduce:
1. set ConnFailTimeout > 15 seconds
2.
3.
  

Actual Results:  ConnFailTimeout is x + 50 seconds

Expected Results:  ConnFailTimeout should be x seconds

Additional info:
Comment 3 Mike Christie 2005-06-27 18:39:36 EDT
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,
                      jiffies);

comes after ConnFailTimeout seconds set in iscsi.conf, not ConnFailTimeout + 50
secsonds.
Comment 4 Ernie Petrides 2005-07-13 19:37:38 EDT
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).
Comment 8 Red Hat Bugzilla 2005-09-28 11:25:30 EDT
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.

http://rhn.redhat.com/errata/RHSA-2005-663.html

Note You need to log in before you can comment on or make changes to this bug.