[PATCH/RFC] Linux MTD striping middle layer

Alexander Belyakov alexander.belyakov at intel.com
Wed Mar 22 04:57:13 EST 2006


Artem,

Artem B. Bityutskiy wrote:
> 1. In case of NAND concatenation, what do you do with bad eraseblocks?
> Say, you stripe 2 NAND flashes, and the fist one has bad eraseblock 0,
> and the second one has bad eraseblock 1? Am I right that in this case
> you'll just waste eraseblock 0 of chip 1 and eraseblock 1 of chip 0?
>   

Yes, you got it correctly.

> 2. Suppose we have a stripped device mtd2 which stripes mtd0 and mtd1.
> Suppose user calls mtd2->block_mark_bad(N) (the block_mark_bad(N) method
> of the mtd2 device). Your actions? Will you mark eraseblock N of both
> mtd0 and mtd1 as bad physically? Note, actually only one of them became
> bad...

Yes, in current implementation both blocks on subdevices, representing 
one superblock, will be marked as bad.

Thanks,
Alexander Belyakov




More information about the linux-mtd mailing list