dsl_pool.h revision f7170741490edba9d1d9c697c177c887172bc741
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * CDDL HEADER START
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * The contents of this file are subject to the terms of the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Common Development and Distribution License (the "License").
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * You may not use this file except in compliance with the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * See the License for the specific language governing permissions
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * and limitations under the License.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * When distributing Covered Code, include this CDDL HEADER in each
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * If applicable, add the following below this CDDL HEADER, with the
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * fields enclosed by brackets "[]" replaced with your own identifying
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * information: Portions Copyright [yyyy] [name of copyright owner]
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * CDDL HEADER END
9512fe850e98fdd448c638ca63fdd92a8a510255ahl * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
bd0f52d78d701efcad2c460df61b45677d041c35jhaslam * Copyright (c) 2012 by Delphix. All rights reserved.
9512fe850e98fdd448c638ca63fdd92a8a510255ahlextern "C" {
9512fe850e98fdd448c638ca63fdd92a8a510255ahl/* These macros are for indexing into the zfs_all_blkstats_t. */
9512fe850e98fdd448c638ca63fdd92a8a510255ahl#define DMU_OT_OTHER DMU_OT_NUMTYPES /* place holder for DMU_OT() types */
9512fe850e98fdd448c638ca63fdd92a8a510255ahltypedef struct zfs_blkstat {
9512fe850e98fdd448c638ca63fdd92a8a510255ahltypedef struct zfs_all_blkstats {
9512fe850e98fdd448c638ca63fdd92a8a510255ahl zfs_blkstat_t zab_type[DN_MAX_LEVELS + 1][DMU_OT_TOTAL + 1];
9512fe850e98fdd448c638ca63fdd92a8a510255ahltypedef struct dsl_pool {
9512fe850e98fdd448c638ca63fdd92a8a510255ahl /* Immutable */
9512fe850e98fdd448c638ca63fdd92a8a510255ahl /* No lock needed - sync context only */
} dsl_pool_t;
#ifdef __cplusplus