Some news for this: [PATCH] [MTD] BLOCK_RO: Readonly Block Device Layer Over MTD ?

Ricard Wanderlof ricard.wanderlof at axis.com
Fri Nov 23 04:08:25 EST 2007


> On Fri, 23 Nov 2007, Artem Bityutskiy wrote:
> 
> Nope, scrubbing was one of the design goals of UBI and it does do it.

That's good news!

> If mtd_read() returns -EUCLEAN, which means a correctable ECC error
> occurred (bit-flip), UBI schedules this physical eraseblock for
> movement. Then it moves it in background, re-maps corresponding logical
> eraseblock to the new physical eraseblock, and schedules the old
> physical eraseblock for erasure.

Does UBI periodically scan the flash for bit flips, or is the scrubbing 
mechanism only triggered when an mtd_read() is done by a higher layer?

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30



More information about the linux-mtd mailing list