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
47 lines
871 B
Makefile
47 lines
871 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR= drti \
|
|
libavl \
|
|
libctf \
|
|
libdtrace \
|
|
${_libicp} \
|
|
${_libicp_rescue} \
|
|
libnvpair \
|
|
libspl \
|
|
${_libtpool} \
|
|
libumem \
|
|
libuutil \
|
|
${_libzfs_core} \
|
|
${_libzfs} \
|
|
${_libzpool} \
|
|
${_libzutil}
|
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.if ${MK_ZFS} != "no"
|
|
_libzfs_core= libzfs_core
|
|
_libicp= libicp
|
|
_libicp_rescue= libicp_rescue
|
|
_libzfs= libzfs
|
|
_libzutil= libzutil
|
|
.if ${MK_LIBTHR} != "no"
|
|
_libzpool= libzpool
|
|
_libtpool= libtpool
|
|
.endif
|
|
.endif
|
|
|
|
SUBDIR_DEPEND_libctf= libspl
|
|
SUBDIR_DEPEND_libdtrace= libctf
|
|
SUBDIR_DEPEND_libtpool= libspl
|
|
SUBDIR_DEPEND_libuutil= libavl libspl
|
|
SUBDIR_DEPEND_libzfs_core= libnvpair
|
|
SUBDIR_DEPEND_libzfs= libavl libnvpair libumem libuutil libzfs_core libzutil
|
|
SUBDIR_DEPEND_libzpool= libavl libnvpair libumem libicp
|
|
SUBDIR_DEPEND_libzutil= libavl libtpool
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.include <bsd.subdir.mk>
|