9e5787d228
The primary benefit is maintaining a completely shared code base with the community allowing FreeBSD to receive new features sooner and with less effort. I would advise against doing 'zpool upgrade' or creating indispensable pools using new features until this change has had a month+ to soak. Work on merging FreeBSD support in to what was at the time "ZFS on Linux" began in August 2018. I first publicly proposed transitioning FreeBSD to (new) OpenZFS on December 18th, 2018. FreeBSD support in OpenZFS was finally completed in December 2019. A CFT for downstreaming OpenZFS support in to FreeBSD was first issued on July 8th. All issues that were reported have been addressed or, for a couple of less critical matters there are pull requests in progress with OpenZFS. iXsystems has tested and dogfooded extensively internally. The TrueNAS 12 release is based on OpenZFS with some additional features that have not yet made it upstream. Improvements include: project quotas, encrypted datasets, allocation classes, vectorized raidz, vectorized checksums, various command line improvements, zstd compression. Thanks to those who have helped along the way: Ryan Moeller, Allan Jude, Zack Welch, and many others. Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D25872
30 lines
844 B
C
30 lines
844 B
C
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
#ifndef _SPL_NVLIST_H_
|
|
#define _SPL_NVLIST_H_
|
|
|
|
#ifdef INVARIANTS
|
|
#define ZFS_DEBUG
|
|
#endif
|
|
|
|
#define nvlist_add_nvlist spl_nvlist_add_nvlist
|
|
#define nvlist_add_nvlist_array spl_nvlist_add_nvlist_array
|
|
#define nvlist_add_nvpair spl_nvlist_add_nvpair
|
|
#define nvlist_add_string spl_nvlist_add_string
|
|
#define nvlist_add_string_array spl_nvlist_add_string_array
|
|
#define nvlist_empty spl_nvlist_empty
|
|
#define nvlist_exists spl_nvlist_exists
|
|
#define nvlist_free spl_nvlist_free
|
|
#define nvlist_next_nvpair spl_nvlist_next_nvpair
|
|
#define nvlist_pack spl_nvlist_pack
|
|
#define nvlist_prev_nvpair spl_nvlist_prev_nvpair
|
|
#define nvlist_remove_nvpair spl_nvlist_remove_nvpair
|
|
#define nvlist_size spl_nvlist_size
|
|
#define nvlist_unpack spl_nvlist_unpack
|
|
|
|
#define nvpair_type spl_nvpair_type
|
|
#define nvpair_name spl_nvpair_name
|
|
#endif
|