zfs/lib
Tony Hutter 2b8b89c6b3 zed: Fix mpath autoreplace on Centos 7
A prior commit included a udev check for MPATH_DEVICE_READY to
determine if a path was multipath when doing an autoreplace:

    f2f6c18 zed: Misc multipath autoreplace fixes

However, MPATH_DEVICE_READY is not provided by the older version of
udev that's on Centos 7 (it is on Centos 8).

This patch instead looks for 'mpath-' in the UUID, which works on
both Centos 7 and 8.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #13222
2022-03-18 06:54:48 -07:00
..
libavl cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libefi cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libicp cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libnvpair Upgrade to libabigail 2.0.0 2021-11-05 07:59:40 -07:00
libshare freebsd/libshare: nfs: don't send SIGHUP to all processes 2022-02-03 15:28:01 -08:00
libspl FreeBSD: Fix leaked strings in libspl mnttab 2022-02-03 15:28:01 -08:00
libtpool cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libunicode cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libuutil Upgrade to libabigail 2.0.0 2021-11-05 07:59:40 -07:00
libzfs get_key_material_https: removed bogus free() call 2022-03-17 10:22:13 -07:00
libzfs_core Upgrade to libabigail 2.0.0 2021-11-05 07:59:40 -07:00
libzfsbootenv Upgrade to libabigail 2.0.0 2021-11-05 07:59:40 -07:00
libzpool file reference counts can get corrupted 2021-09-14 12:37:38 -07:00
libzstd cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libzutil zed: Fix mpath autoreplace on Centos 7 2022-03-18 06:54:48 -07:00
Makefile.am cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00