]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
set autotrim default to 'off' everywhere
authorYuri Pankov <113725409+yuripv@users.noreply.github.com>
Thu, 20 Jul 2023 16:06:55 +0000 (18:06 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2023 16:06:55 +0000 (09:06 -0700)
commit8beabfd3bfbc09d7c05faa9c2e61361adb71d425
tree8019a4d447d946a5f7dc16f0543e3971bd072d3c
parentd3d63cac4d318da0a7dc23dc5e89366ad940febe
set autotrim default to 'off' everywhere

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').

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Yuri Pankov <yuripv@FreeBSD.org>
Closes #15079
include/sys/spa.h
module/zcommon/zpool_prop.c