Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 00:06:08 +0600
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>, Poul-Henning Kamp <phk@critter.freebsd.dk>, arch@FreeBSD.ORG
Subject:   Re: request for review
Message-ID:  <20020116000607.B10938@iclub.nsu.ru>
In-Reply-To: <20020116035325.T2884-100000@gamplex.bde.org>; from bde@zeta.org.au on Wed, Jan 16, 2002 at 04:15:43AM %2B1100
References:  <200201151434.g0FEYlK72569@cwsys.cwsent.com> <20020116035325.T2884-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!

On Wed, Jan 16, 2002 at 04:15:43AM +1100, Bruce Evans wrote:

> This patch also makes FreeBSD almost compatible with FreeBSD (versions
> 1, 2, 3) that is.  Old versions vn_stat() simply passed back the
> va_blocksize set by VOP_GETTATTR().

NetBSD/OpenBSD do exactly the same

> > > I think it is bogus for devices other than disks to flout a
> > > va_blocksize, but I am on the other hand not sure what the
> > > relevant (if any) standards say.
> 
> POSIX says almost the same as the quote from www.opengroup.org in the
> sources: "A file system-specific [sic] preferred I/O block size for
> this object".  0 is wrong except possibly for /dev/null since it is
> a very bad I/O size.

do you think we should remove setting sb->st_blksize to 0 in vn_stat() at all?

/fjoe

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?20020116000607.B10938>