mirror_zfs/tests/zfs-tests/tests
Rob Norris 131df3bbf2
vdev_to_nvlist_iter: ignore draid parameters when matching names (#17228)
Various tools will display draid vdev names with parameters embedded in
them, but would not accept them as valid vdev names when looking them
up, making it difficult to build pipelines involving draid vdevs.

This commit makes it so that if a full draid name is offered for match,
it gets truncated at the first ':' character.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.

Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
2025-04-14 17:10:48 -07:00
..
functional vdev_to_nvlist_iter: ignore draid parameters when matching names (#17228) 2025-04-14 17:10:48 -07:00
perf SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
Makefile.am vdev_to_nvlist_iter: ignore draid parameters when matching names (#17228) 2025-04-14 17:10:48 -07:00