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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 29 Jun 2023 20:18:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264234

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

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

commit d2a45e9e817ad68f3e163d13404744b8ea9c675b
Author:     Yuri Pankov <yuripv@FreeBSD.org>
AuthorDate: 2023-06-29 18:22:50 +0000
Commit:     Yuri Pankov <yuripv@FreeBSD.org>
CommitDate: 2023-06-29 20:14:18 +0000

    openzfs: use IN_BASE instead of IN_FREEBSD_BASE in spa.h

    Consistently use IN_BASE to allow libzfs to get the same default
    autotrim value as kernel does.

    Note that this does not change the default value itself, rather
    fixing the source of value and the value itself in e.g. zpool get
    output if it was not set explicitly.  (And as a reminder, default
    value of autotrim on FreeBSD is 'on', despite what zpoolprops(7)
    says currently.)

    PR:             264234
    Reviewed by:    imp
    Differential Revision:  https://reviews.freebsd.org/D40075

 sys/contrib/openzfs/include/sys/spa.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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