[Bug 265424] vfs.zfs.arc_min ignored in /boot/loader.conf but works in /etc/sysctl.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Jul 2022 15:43:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265424

--- Comment #2 from Jonathan Vasquez <jon@xyinn.org> ---
Hey Graham,

Thanks for that. I haven't tested it but even if that did end up working for
/boot/loader.conf, it's still really unintuitive given that "arc_min" and
"arc_max" are valid options as well. Of course one is under 'vfs.zfs' (more top
level) and one is under 'vfs.zfs.arc' as you mentioned.

root@leslie:~ # sysctl vfs.zfs.arc.min
vfs.zfs.arc.min: 4294967296
root@leslie:~ # sysctl vfs.zfs.arc.max
vfs.zfs.arc.max: 8589934592
root@leslie:~ # sysctl vfs.zfs.arc_min
vfs.zfs.arc_min: 4294967296
root@leslie:~ # sysctl vfs.zfs.arc_max
vfs.zfs.arc_max: 8589934592

Any reason for the discrepancy? Is it a backwards compatibility reason? From
the documentation, it seems the options mentioned (thus a reader would assume
it also may be the recommended method to access that property) is with the
underscore (arc_min, arc_max)?

- Jonathan

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