[PATCH]Add erase count tracking support in JFFS2

zhao forrest zhao_fusheng at hotmail.com
Wed Aug 24 06:43:00 EDT 2005


Joern,

I refined the patch according to your comments. In particular
I removed some unnecessary #ifdef, reconstruct function 
jffs2_mark_erased_block() to make it shorter and more clean.

Thanks,
Forrest

>From: Jörn Engel <joern at wohnheim.fh-wedel.de>
>To: zhao forrest <zhao_fusheng at hotmail.com>
>CC: tglx at linutronix.de, 
dedekind at infradead.org,linux-mtd at lists.infradead.org
>Subject: Re: [PATCH]Add erase count tracking support in JFFS2
>Date: Thu, 18 Aug 2005 13:34:39 +0200
>
>On Thu, 18 August 2005 17:08:41 +0800, zhao forrest wrote:
> >
> > This patch adds the "erase count tracking" support in JFFS2.
> > In particular it records the erase count of each erase block.
> > By knowing the erase count of each erase block, we can further
> > enhance the current wear-leveling algorithm of random nature
> > in JFFS2.
> > So this patch is also the basis of my future patch for
> > enhancing the wear-leveling algorithm in JFFS2.
> >
> > Your comments are highly welcome.
>
>Getting rid of the #ifdefs would help.  Will have a closer look
>sometime later...
>
>Jörn
>
>--
>tglx1 thinks that joern should get a (TM) for "Thinking Is Hard"
>-- Thomas Gleixner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: erase_count_r1.patch
Type: application/octet-stream
Size: 20277 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20050824/39d6c92b/attachment.obj 


More information about the linux-mtd mailing list