[Bug 233284] ZFS FAQ page mentions wrong TRIM sysctl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 18 01:53:50 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233284

            Bug ID: 233284
           Summary: ZFS FAQ page mentions wrong TRIM sysctl
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Documentation
          Assignee: doc at FreeBSD.org
          Reporter: bcran at FreeBSD.org

The FAQ page for ZFS
(https://www.freebsd.org/doc/en/books/faq/all-about-zfs.html#idp59540680) says:

ZFS TRIM is enabled by default, and can be turned off by adding this line to
/etc/sysctl.conf:

vfs.zfs.trim_disable=1

However, it looks like it was renamed in 2013 from trim_disable to
trim.enabled:


commit 61d529d085e6782aaaceec7e1beed1de853df302
Author: smh <smh at FreeBSD.org>
Date:   Fri Apr 26 11:24:20 2013 +0000

    Changed ZFS TRIM sysctl from vfs.zfs.trim_disable -> vfs.zfs.trim.enabled
    Enabled ZFS TRIM by default

    Reviewed by:    pjd (mentor)
    Approved by:    pjd (mentor)
    MFC after:      2 weeks

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


More information about the freebsd-doc mailing list