handling bad blocks on flash

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?


Reply to
Loading thread data ...

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


Reply to
Wolfgang Mües

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.