Deleted Added
full compact
zfeature_common.c (268075) zfeature_common.c (268126)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 9 unchanged lines hidden (view full) ---

18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright (c) 2013 by Delphix. All rights reserved.
24 * Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
25 * Copyright (c) 2013, Joyent, Inc. All rights reserved.
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 9 unchanged lines hidden (view full) ---

18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright (c) 2013 by Delphix. All rights reserved.
24 * Copyright (c) 2013 by Saso Kiselkov. All rights reserved.
25 * Copyright (c) 2013, Joyent, Inc. All rights reserved.
26 * Copyright (c) 2014, Nexenta Systems, Inc. All rights reserved.
26 */
27
28#ifdef _KERNEL
29#include <sys/systm.h>
30#else
31#include <errno.h>
32#include <string.h>
33#endif

--- 129 unchanged lines hidden (view full) ---

163 zfeature_register(SPA_FEATURE_EMPTY_BPOBJ,
164 "com.delphix:empty_bpobj", "empty_bpobj",
165 "Snapshots use less space.", B_TRUE, B_FALSE,
166 B_FALSE, NULL);
167
168 zfeature_register(SPA_FEATURE_LZ4_COMPRESS,
169 "org.illumos:lz4_compress", "lz4_compress",
170 "LZ4 compression algorithm support.", B_FALSE, B_FALSE,
27 */
28
29#ifdef _KERNEL
30#include <sys/systm.h>
31#else
32#include <errno.h>
33#include <string.h>
34#endif

--- 129 unchanged lines hidden (view full) ---

164 zfeature_register(SPA_FEATURE_EMPTY_BPOBJ,
165 "com.delphix:empty_bpobj", "empty_bpobj",
166 "Snapshots use less space.", B_TRUE, B_FALSE,
167 B_FALSE, NULL);
168
169 zfeature_register(SPA_FEATURE_LZ4_COMPRESS,
170 "org.illumos:lz4_compress", "lz4_compress",
171 "LZ4 compression algorithm support.", B_FALSE, B_FALSE,
171 B_FALSE, NULL);
172 B_TRUE, NULL);
172
173 zfeature_register(SPA_FEATURE_MULTI_VDEV_CRASH_DUMP,
174 "com.joyent:multi_vdev_crash_dump", "multi_vdev_crash_dump",
175 "Crash dumps to multiple vdev pools.", B_FALSE, B_FALSE,
176 B_FALSE, NULL);
177
178 zfeature_register(SPA_FEATURE_SPACEMAP_HISTOGRAM,
179 "com.delphix:spacemap_histogram", "spacemap_histogram",

--- 43 unchanged lines hidden ---
173
174 zfeature_register(SPA_FEATURE_MULTI_VDEV_CRASH_DUMP,
175 "com.joyent:multi_vdev_crash_dump", "multi_vdev_crash_dump",
176 "Crash dumps to multiple vdev pools.", B_FALSE, B_FALSE,
177 B_FALSE, NULL);
178
179 zfeature_register(SPA_FEATURE_SPACEMAP_HISTOGRAM,
180 "com.delphix:spacemap_histogram", "spacemap_histogram",

--- 43 unchanged lines hidden ---