Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2009 12:02:12 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Kip Macy <kmacy@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Dmitry Morozovsky <marck@rinet.ru>
Subject:   Re: svn commit: r193878 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <86ljo0wgnv.fsf@ds4.des.no>
In-Reply-To: <3c1674c90906100008i4c632312j32f223b8aca14934@mail.gmail.com> (Kip Macy's message of "Wed, 10 Jun 2009 00:08:43 -0700")
References:  <200906100121.n5A1LWVO089719@svn.freebsd.org> <alpine.BSF.2.00.0906101013480.49870@woozle.rinet.ru> <3c1674c90906092324n58e16154s6800e61752282e42@mail.gmail.com> <alpine.BSF.2.00.0906101058140.49870@woozle.rinet.ru> <3c1674c90906100008i4c632312j32f223b8aca14934@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kip Macy <kmacy@freebsd.org> writes:
> Dmitry Morozovsky <marck@rinet.ru> writes:
> > Hmm, I failed to see how boolean prevent the usage:
> >
> > if arch=3D=3Di386 || memsize < 4G
> > =C2=A0 =C2=A0 =C2=A0 =C2=A0zfs_prefetch=3D0
> > else
> > =C2=A0 =C2=A0 =C2=A0 =C2=A0zfs_prefetch=3D1
> >
> > and admin can flip the switch to non-default position.
> >
> Right, what you're advocating is zfs_prefetch_non_default. Which is
> simpler, but still rather weird.

No, he's advocating zfs_prefetch_enable which is initialized to either 0
or 1 at boot time and can be administratively set to either 0 and 1
regardless of its initial value.  I don't see the problem...

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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