[Bug 264234] "zpool get autotrim" displays propety as default regardless of value

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Jul 2023 09:22:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264234

--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=b36f469a15ecf508a2fdc2b58a76f0f2b4a0b88d

commit b36f469a15ecf508a2fdc2b58a76f0f2b4a0b88d
Author:     Yuri Pankov <yuripv@FreeBSD.org>
AuthorDate: 2023-07-17 09:12:53 +0000
Commit:     Yuri Pankov <yuripv@FreeBSD.org>
CommitDate: 2023-07-18 09:20:11 +0000

    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

 sys/conf/kern.pre.mk                            | 3 +--
 sys/contrib/openzfs/include/sys/spa.h           | 6 ------
 sys/contrib/openzfs/module/zcommon/zpool_prop.c | 2 +-
 sys/modules/zfs/Makefile                        | 2 +-
 4 files changed, 3 insertions(+), 10 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.