Bug 1099932

Summary: multipath: make fast_io_fail work for iscsi devices
Product: Red Hat Enterprise Linux 6 Reporter: Ben Marzinski <bmarzins>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED ERRATA QA Contact: yanfu,wang <yanwang>
Severity: medium Docs Contact:
Priority: high    
Version: 6.5CC: aberezin, agk, bazulay, bdonahue, bmarzins, ccui, cshao, dfediuck, dwysocha, fdeutsch, gouyang, hadong, heinzm, huiwa, iheim, janfrode, jboggs, jhunsaker, jkt, jmagrini, leiwang, lpeer, mkalinin, msnitzer, nsoffer, ovirt-maint, prajnoha, prockai, rbalakri, rhodain, scohen, slevine, yaniwang, yanwang, ycui, yeylon, zkabelac
Target Milestone: rcKeywords: ZStream
Target Release: ---Flags: scohen: needinfo+
Hardware: x86_64   
OS: Linux   
Whiteboard: node
Fixed In Version: device-mapper-multipath-0.4.9-76.el6 Doc Type: Enhancement
Doc Text:
Feature: Add iscsi support for the fast_io_fail_tmo multipath.conf option. Reason: To allow users to modify how quickly multipath responds to failed iscsi devices with the same configuration option as they use for Fibre Channel devices.
Story Points: ---
Clone Of: 980139
: 1137017 (view as bug list) Environment:
Last Closed: 2014-10-14 07:43:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 980139, 1002699, 1081264, 1117499, 1137017    

Comment 1 Ben Marzinski 2014-05-21 14:40:36 UTC
This bug is to deal with multipath allowing fast_io_fail_tmo to work with iscsi devices.

Comment 2 Ben Marzinski 2014-05-22 19:55:25 UTC
Setting fast_io_fail_tmo will now set

/sys/class/iscsi_session/session<n>/recovery_tmo

For iscsi devices.  This will allow the scsi layer to fail the IO errors back to to multipath sooner.

Comment 5 Nir Soffer 2014-09-03 08:21:27 UTC
Ben, will we get this version (0.4.9-80.el6) in 6.5z/7.0.z?

Comment 6 Ben Marzinski 2014-09-03 17:26:36 UTC
This already exists in 7.0.  You could request a rhel-6 zstream. I have no problem with that, but as far as I know, nobody has requested a zstream version of this fix for rhel-6.5.z

Comment 7 Nir Soffer 2014-09-03 18:29:03 UTC
Ben, I tested this on rhel 7.0, and I had to manually edit
the node files in /var/lib/iscsi/nodes to avoid 2 minutes timeout.

# rpm -q device-mapper-multipath
device-mapper-multipath-0.4.9-66.el7.x86_64

I guess that this system is not updated, but it is not my
system and I don't want to change it.

Sean, can you do the needed magic to get it in 6.5.z?

Comment 10 errata-xmlrpc 2014-10-14 07:43:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1555.html