]> git.proxmox.com Git - mirror_zfs.git/commit
Update vdev devid and physpath if changed between imports
authorAmeer Hamza <ahamza@ixsystems.com>
Fri, 26 Jan 2024 22:24:35 +0000 (03:24 +0500)
committerGitHub <noreply@github.com>
Fri, 26 Jan 2024 22:24:35 +0000 (14:24 -0800)
commitaeb33776f5c8262cd6b8630031ee7a952c04b884
tree06f38b1c96cfe0c82aad64c88373d3287a7bb305
parentfb27698cfc7dc595e0fea3fc1d41f826201db8fd
Update vdev devid and physpath if changed between imports

If devid or physpath for a vdev changes between imports, ensure it is
updated to the new value.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #15816
module/zfs/vdev.c