From fa94a07fd0519b8abfd871ad8fe60e6bebe1e2bb Mon Sep 17 00:00:00 2001 From: brendan Date: Fri, 9 Nov 2007 21:33:30 -0800 Subject: PSARC 2007/618 ZFS L2ARC 6536054 second tier ("external") ARC --- usr/src/lib/libdiskmgt/common/inuse_zpool.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr/src/lib/libdiskmgt/common/inuse_zpool.c') diff --git a/usr/src/lib/libdiskmgt/common/inuse_zpool.c b/usr/src/lib/libdiskmgt/common/inuse_zpool.c index a7cf203a2f..e4f9ab5a3b 100644 --- a/usr/src/lib/libdiskmgt/common/inuse_zpool.c +++ b/usr/src/lib/libdiskmgt/common/inuse_zpool.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -102,6 +102,9 @@ inuse_zpool_common(char *slice, nvlist_t *attrs, int *errp, char *type) } else if (state == POOL_STATE_SPARE) { found = 1; type = DM_USE_SPARE_ZPOOL; + } else if (state == POOL_STATE_L2CACHE) { + found = 1; + type = DM_USE_L2CACHE_ZPOOL; } } else { found = 1; -- cgit v1.2.3