mirror_zfs/tests/zfs-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
..
callbacks SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
cmd Multiple printf() size fixes (#17199) 2025-04-01 15:27:03 -07:00
include Make ganging redundancy respect redundant_metadata property (#17073) 2025-03-19 15:58:29 -07:00
tests vdev_to_nvlist_iter: ignore draid parameters when matching names (#17228) 2025-04-14 17:10:48 -07:00
.gitignore autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am ZTS: reimplement kstat helper function 2025-01-21 10:12:07 -08:00