Hello community, here is the log from the commit of package multipath-tools for openSUSE:Factory checked in at 2014-06-19 13:19:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/multipath-tools (Old) and /work/SRC/openSUSE:Factory/.multipath-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "multipath-tools" Changes: -------- --- /work/SRC/openSUSE:Factory/multipath-tools/multipath-tools.changes 2014-05-23 08:05:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.multipath-tools.new/multipath-tools.changes 2014-06-19 13:19:58.000000000 +0200 @@ -1,0 +2,7 @@ +Fri Jun 13 10:51:48 CEST 2014 - [email protected] + +- 11-dm-mpath.rules: Import blkid values if all paths are down + (bnc#875233) +- kpartx.rules: Skip kpartx for multipath events (bnc#875233) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ multipath-tools-0.5.0-sles12.diff.bz2 ++++++ --- /var/tmp/diff_new_pack.DQMSSQ/_old 2014-06-19 13:19:59.000000000 +0200 +++ /var/tmp/diff_new_pack.DQMSSQ/_new 2014-06-19 13:19:59.000000000 +0200 @@ -173,7 +173,7 @@ continue; } diff --git a/kpartx/kpartx.rules b/kpartx/kpartx.rules -index 5c0d0ff..2ab43d6 100644 +index 5c0d0ff..2f5ea53 100644 --- a/kpartx/kpartx.rules +++ b/kpartx/kpartx.rules @@ -12,12 +12,6 @@ ENV{DM_DEPS}=="0", GOTO="kpartx_end" @@ -200,11 +200,15 @@ # Create persistent links for partitions ENV{DM_PART}=="?*", \ SYMLINK+="disk/by-id/$env{DM_TYPE}-$env{DM_NAME}-part$env{DM_PART}" -@@ -48,7 +46,7 @@ ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", \ +@@ -46,9 +44,9 @@ ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", \ + SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}" + # Create dm tables for partitions - ENV{DM_ACTION}=="PATH_FAILED", ENV{DM_NR_VALID_PATHS}=="0", \ - GOTO="kpartx_end" +-ENV{DM_ACTION}=="PATH_FAILED", ENV{DM_NR_VALID_PATHS}=="0", \ +- GOTO="kpartx_end" -ENV{DM_STATE}!="SUSPENDED", ENV{DM_UUID}=="mpath-*", \ ++ENV{DM_ACTION}=="PATH_FAILED|PATH_REINSTATED", GOTO="kpartx_end" ++ENV{DM_NR_VALID_PATHS}=="0", GOTO="kpartx_end" +ENV{DM_STATE}!="SUSPENDED", ENV{DM_UUID}=="mpath-*|DMRAID-*|dmraid-*", \ RUN+="/sbin/kpartx -u -p -part /dev/$name" @@ -1684,10 +1688,10 @@ # product "LUNZ" diff --git a/multipath/11-dm-mpath.rules b/multipath/11-dm-mpath.rules new file mode 100644 -index 0000000..69c24b5 +index 0000000..2e7076d --- /dev/null +++ b/multipath/11-dm-mpath.rules -@@ -0,0 +1,34 @@ +@@ -0,0 +1,40 @@ +ACTION!="add|change", GOTO="mpath_end" +ENV{DM_UDEV_RULES_VSN}!="?*", GOTO="mpath_end" +ENV{DM_UUID}!="mpath-?*", GOTO="mpath_end" @@ -1696,7 +1700,13 @@ +# otherwise there would be a hang or IO error on access. +# We'd like to avoid this, especially within udev processing. +ENV{DM_NR_VALID_PATHS}!="?*", IMPORT{db}="DM_NR_VALID_PATHS" -+ENV{DM_NR_VALID_PATHS}=="0", ENV{DM_NOSCAN}="1" ++ENV{DM_NR_VALID_PATHS}!="0", GOTO="mpath_blkid_end" ++IMPORT{db}="ID_FS_TYPE" ++IMPORT{db}="ID_FS_USAGE" ++IMPORT{db}="ID_FS_UUID" ++IMPORT{db}="ID_FS_UUID_ENC" ++IMPORT{db}="ID_FS_VERSION" ++LABEL="mpath_blkid_end" + +# Also skip all foreign rules if no path is available. +# Remember the original value of DM_DISABLE_OTHER_RULES_FLAG @@ -2269,10 +2279,17 @@ +fi diff --git a/rpm/multipath-tools.changes b/rpm/multipath-tools.changes new file mode 100644 -index 0000000..58b2dd9 +index 0000000..021329d --- /dev/null +++ b/rpm/multipath-tools.changes -@@ -0,0 +1,1134 @@ +@@ -0,0 +1,1141 @@ ++------------------------------------------------------------------- ++Fri Jun 13 10:51:48 CEST 2014 - [email protected] ++ ++- 11-dm-mpath.rules: Import blkid values if all paths are down ++ (bnc#875233) ++- kpartx.rules: Skip kpartx for multipath events (bnc#875233) ++ +------------------------------------------------------------------- +Tue May 20 12:36:57 CEST 2014 - [email protected] + -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
