summaryrefslogtreecommitdiffstats
path: root/0042-RHBZ-590038-fix-fast-io-fail-tmo.patch
diff options
context:
space:
mode:
Diffstat (limited to '0042-RHBZ-590038-fix-fast-io-fail-tmo.patch')
-rw-r--r--0042-RHBZ-590038-fix-fast-io-fail-tmo.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/0042-RHBZ-590038-fix-fast-io-fail-tmo.patch b/0042-RHBZ-590038-fix-fast-io-fail-tmo.patch
new file mode 100644
index 0000000..f3ea001
--- /dev/null
+++ b/0042-RHBZ-590038-fix-fast-io-fail-tmo.patch
@@ -0,0 +1,17 @@
+---
+ libmultipath/discovery.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: multipath-tools/libmultipath/discovery.c
+===================================================================
+--- multipath-tools.orig/libmultipath/discovery.c
++++ multipath-tools/libmultipath/discovery.c
+@@ -258,7 +258,7 @@ sysfs_set_scsi_tmo (struct multipath *mp
+ sprintf(value, "off");
+ else
+ snprintf(value, 11, "%u", mpp->fast_io_fail);
+- if (sysfs_attr_set_value(attr_path, "fast_io_fail",
++ if (sysfs_attr_set_value(attr_path, "fast_io_fail_tmo",
+ value))
+ return 1;
+ }