remove unused ZPOOL_STATUS_USES_NTNX_SHARED_L2ARC

This commit is contained in:
Christian Schwarz 2022-10-24 12:52:46 +00:00
parent 63f8a472af
commit e6504443f9
2 changed files with 0 additions and 17 deletions

View File

@ -2904,11 +2904,6 @@ show_import(nvlist_t *config, boolean_t report_error)
"\tExpect reduced performance.\n"));
break;
case ZPOOL_STATUS_USES_NTNX_SHARED_L2ARC:
(void) printf_color(ANSI_BOLD,
gettext(" status: The pool has L2ARC devices that will be ignored in favor of the shared L2ARC devices in pool " NTNX_L2ARC_POOL_NAME ".\n"));
break;
default:
/*
* No other status can be seen when importing pools.
@ -3048,9 +3043,6 @@ show_import(nvlist_t *config, boolean_t report_error)
(void) printf(gettext(" action: Set a unique system "
"hostid with the zgenhostid(8) command.\n"));
break;
case ZPOOL_STATUS_USES_NTNX_SHARED_L2ARC:
(void) printf(gettext(" action: The pool's L2ARC devices will be ignored in favor of the shared L2ARC devices in pool " NTNX_L2ARC_POOL_NAME ".\n"));
break;
default:
(void) printf(gettext(" action: The pool cannot be "
"imported due to damaged devices or data.\n"));
@ -8539,10 +8531,6 @@ status_callback(zpool_handle_t *zhp, void *data)
}
break;
case ZPOOL_STATUS_USES_NTNX_SHARED_L2ARC:
(void) printf(gettext("status: The pool has L2ARC devices that will be ignored in favor of the shared L2ARC devices in pool " NTNX_L2ARC_POOL_NAME ".\n"));
break;
default:
/*
* The remaining errors can't actually be generated, yet.

View File

@ -419,11 +419,6 @@ typedef enum {
ZPOOL_STATUS_NON_NATIVE_ASHIFT, /* (e.g. 512e dev with ashift of 9) */
ZPOOL_STATUS_COMPATIBILITY_ERR, /* bad 'compatibility' property */
ZPOOL_STATUS_INCOMPATIBLE_FEAT, /* feature set outside compatibility */
/*
* Pool won't use the given L2ARC because this software version uses
* the Nutanix shared L2ARC.
*/
ZPOOL_STATUS_USES_NTNX_SHARED_L2ARC,
/*
* Finally, the following indicates a healthy pool.