mirror_zfs/cmd
Tony Hutter 9fe2f262aa
zed: Look for NVMe DEVPATH if no ID_BUS
We tried replacing an NVMe drive using autoreplace, only
to see zed reject it with:

zed[27955]: zed_udev_monitor: /dev/nvme5n1 no devid source

This happened because ZED saw that ID_BUS was not set by udev
for the NVMe drive, and thus didn't think it was "real drive".
This commit allows NVMe drives to be autoreplaced even if
ID_BUS is not set.

Reviewed-by: Don Brady <don.brady@intel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #13512 
Closes #13646
2022-07-14 10:19:37 -07:00
..
raidz_test Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zdb Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zed zed: Look for NVMe DEVPATH if no ID_BUS 2022-07-14 10:19:37 -07:00
zfs Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zinject Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_influxdb Enable -Wwrite-strings 2022-06-29 14:08:54 -07:00
zstream Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
arc_summary cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
arcstat.in Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
dbufstat.in Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
fsck.zfs.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
Makefile.am Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
mount_zfs.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_ids_to_path.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zgenhostid.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zhack.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
ztest.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zvol_wait cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00