aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/zfs
diff options
context:
space:
mode:
authorYuri Pankov <yuripv@FreeBSD.org>2023-07-17 09:12:53 +0000
committerYuri Pankov <yuripv@FreeBSD.org>2023-07-18 09:20:11 +0000
commitb36f469a15ecf508a2fdc2b58a76f0f2b4a0b88d (patch)
treeec822ff72b1ca878c04b87155c253ed0298d5ee4 /sys/modules/zfs
parent239597e0309d4d8e84c35929513aa4a2470735ad (diff)
zfs: set autotrim default to 'off'
As it turns out having autotrim default to 'on' on FreeBSD never really worked due to mess with defines where userland and kernel module were getting different default values (userland was defaulting to 'off', module was thinking it's 'on'). PR: 264234 Reviewed by: mav (zfs) Differential Revision: https://reviews.freebsd.org/D41056
Diffstat (limited to 'sys/modules/zfs')
-rw-r--r--sys/modules/zfs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/zfs/Makefile b/sys/modules/zfs/Makefile
index 2cfdf06f8f01..8964e461cdd2 100644
--- a/sys/modules/zfs/Makefile
+++ b/sys/modules/zfs/Makefile
@@ -38,7 +38,7 @@ CFLAGS+= -I${.CURDIR}
CFLAGS+= -D__KERNEL__ -DFREEBSD_NAMECACHE -DBUILDING_ZFS \
-DHAVE_UIO_ZEROCOPY -DWITHOUT_NETDUMP -D__KERNEL -D_SYS_CONDVAR_H_ \
- -D_SYS_VMEM_H_ -DIN_FREEBSD_BASE
+ -D_SYS_VMEM_H_
.if ${MACHINE_ARCH} == "amd64"
CFLAGS+= -D__x86_64 -DHAVE_SSE2 -DHAVE_SSSE3 -DHAVE_SSE4_1 -DHAVE_SSE4_2 \