Subject: Re: Single file system (buf) read size
To: Ignatios Souvatzis <is@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 03/14/2001 10:08:47
On Tue, Mar 13, 2001 at 09:51:30PM +0100, Ignatios Souvatzis wrote:
> I wonder... wasn't there some driver specific routine to further limit the 
> global setting?

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.

I think it should be possible to remplace the MAXPHYS constant with a
per-device variable (in struct dkdriver() maybe) and get ride of the
foominphys() function at all.
I did (partially) such a thing once but I'm not sure how it'll work now with
UBC.

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