Subject: Re: New device buffer queue strategy
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-perform
Date: 09/04/2002 13:19:15
On Wed, Sep 04, 2002 at 10:07:32PM +0200, Manuel Bouyer wrote:

 > MAXPHYS has to stay probably, as a global variable. It should represent
 > the max transfert possible for the architecture (I suspect there are such
 > limits on some), not the lower of what all drivers can do as it is now.
 > Then drivers can clamp it down if needed.
 > Making this MAXPHYS a bus property would be a second step I guess, and
 > won't probably be done on all ports at once.
 > 
 > For example on i386 we could bump MAXPHYS to 256k if the IDE drivers could
 > tell that they don't want transfers larger than 64k. This would help for
 > modern SCSI adapters.

We already "sort of" have a way to do this ... the minphys entry point.

The problem is that only physio uses minphys.  The file system does not.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>