--9l24NVCWtSuIVIod
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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");
>=20
> 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.
--=20
Pawel Jakub Dawidek http://www.wheelsystems.com
pjd@FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
--9l24NVCWtSuIVIod
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
iEYEARECAAYFAkwOGXQACgkQForvXbEpPzSitACg6K/Ov2//Tiq5bJbfjubQi83p
AJIAoMTMwOaEIMPw0v1AkJCGqD4KW/s4
=sp6L
-----END PGP SIGNATURE-----
--9l24NVCWtSuIVIod--