handling bad blocks on flash

Jul 21, 2008 1 Replies

Hi, I'm interested to know how bad block handling mechanism works on flash devices in Linux. When data found found to be recoverable via ECC check, does it still need to be relocated to a good flash block? When data found found to be unrecoverable via ECC check, should the rest of the pages on the block to be relocated? Who handles the relocation process, mtd or the file system?



Thanks.


Marking each block with a single ECC error as BAD is not a good idea.

Some sort of statistic or stress test is better.

Yes, of course.

The file system. Or a middle layer (UBI). Have a look at the ubi documentation!

best regards

Wolfgang

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required