Don't panic when we get ZPOOL_STATUS_NON_NATIVE_ASHIFT

while listing importable pools.

MFC after:	3 days
This commit is contained in:
delphij 2013-12-09 18:52:21 +00:00
parent cf8df0ba08
commit aee9275df5

View File

@ -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.