From owner-freebsd-arch Tue Jan 15 14:48:58 2002 Delivered-To: freebsd-arch@freebsd.org Received: from camelot.spsl.nsc.ru (camelot.spsl.nsc.ru [194.226.174.80]) by hub.freebsd.org (Postfix) with ESMTP id 53F2437B404 for ; Tue, 15 Jan 2002 14:48:27 -0800 (PST) Received: (from root@localhost) by camelot.spsl.nsc.ru (8.11.6/8.11.6) id g0FMmE394699 for arch@FreeBSD.ORG.AVP; Wed, 16 Jan 2002 04:48:14 +0600 (NOVT) (envelope-from fjoe@iclub.nsu.ru) Received: from iclub.nsu.ru (root@iclub.nsu.ru [193.124.222.66]) by camelot.spsl.nsc.ru (8.11.6/8.11.6) with ESMTP id g0FMmBJ94691; Wed, 16 Jan 2002 04:48:11 +0600 (NOVT) (envelope-from fjoe@iclub.nsu.ru) Received: (from fjoe@localhost) by iclub.nsu.ru (8.11.6/8.11.6) id g0FI69u11161; Wed, 16 Jan 2002 00:06:09 +0600 (NS) (envelope-from fjoe) Date: Wed, 16 Jan 2002 00:06:08 +0600 From: Max Khon To: Bruce Evans Cc: Cy Schubert - ITSD Open Systems Group , Poul-Henning Kamp , arch@FreeBSD.ORG Subject: Re: request for review Message-ID: <20020116000607.B10938@iclub.nsu.ru> References: <200201151434.g0FEYlK72569@cwsys.cwsent.com> <20020116035325.T2884-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020116035325.T2884-100000@gamplex.bde.org>; from bde@zeta.org.au on Wed, Jan 16, 2002 at 04:15:43AM +1100 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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