Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 18:52:21 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259131 - head/cddl/contrib/opensolaris/cmd/zpool
Message-ID:  <201312091852.rB9IqLp1038413@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Mon Dec  9 18:52:21 2013
New Revision: 259131
URL: http://svnweb.freebsd.org/changeset/base/259131

Log:
  Don't panic when we get ZPOOL_STATUS_NON_NATIVE_ASHIFT
  while listing importable pools.
  
  MFC after:	3 days

Modified:
  head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c

Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
==============================================================================
--- head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Mon Dec  9 15:28:34 2013	(r259130)
+++ head/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c	Mon Dec  9 18:52:21 2013	(r259131)
@@ -1702,6 +1702,12 @@ show_import(nvlist_t *config)
 		    "resilvered.\n"));
 		break;
 
+	case ZPOOL_STATUS_NON_NATIVE_ASHIFT:
+		(void) printf(gettext("status: One or more devices were "
+		    "configured to use a non-native block size.\n"
+		    "\tExpect reduced performance.\n"));
+		break;
+
 	default:
 		/*
 		 * No other status can be seen when importing pools.



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