Files
mirror_zfs/module/zfs
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
..
2021-11-12 15:24:36 -08:00
2020-08-20 10:30:06 -07:00
2019-07-26 10:54:14 -07:00
2020-07-29 16:35:33 -07:00
2020-07-29 16:35:33 -07:00
2019-06-19 09:48:12 -07:00
2020-08-17 15:25:37 -07:00
2019-12-03 09:51:44 -08:00
2020-06-18 12:21:25 -07:00
2020-11-11 11:03:24 -08:00
2020-08-20 10:30:06 -07:00
2020-06-18 12:20:38 -07:00
2021-11-12 15:24:36 -08:00
2020-09-09 10:25:59 -07:00
2020-06-18 12:21:25 -07:00
2021-09-22 15:19:08 -07:00
2020-06-18 12:21:25 -07:00
2017-10-11 16:54:48 -04:00
2020-06-18 12:21:25 -07:00
2019-06-19 09:48:12 -07:00
2020-07-29 16:35:33 -07:00
2020-07-29 16:35:33 -07:00
2020-08-27 16:06:52 -07:00
2020-06-18 12:21:25 -07:00
2020-06-18 12:21:25 -07:00
2020-06-18 12:21:25 -07:00
2019-09-02 17:56:41 -07:00
2021-11-12 15:24:36 -08:00
2019-10-09 10:36:03 -07:00
2021-11-12 15:24:36 -08:00
2021-11-12 15:24:36 -08:00
2020-09-09 10:25:59 -07:00
2021-11-12 16:31:55 -08:00
2020-07-29 16:35:33 -07:00
2020-06-18 12:21:25 -07:00
2019-09-02 17:56:41 -07:00
2020-10-16 12:55:56 -07:00
2020-06-18 12:20:38 -07:00
2021-11-12 15:24:36 -08:00
2020-06-18 12:20:38 -07:00
2021-11-12 15:24:36 -08:00
2020-06-18 12:21:25 -07:00
2020-06-18 12:21:18 -07:00
2020-09-09 10:21:16 -07:00