zfs/module
Tony Hutter 91fe213823 Rescan enclosure sysfs path on import
When you create a pool, zfs writes vd->vdev_enc_sysfs_path with the
enclosure sysfs path to the fault LEDs, like:

    vdev_enc_sysfs_path = /sys/class/enclosure/0:0:1:0/SLOT8

However, this enclosure path doesn't get updated on successive imports
even if enclosure path to the disk changes.  This patch fixes the issue.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #11950
Closes #12095
2021-11-12 16:31:55 -08:00
..
avl Links in Source Files 2020-09-03 16:17:18 -07:00
icp Use fallthrough macro 2021-11-12 15:24:36 -08:00
lua Use fallthrough macro 2021-11-12 15:24:36 -08:00
nvpair Update `checkstyle` workflow env to ubuntu-20.04 2021-11-12 16:31:55 -08:00
os Update `checkstyle` workflow env to ubuntu-20.04 2021-11-12 16:31:55 -08:00
spl Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
unicode Update `checkstyle` workflow env to ubuntu-20.04 2021-11-12 16:31:55 -08:00
zcommon Fix AVX512BW Fletcher code on AVX512-but-not-BW machines 2021-06-23 13:22:14 -07:00
zfs Rescan enclosure sysfs path on import 2021-11-12 16:31:55 -08:00
zstd Fix cross-endian interoperability of zstd 2021-11-12 15:24:36 -08:00
.gitignore Cleanup linux module kbuild files 2020-06-10 09:24:15 -07:00
Kbuild.in Add zstd support to zfs 2020-08-20 10:30:06 -07:00
Makefile.bsd Restore FreeBSD resource usage accounting 2021-03-05 12:50:32 -08:00
Makefile.in Update `checkstyle` workflow env to ubuntu-20.04 2021-11-12 16:31:55 -08:00