mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
OpenZFS 5142 - libzfs support raidz root pool (loader project)
Authored by: Toomas Soome <tsoome@me.com> Reviewed by: - George Wilson <george.wilson@delphix.com> Reviewed by: - Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: - Andrew Stormont <andyjstormont@gmail.com> Reviewed by: - Albert Lee <trisk@omniti.com> Approved by: - Robert Mustacchi <rm@joyent.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Ported-by: George Melikov <mail@gmelikov.ru> OpenZFS-issue: https://www.illumos.org/issues/5142 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/d5f26ad Closes #5663
This commit is contained in:
parent
1149ba6478
commit
0a3d2673de
@ -2310,6 +2310,7 @@ vdev_get_physpaths(nvlist_t *nv, char *physpath, size_t phypath_size,
|
|||||||
return (ret);
|
return (ret);
|
||||||
}
|
}
|
||||||
} else if (strcmp(type, VDEV_TYPE_MIRROR) == 0 ||
|
} else if (strcmp(type, VDEV_TYPE_MIRROR) == 0 ||
|
||||||
|
strcmp(type, VDEV_TYPE_RAIDZ) == 0 ||
|
||||||
strcmp(type, VDEV_TYPE_REPLACING) == 0 ||
|
strcmp(type, VDEV_TYPE_REPLACING) == 0 ||
|
||||||
(is_spare = (strcmp(type, VDEV_TYPE_SPARE) == 0))) {
|
(is_spare = (strcmp(type, VDEV_TYPE_SPARE) == 0))) {
|
||||||
nvlist_t **child;
|
nvlist_t **child;
|
||||||
|
Loading…
Reference in New Issue
Block a user