Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2015 10:08:50 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r281302 - stable/9/sys/geom
Message-ID:  <201504091008.t39A8ob0011438@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Apr  9 10:08:49 2015
New Revision: 281302
URL: https://svnweb.freebsd.org/changeset/base/281302

Log:
  MFC r280686: Report withered providers as such alike to GEOMs.

Modified:
  stable/9/sys/geom/geom_dump.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)

Modified: stable/9/sys/geom/geom_dump.c
==============================================================================
--- stable/9/sys/geom/geom_dump.c	Thu Apr  9 10:08:11 2015	(r281301)
+++ stable/9/sys/geom/geom_dump.c	Thu Apr  9 10:08:49 2015	(r281302)
@@ -214,7 +214,9 @@ g_conf_provider(struct sbuf *sb, struct 
 	sbuf_printf(sb, "\t  <sectorsize>%u</sectorsize>\n", pp->sectorsize);
 	sbuf_printf(sb, "\t  <stripesize>%u</stripesize>\n", pp->stripesize);
 	sbuf_printf(sb, "\t  <stripeoffset>%u</stripeoffset>\n", pp->stripeoffset);
-	if (pp->geom->flags & G_GEOM_WITHER)
+	if (pp->flags & G_PF_WITHER)
+		sbuf_printf(sb, "\t  <wither/>\n");
+	else if (pp->geom->flags & G_GEOM_WITHER)
 		;
 	else if (pp->geom->dumpconf != NULL) {
 		sbuf_printf(sb, "\t  <config>\n");



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