Add "spare" and "replacing" to the list of interior vdev types in
zpool_vdev_is_interior(), alongside the existing "mirror" and "raidz".
This fixes running "zinject -d" and "zpool clear" on spare and replacing
vdevs.
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/465

-- Commit Summary --

  * 8641 "spare" and "replacing" are interior vdevs

-- File Changes --

    M usr/src/lib/libzfs/common/libzfs_pool.c (11)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/465.patch
https://github.com/openzfs/openzfs/pull/465.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/465

------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/Te4f6f8c78b6d2986-M7505212680042294817d2ec2
Powered by Topicbox: https://topicbox.com

Reply via email to