]> git.proxmox.com Git - mirror_zfs.git/commit
Add enumerated vdev names to 'zpool iostat -v' and 'zpool list -v'
authorAkash B <akash-b@hpe.com>
Thu, 3 Feb 2022 22:29:29 +0000 (03:59 +0530)
committerGitHub <noreply@github.com>
Thu, 3 Feb 2022 22:29:29 +0000 (14:29 -0800)
commit7b468ed2d81ec7fe68358af9467b8704420fd6b9
tree16a8620f2db0c20e874896f7da0eadd41134bf20
parentf3b08dfd7f32ccb466e0a55a446948d6c07e497a
Add enumerated vdev names to 'zpool iostat -v' and 'zpool list -v'

This commit adds enumerated names to disambiguate between the
different vdevs. Previously only 'zpool status' showed enumerated
vdev names, now 'zpool list -v' and 'zpool iostat -v' also shows
the enumerated vdev names.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com>
Signed-off-by: Akash B <akash-b@hpe.com>
Closes #12510
Closes #13031
cmd/zpool/zpool_main.c
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/tests/functional/redundancy/redundancy.kshlib