Re: [PATCH] speed up SATA

Jeff Garzik
2004-03-28T20:21:58Z

Jens Axboe wrote:
> So you could change ->max_sectors to be 'max allowable io, hardware
> limitation' and add ->optimal_sectors to be 'best sized io'. I don't see
> tha it buys you anything, since you'd be going for optimal_sectors all
> the time anyways.

In terms of implementation, I imagine we would add a ->max_hw_sectors,
once the IO scheduler and VM (or userland?) are smart enough to tune
->max_sectors dynamically.

Jeff