Subject: Re: Single file system (buf) read size
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 03/14/2001 09:40:10
On Wed, Mar 14, 2001 at 06:29:03PM +0100, Manuel Bouyer wrote:
> 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 ?
Eventually, I think we should be limited only by the device. MAXBSIZE
is really due to lameness in the traditional buffer cache design, and
MAXPHYS is really just to put an upper-bound on resource usage (from what
I can tell, anyhow...)
--
-- Jason R. Thorpe <thorpej@zembu.com>