mirror_zfs/lib
Tony Hutter 515710a1e1
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 14:06:40 -07:00
..
libavl lib{efi,avl,share,tpool,zfs_core,zfsbootenv,zutil}: -fvisibility=hidden 2021-06-09 17:04:32 -07:00
libefi Integrate carcass of libspl/i/s/vtoc.h into i/s/efi_partition.h 2022-03-15 15:13:54 -07:00
libicp module: icp: rip out modhash. Replace the one user with AVL 2022-02-15 16:24:59 -08:00
libnvpair Forbid b{copy,zero,cmp}(). Don't include <strings.h> for <string.h> 2022-03-15 15:13:48 -07:00
libshare Forbid b{copy,zero,cmp}(). Don't include <strings.h> for <string.h> 2022-03-15 15:13:48 -07:00
libspl Integrate carcass of libspl/i/s/vtoc.h into i/s/efi_partition.h 2022-03-15 15:13:54 -07:00
libtpool libtpool: -Wno-clobbered 2022-02-18 09:34:25 -08:00
libunicode cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
libuutil Use _Noreturn (C11; GNU89) properly 2022-03-04 16:25:22 -08:00
libzfs libzfs: tokenise consistently with zfs and zpool 2022-03-15 15:14:38 -07:00
libzfs_core libzfs_core: lzc_send_wraper: maximise pipe buffer for existing pipes 2022-03-08 09:33:12 -08:00
libzfsbootenv Rename fallthrough to zfs_fallthrough 2022-02-15 08:58:59 -08:00
libzpool Use _Noreturn (C11; GNU89) properly 2022-03-04 16:25:22 -08:00
libzstd Explode zstd 1.4.5 into separate upstream files 2022-03-01 13:55:12 -08:00
libzutil zed: Fix mpath autoreplace on Centos 7 2022-03-18 14:06:40 -07:00
Makefile.am Simplify and document OpenZFS library dependencies 2021-10-07 11:31:26 -06:00