llib-lzpool revision ad135b5d644628e791c3188a6ecbd9c257961ef8
3955N/A/*
3955N/A * CDDL HEADER START
402N/A *
402N/A * The contents of this file are subject to the terms of the
402N/A * Common Development and Distribution License (the "License").
402N/A * You may not use this file except in compliance with the License.
402N/A *
402N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
402N/A * or http://www.opensolaris.org/os/licensing.
402N/A * See the License for the specific language governing permissions
402N/A * and limitations under the License.
3955N/A *
402N/A * When distributing Covered Code, include this CDDL HEADER in each
402N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
402N/A * If applicable, add the following below this CDDL HEADER, with the
402N/A * fields enclosed by brackets "[]" replaced with your own identifying
3955N/A * information: Portions Copyright [yyyy] [name of copyright owner]
3955N/A *
3955N/A * CDDL HEADER END
3955N/A */
4496N/A/*
3955N/A * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
3955N/A * Use is subject to license terms.
402N/A */
402N/A
402N/A/*
402N/A * Copyright (c) 2012 by Delphix. All rights reserved.
402N/A */
402N/A
402N/A/* LINTLIBRARY */
402N/A/* PROTOLIB1 */
3955N/A
402N/A#include <sys/zfs_context.h>
402N/A#include <sys/list.h>
402N/A#include <sys/list_impl.h>
402N/A#include <sys/sysmacros.h>
402N/A#include <sys/debug.h>
402N/A#include <sys/dmu_traverse.h>
402N/A#include <sys/dnode.h>
402N/A#include <sys/dsl_prop.h>
#include <sys/dsl_dataset.h>
#include <sys/spa.h>
#include <sys/spa_impl.h>
#include <sys/space_map.h>
#include <sys/vdev.h>
#include <sys/vdev_impl.h>
#include <sys/zap.h>
#include <sys/zio.h>
#include <sys/zio_compress.h>
#include <sys/zil.h>
#include <sys/bplist.h>
#include <sys/zfs_znode.h>
#include <sys/arc.h>
#include <sys/dbuf.h>
#include <sys/zio_checksum.h>
#include <sys/ddt.h>
#include <sys/sa.h>
#include <sys/zfs_sa.h>
#include <sys/zfeature.h>
extern uint64_t metaslab_gang_bang;
extern uint64_t metaslab_df_alloc_threshold;
extern boolean_t zfeature_checks_disable;