*BSD News Article 22833


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!xlink.net!subnet.sub.net!flatlin!bad
From: bad@flatlin.ka.sub.org (Christoph Badura)
Subject: Re: [BUG?] newfs with bsize = 16 kb ?
Date: Tue, 26 Oct 1993 11:38:45 GMT
Message-ID: <CFI5oM.n3u@flatlin.ka.sub.org>
References: <1993Oct23.193511.18122@Informatik.TU-Muenchen.DE> <2agbtr$5v0@Germany.EU.net> <NEWSSERV!STARK!GENE.93Oct25153858@stark.uucp>
Organization: Guru Systems/Funware Department
Lines: 29

In <NEWSSERV!STARK!GENE.93Oct25153858@stark.uucp> newsserv!stark!gene@cs.sunysb.edu (Gene Stark) writes:

>The following comments can be found in the "install" script on the
>FreeBSD gamma filesystem floppy.  I don't know who wrote them or the details
>of why different blocking factors trash the VM system, but this may be an
>indication as to why you are not able to increase the blocking factor of
>your partitions without strange errors.

Different block factors for different partitions on the same disk
worked in 386BSD0.1, I believe.  I think we installed it that way,
but can't check because the box now runs NetBSD.

The answer as to why a blocksize larger than MAXBSIZE trashes system
memory is that in NetBSD0.9 the routines in vfs_bio.c make no attempt
whatsoever to prevent the allocation of a buffer greater than
MAXBSIZE but will not allocate more than MAXBSIZE of memory to the
buffer.

Consider this a bug report. :-)

As to why Mr. Wiserner's system trashes the filesystems one can only
speculate, as he choose not to tell us which version he is running.


-- 
Christoph Badura	bad@flatlin.ka.sub.org		+49 721 606137

The GOTO is back, and not only in the pages of the ACM Forum! The Ollie North
of language commands is turning up ... -- D.Foster, CACM V30#8 p. 659