svn commit: r271788 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

John Baldwin jhb at freebsd.org
Fri Sep 19 17:32:22 UTC 2014


On Thursday, September 18, 2014 06:37:28 PM Steven Hartland wrote:
> You don't need a seperate TUNABLE_INT declations any more since the
> excellent SYSCTL refactor.

That is my fault.  I wasn't certain if SYSCTL_PROC() would work correctly when 
Will asked me on IRC, but it seems it does so long as the tunable type is one 
it knows how to parse (e.g. CTLTYPE_INT).  If your sysctl wants a "blob" 
(CTLTYPE_OPAQUE or the like), then you still need your own tunable fetching 
handler.

-- 
John Baldwin


More information about the svn-src-head mailing list