equal
deleted
inserted
replaced
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 /* |
21 /* |
22 * Copyright 2010 Sun Microsystems, Inc. All rights reserved. |
22 * Copyright 2010 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. |
23 * Use is subject to license terms. |
|
24 */ |
|
25 |
|
26 /* |
|
27 * Copyright (c) 2012 by Delphix. All rights reserved. |
24 */ |
28 */ |
25 |
29 |
26 /* LINTLIBRARY */ |
30 /* LINTLIBRARY */ |
27 /* PROTOLIB1 */ |
31 /* PROTOLIB1 */ |
28 |
32 |
50 #include <sys/dbuf.h> |
54 #include <sys/dbuf.h> |
51 #include <sys/zio_checksum.h> |
55 #include <sys/zio_checksum.h> |
52 #include <sys/ddt.h> |
56 #include <sys/ddt.h> |
53 #include <sys/sa.h> |
57 #include <sys/sa.h> |
54 #include <sys/zfs_sa.h> |
58 #include <sys/zfs_sa.h> |
|
59 #include <sys/zfeature.h> |
55 |
60 |
56 extern uint64_t metaslab_gang_bang; |
61 extern uint64_t metaslab_gang_bang; |
57 extern uint64_t metaslab_df_alloc_threshold; |
62 extern uint64_t metaslab_df_alloc_threshold; |
|
63 extern boolean_t zfeature_checks_disable; |