diff options
author | brendan <none@none> | 2007-11-09 21:33:30 -0800 |
---|---|---|
committer | brendan <none@none> | 2007-11-09 21:33:30 -0800 |
commit | fa94a07fd0519b8abfd871ad8fe60e6bebe1e2bb (patch) | |
tree | 1c594a9272fa03552a1cca3328b7820b409a2563 /usr/src/lib/libdiskmgt/common/inuse_zpool.c | |
parent | 380789fc80376bd1573770361cb177a08c7e3524 (diff) | |
download | illumos-joyent-fa94a07fd0519b8abfd871ad8fe60e6bebe1e2bb.tar.gz |
PSARC 2007/618 ZFS L2ARC
6536054 second tier ("external") ARC
Diffstat (limited to 'usr/src/lib/libdiskmgt/common/inuse_zpool.c')
-rw-r--r-- | usr/src/lib/libdiskmgt/common/inuse_zpool.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |