[PATCH] 2.4.20 fix file_readahead for ide-cd and ide-floppy

From: Andrey Borzenkov (arvidjaar@mail.ru)
Date: Sun Jan 12 2003 - 05:14:13 EST


The file_readahead setting in ide-cd and ide-floppy obviously
assumed read-ahead values are kept as bytes. This made them
totally useless. This patch unifies file_readahead with ide-disk
making values be stored correctly as pages and displayed as KB.

This also changes breada setting to match ide-disk as well (is it
really used at all? It appears the only place where it is referenced
is reiserfs).

The patch is agains Mandrake sources but as I assume it should apply to vanilla kernel as well.

cheers

-andrey



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:39 EST