block2mtd: Overrun end of disk in cache readahead

Ville Herva vherva at vianova.fi
Thu Jul 6 04:28:48 EDT 2006


On Wed, Jul 05, 2006 at 01:22:23PM +0200, you [Jörn Engel] wrote:
> 
> I'm fairly tempted to just nuke the readahead code completely.  For
> some users, it is outright harmful (usbstick, some other flash behind
> blockdev interface), for others it should be done by the block device
> driver, not by block2mtd.
> 
> If either of you wants to do that and can test the resulting patch,
> you have my blessing.

I'm afraid the box I tested this with already has already gone to
"production". So I currently have zero flash devices I could test this on.
Of course, I guess I could just use regular block device (a loop file,
even)...



-- v -- 

v at iki.fi





More information about the linux-mtd mailing list