Files
mirror_zfs/lib/libzfs
Brian Behlendorf 1574c73bd0 OpenZFS 8641 - "zpool clear" and "zinject" don't work on "spare" or "replacing" vdevs
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.

Authored by: Alan Somers <asomers@gmail.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Melikov <mail@gmelikov.ru>
Approved by: Gordon Ross <gwr@nexenta.com>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>

OpenZFS-issue: https://www.illumos.org/issues/8641
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/9a36801382
Closes #7060
2018-01-19 09:20:58 -08:00
..
2014-08-28 07:59:43 -07:00
2014-08-28 07:59:43 -07:00
2017-10-11 16:54:48 -04:00
2017-11-18 14:08:00 -08:00
2017-09-25 10:32:34 -07:00
2017-10-11 16:54:48 -04:00
2017-11-15 17:27:01 -08:00
2017-09-18 17:06:40 -07:00
2014-08-28 07:59:43 -07:00