On Tue, Jun 08, 2010 at 02:54:44AM -0700, Jeremy Chadwick wrote:
> SYSCTL_DECL(_vfs_zfs);
> SYSCTL_NODE(_vfs_zfs, OID_AUTO, zio, CTLFLAG_RW, 0, "ZFS ZIO");
> TUNABLE_INT("vfs.zfs.zio.use_uma", &zio_use_uma);
> SYSCTL_INT(_vfs_zfs_zio, OID_AUTO, use_uma, CTLFLAG_RDTUN, &zio_use_uma, 0,
>     "Use uma(9) for ZIO allocations");
> 
> Also note that this tunable does not appear in sysctl -a output; I
> believe this is caused by the first parameter to SYSCTL_INT() being
> incorrect -- should be _vfs_zfs, not _vfs_zfs_zio.  Regardless of
> that, it's still adjustable in loader.conf.

Why? I create vfs.zfs.zio node and create vfs.zfs.zio.use_uma sysctl to
match tunable name.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
p...@freebsd.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Attachment: pgpu2PnW3a0pF.pgp
Description: PGP signature

Reply via email to