Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 18:52:49 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r316933 - vendor/illumos/dist/lib/libzfs/common
Message-ID:  <201704141852.v3EIqn87084646@repo.freebsd.org>

index | next in thread | raw e-mail

Author: avg
Date: Fri Apr 14 18:52:48 2017
New Revision: 316933
URL: https://svnweb.freebsd.org/changeset/base/316933

Log:
  5142 libzfs support raidz root pool (loader project)
  
  illumos/illumos-gate@d5f26ad8122c3762fb16413a17bfb497db86a782
  https://github.com/illumos/illumos-gate/commit/d5f26ad8122c3762fb16413a17bfb497db86a782
  
  https://www.illumos.org/issues/5142
    the current libzfs only allows simple disk and mirror setup for boot pool, as
    loader does support booting from raidz, this feature will remove raidz
    restriction from boot pool setup.
  
  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>
  Author: Toomas Soome <tsoome@me.com>

Modified:
  vendor/illumos/dist/lib/libzfs/common/libzfs_pool.c

Modified: vendor/illumos/dist/lib/libzfs/common/libzfs_pool.c
==============================================================================
--- vendor/illumos/dist/lib/libzfs/common/libzfs_pool.c	Fri Apr 14 18:51:16 2017	(r316932)
+++ vendor/illumos/dist/lib/libzfs/common/libzfs_pool.c	Fri Apr 14 18:52:48 2017	(r316933)
@@ -2267,6 +2267,7 @@ vdev_get_physpaths(nvlist_t *nv, char *p
 				return (ret);
 		}
 	} else if (strcmp(type, VDEV_TYPE_MIRROR) == 0 ||
+	    strcmp(type, VDEV_TYPE_RAIDZ) == 0 ||
 	    strcmp(type, VDEV_TYPE_REPLACING) == 0 ||
 	    (is_spare = (strcmp(type, VDEV_TYPE_SPARE) == 0))) {
 		nvlist_t **child;


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704141852.v3EIqn87084646>