xref: /onnv-gate/usr/src/lib/libzpool/common/llib-lzpool (revision 11935:538c866aaac6)
1789Sahrens/*
2789Sahrens * CDDL HEADER START
3789Sahrens *
4789Sahrens * The contents of this file are subject to the terms of the
53444Sek110237 * Common Development and Distribution License (the "License").
63444Sek110237 * You may not use this file except in compliance with the License.
7789Sahrens *
8789Sahrens * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9789Sahrens * or http://www.opensolaris.org/os/licensing.
10789Sahrens * See the License for the specific language governing permissions
11789Sahrens * and limitations under the License.
12789Sahrens *
13789Sahrens * When distributing Covered Code, include this CDDL HEADER in each
14789Sahrens * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15789Sahrens * If applicable, add the following below this CDDL HEADER, with the
16789Sahrens * fields enclosed by brackets "[]" replaced with your own identifying
17789Sahrens * information: Portions Copyright [yyyy] [name of copyright owner]
18789Sahrens *
19789Sahrens * CDDL HEADER END
20789Sahrens */
21789Sahrens/*
22*11935SMark.Shellenbaum@Sun.COM * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23789Sahrens * Use is subject to license terms.
24789Sahrens */
25789Sahrens
26789Sahrens/* LINTLIBRARY */
27789Sahrens/* PROTOLIB1 */
28789Sahrens
29789Sahrens#include <sys/zfs_context.h>
30789Sahrens#include <sys/list.h>
31789Sahrens#include <sys/list_impl.h>
32789Sahrens#include <sys/sysmacros.h>
33789Sahrens#include <sys/debug.h>
34789Sahrens#include <sys/dmu_traverse.h>
35789Sahrens#include <sys/dnode.h>
36789Sahrens#include <sys/dsl_prop.h>
378779SMark.Musante@Sun.COM#include <sys/dsl_dataset.h>
38789Sahrens#include <sys/spa.h>
39789Sahrens#include <sys/spa_impl.h>
40789Sahrens#include <sys/space_map.h>
41789Sahrens#include <sys/vdev.h>
42789Sahrens#include <sys/vdev_impl.h>
43789Sahrens#include <sys/zap.h>
44789Sahrens#include <sys/zio.h>
45789Sahrens#include <sys/zio_compress.h>
46789Sahrens#include <sys/zil.h>
47789Sahrens#include <sys/bplist.h>
483444Sek110237#include <sys/zfs_znode.h>
497837SMatthew.Ahrens@Sun.COM#include <sys/arc.h>
5010922SJeff.Bonwick@Sun.COM#include <sys/dbuf.h>
5110922SJeff.Bonwick@Sun.COM#include <sys/zio_checksum.h>
5210922SJeff.Bonwick@Sun.COM#include <sys/ddt.h>
53*11935SMark.Shellenbaum@Sun.COM#include <sys/sa.h>
54*11935SMark.Shellenbaum@Sun.COM#include <sys/zfs_sa.h>
55789Sahrens
565530Sbonwickextern uint64_t metaslab_gang_bang;
579480SGeorge.Wilson@Sun.COMextern uint64_t metaslab_df_alloc_threshold;
58