mirror_zfs/cmd/zpool
rob-wing 6f2ffd272c
zpool: do guid-based comparison in is_vdev_cb()
is_vdev_cb() uses string comparison to find a matching vdev and 
will fallback to comparing the guid via a string.  These changes 
drop the string comparison and compare the guids instead.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Signed-off-by: Rob Wing <rob.wing@klarasystems.com>
Co-authored-by: Rob Wing <rob.wing@klarasystems.com>
Sponsored-by: Seagate Technology
Submitted-by: Klara, Inc.
Closes #14311
2023-01-11 15:14:35 -08:00
..
compatibility.d Add compatibility file sets (ZoL 0.6.1, 0.6.4, OpenZFS 2.1) 2021-03-31 09:40:25 -07:00
os Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool.d Workaround broken VDEV_UPATH 2022-05-10 10:14:07 -07:00
Makefile.am Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
zpool_iter.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_main.c zpool: do guid-based comparison in is_vdev_cb() 2023-01-11 15:14:35 -08:00
zpool_util.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_util.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_vdev.c zpool: fix redundancy check after vdev removal 2022-08-04 17:02:57 -07:00