mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05:00
Notable upstream pull request merges:
#15024 Add missed DMU_PROJECTUSED_OBJECT prefetch
#15029 Do not request data L1 buffers on scan prefetch
#15036 FreeBSD: catch up to __FreeBSD_version 1400093
#15039 Fix raw receive with different indirect block size
#15047 FreeBSD: Fix build on stable/13 after 1302506
#15049 Fix the ZFS checksum error histograms with larger record sizes
#15052 Reduce bloat in ereport.fs.zfs.checksum events
#15056 Avoid extra snprintf() in dsl_deadlist_merge()
#15061 Ignore pool ashift property during vdev attachment
#15063 Don't panic if setting vdev properties is unsupported for this
vdev type
#15067 spa_min_alloc should be GCD, not min
#15071 Add explicit prefetches to bpobj_iterate()
#15072 Adjust prefetch parameters
#15079 set autotrim default to 'off' everywhere
#15080 ZIL: Fix config lock deadlock
#15088 metaslab: tuneable to better control force ganging
#15096 Avoid waiting in dmu_sync_late_arrival()
#15097 BRT should return EOPNOTSUPP
#15103 Remove zl_issuer_lock from zil_suspend()
#15107 Remove fastwrite mechanism
#15113 libzfs: sendrecv: send_progress_thread: handle SIGINFO/SIGUSR1
#15122 ZIL: Second attempt to reduce scope of zl_issuer_lock
#15129 zpool_vdev_remove() should handle EALREADY error return
#15132 ZIL: Replay blocks without next block pointer
#15148 zfs_clone_range should return descriptive error codes
#15153 ZIL: Avoid dbuf_read() before dmu_sync()
#15161 Make zoned/jailed zfsprops(7) make more sense
#15172 copy_file_range: fix fallback when source create on same txg
#15180 Update outdated assertion from zio_write_compress
#15216 Relax error reporting in zpool import and zpool split
#15227 ZIL: Tune some assertions
#15228 ZIL: Revert zl_lock scope reduction
#15233 ZIL: Change ZIOs issue order
Obtained from: OpenZFS
OpenZFS commit: 32949f2560
Approved by: re (gjb)
107 lines
2.5 KiB
Makefile
107 lines
2.5 KiB
Makefile
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/module/icp
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/module/zcommon
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs/os/freebsd
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libshare
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/include
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/module/zstd
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/module/zstd/lib
|
|
|
|
PACKAGE= zfs
|
|
LIB= zfs
|
|
LIBADD= \
|
|
avl \
|
|
bsdxml \
|
|
crypto \
|
|
geom \
|
|
m \
|
|
md \
|
|
nvpair \
|
|
pthread \
|
|
rt \
|
|
umem \
|
|
util \
|
|
uutil \
|
|
z \
|
|
zfs_core \
|
|
zutil
|
|
|
|
INCS= libzfs.h
|
|
USER_C = \
|
|
libzfs_changelist.c \
|
|
libzfs_config.c \
|
|
libzfs_crypto.c \
|
|
libzfs_dataset.c \
|
|
libzfs_diff.c \
|
|
libzfs_import.c \
|
|
libzfs_iter.c \
|
|
libzfs_mount.c \
|
|
libzfs_pool.c \
|
|
libzfs_sendrecv.c \
|
|
libzfs_status.c \
|
|
libzfs_util.c
|
|
|
|
# FreeBSD
|
|
USER_C += \
|
|
libzfs_compat.c \
|
|
libzfs_zmount.c
|
|
|
|
# libshare
|
|
USER_C += \
|
|
libshare.c \
|
|
nfs.c \
|
|
os/freebsd/nfs.c \
|
|
os/freebsd/smb.c
|
|
|
|
KERNEL_C = \
|
|
cityhash.c \
|
|
zfeature_common.c \
|
|
zfs_comutil.c \
|
|
zfs_deleg.c \
|
|
zfs_fletcher.c \
|
|
zfs_fletcher_superscalar.c \
|
|
zfs_fletcher_superscalar4.c \
|
|
zfs_namecheck.c \
|
|
zfs_prop.c \
|
|
zpool_prop.c \
|
|
zprop_common.c
|
|
|
|
|
|
ARCH_C =
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
|
ARCH_C += zfs_fletcher_intel.c \
|
|
zfs_fletcher_sse.c
|
|
CFLAGS += -DHAVE_SSE2
|
|
.endif
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
ARCH_C += zfs_fletcher_avx512.c
|
|
CFLAGS+= -DHAVE_AVX2 -DHAVE_AVX -D__x86_64 -DHAVE_AVX512F
|
|
.endif
|
|
.if ${MACHINE_CPUARCH} == "aarch64"
|
|
ARCH_C += zfs_fletcher_aarch64_neon.c
|
|
.endif
|
|
|
|
SRCS= $(USER_C) $(KERNEL_C) $(ARCH_C)
|
|
|
|
WARNS?= 2
|
|
SHLIB_MAJOR= 4
|
|
CSTD= c99
|
|
CFLAGS+= -DIN_BASE
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libshare
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
|
|
CFLAGS+= -I${SRCTOP}/sys
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include
|
|
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
|
CFLAGS+= -DHAVE_ISSETUGID
|
|
CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
|
|
CFLAGS+= -DSYSCONFDIR=\"/etc\"
|
|
CFLAGS+= -DPKGDATADIR=\"/usr/share/zfs\"
|
|
|
|
|
|
.include <bsd.lib.mk>
|