diff options
author | Tony Hutter <[email protected]> | 2021-10-04 12:32:16 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-04 12:32:16 -0700 |
commit | 2a8430a260595a8f01f34bb695e455517cc0ae11 (patch) | |
tree | 4452f11043180bd29b474e3adf4fbc3c1cc4d02b /cmd/zed/zed_log.h | |
parent | aad91df0752580e3e67b72f3e6dc391da69c830f (diff) |
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 <[email protected]>
Signed-off-by: Tony Hutter <[email protected]>
Closes #11950
Closes #12095
Diffstat (limited to 'cmd/zed/zed_log.h')
0 files changed, 0 insertions, 0 deletions