Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 10:00:06 +0200
From:      Ollivier Robert <roberto@eurocontrol.fr>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        Bruce Evans <bde@zeta.org.au>, Kirk McKusick <mckusick@mckusick.com>, freebsd-arch@FreeBSD.ORG, obrien@FreeBSD.ORG
Subject:   Re: New option for newfs
Message-ID:  <20010921100006.B1829@caerdonn.eurocontrol.fr>
In-Reply-To: <20010921094139.C27714@sunbay.com>; from ru@FreeBSD.ORG on Fri, Sep 21, 2001 at 09:41:39AM %2B0300
References:  <200109201815.f8KIFQh33875@beastie.mckusick.com> <20010921054417.Q70596-100000@delplex.bde.org> <20010921094139.C27714@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Ruslan Ermilov:
> > -#define	DESCPG		22	/* desired fs_cpg */
> > +#define	DESCPG		65536	/* desired fs_cpg ("infinity") */
> > 
> Shouldn't that be INT_MAX?

As the way to find the maxcpg is to iterate from DESCPG down to that
maxcpg, I think that 65536 is enough. No need to go from 2^31-1 down to
something that will seldom be more than 1000 (or even 10000).
-- 
Ollivier ROBERT  -=-  Eurocontrol EEC/ITM  -=-  Ollivier.Robert@eurocontrol.fr
FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan  3 15:52:00 CET 2001

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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