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

Ricard Wanderlof
2007-11-23T07:42:54Z

On Thu, 22 Nov 2007, Jörn Engel wrote:

> Please don't reply to the list only. If you are asking me a question,
> it is really impolite to send it elsewhere. And I bet others would like
> to stay on Cc: as well.

Sorry, no harm intended. (I tend to view discussions on a mailing list as
being on the mailing list, not between a couple of people with a cc to the
mailing list, because other people on the list should feel they can
respond to the questions posed. But either way is fine with me).

> http://en.wikipedia.org/wiki/Memory_scrubbing

Thanks for the link. I've never heard of the term being used for Flash
memory but of course it must apply there as well.

> Trivial scrubbing could leave the block in an erased or
> partially-written state if power-loss occurs at an inconvenient time.
> So scrubbing should be performed in some higher layer like an FTL, a
> filesystem, system maintenance applications, etc.

In the case of mtd, it would seem that this should be done by JFFS2, or if
some intermediate layer is used like UBI, by that layer. As far as I know
though, currently no scrubbing is done by either?

/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