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

Josh Boyer jwboyer at linux.vnet.ibm.com
Sat Nov 18 08:33:03 EST 2006


On Sat, 2006-11-18 at 15:15 +0200, Artem Bityutskiy wrote:
> Hello Konstantin,
> 
> On Fri, 2006-11-17 at 18:40 +0300, 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.
> 
> This is very ambition claim. In comparison with what?
> 
> > 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).
> > 
> 
> So basically this is bad eraseblock-aware mtdblock_ro? But why you
> created a new driver and with so weird name :-) ? Why didn't you just
> changed mtdblock_ro? IOW, why you didn't adapt Pantelis' patch instead
> and re-send it? (I have no idea why this patch isn't im MTD still,

Because we've consistently told people not to do that.

josh





More information about the linux-mtd mailing list