Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2014 12:34:15 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Steven Hartland <killing@multiplay.co.uk>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Will Andrews <will@freebsd.org>
Subject:   Re: svn commit: r271788 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <11362806.9nSfhFyLDg@ralph.baldwin.cx>
In-Reply-To: <5783417ED470465B9C816FCA02B3690D@multiplay.co.uk>
References:  <201409181655.s8IGtgft042984@svn.freebsd.org> <5783417ED470465B9C816FCA02B3690D@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11362806.9nSfhFyLDg>