diff options
Diffstat (limited to '0063-RHBZ-595719-udev_link_priority.patch')
-rw-r--r-- | 0063-RHBZ-595719-udev_link_priority.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/0063-RHBZ-595719-udev_link_priority.patch b/0063-RHBZ-595719-udev_link_priority.patch new file mode 100644 index 0000000..06a5849 --- /dev/null +++ b/0063-RHBZ-595719-udev_link_priority.patch @@ -0,0 +1,19 @@ +--- + multipath/multipath.rules | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +Index: multipath-tools/multipath/multipath.rules +=================================================================== +--- multipath-tools.orig/multipath/multipath.rules ++++ multipath-tools/multipath/multipath.rules +@@ -16,8 +16,9 @@ ENV{DM_MULTIPATH_DEVICE_PATH}=="1", ENV{ + RUN+="socket:/org/kernel/dm/multipath_event" + KERNEL!="dm-*", GOTO="end_mpath" + ACTION!="change", GOTO="end_mpath" +-ENV{DM_SUSPENDED}=="1", GOTO="end_mpath" ++ENV{DM_UUID}=="mpath-?*|part[0-9]*-mpath-?*", OPTIONS+="link_priority=10" + ENV{DM_UUID}!="mpath-?*", GOTO="end_mpath" ++ENV{DM_SUSPENDED}=="1", GOTO="end_mpath" + ENV{DM_ACTION}=="PATH_FAILED", GOTO="end_mpath" + RUN+="$env{MPATH_SBIN_PATH}/kpartx -a -p p $tempnode" + LABEL="end_mpath" |