[PATCH] [MTD] BLOCK_RO: Readonly Block Device Layer Over MTD

Vitaly Wool vwool at ru.mvista.com
Mon Nov 20 07:05:40 EST 2006


kbaidarov wrote:
> Description:
> The following patch adds readonly block device layer over mtd
> that allows to use any filesystem on this device in RO mode and
> thus gain faster mount times and better throughput rates.
>
> How it works:
> Blocks translation routine was added to read sector function. Assuming
> that bad block won't appear during MTD reading and BBT is correct, bad
> block is skipped and requested block is lazily mapped to good one.
> Block driver based on the mtd readonly device driver mtdblock_ro.c and
> translation routine was taken from the patch of Pantelis Antoniou
> (which can be found at
> http://lists.infradead.org/pipermail/linux-mtd/2004-May/009672.html).
>
> Large major 258 has already been assigned by LANANA.
>
> Signed-off-by: Konstantin Baydarov <kbaidarov at dev.rtsoft.ru>
>   

Acked-by: Vitaly Wool <vwool at ru.mvista.com> ;-)




More information about the linux-mtd mailing list