block2mtd: Overrun end of disk in cache readahead

Ville Herva vherva at vianova.fi
Wed Jul 5 06:07:27 EDT 2006


On Wed, Jul 05, 2006 at 09:49:14AM +0200, you [Norbert Federa] wrote:
> Ville,
> Try changing the PAGE_READAHEAD define in
> /drivers/mtd/devices/block2mtd.c from 64 to 0:
> 
> -#define PAGE_READAHEAD 64
> +#define PAGE_READAHEAD 0

Thanks.

Looking at the source, it almost looks like the error message is just a
spurious warning, not a dangerous error. Doesn't this happen when the
underlying device does not end at 64k boundary? And the readahead code just
stops reading ahead after that warning?



-- v -- 

v at iki.fi





More information about the linux-mtd mailing list