Subject: Re: Single file system (buf) read size
To: Jason R Thorpe , Ignatios Souvatzis <is@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 03/14/2001 18:29:03
On Wed, Mar 14, 2001 at 09:07:06AM -0800, Jason R Thorpe wrote:
> On Wed, Mar 14, 2001 at 10:08:47AM +0100, Manuel Bouyer wrote:
> 
>  > foominphys(). But it's only called for raw disk I/O I think. Block I/O
>  > (especially filesystems) take another path, and are limited only by
>  > the MAXPHYS constant.
> 
> No, they're limited by MAXBSIZE.

A yes. But for now MAXPHYS == MAXBSIZE.
Not sure what would be the best. Keep MAXBSIZE as constant (enventually
bump it a bit) and use min(MAXBSIZE,dev->maxphys), or drop MAXBSIZE
and use only the underlying device's limit ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--