[PATCH] Obsolete nodes that are unlinked when possible

Joakim Tjernlund joakim.tjernlund at transmode.se
Fri Mar 16 13:04:42 EDT 2007


 

> -----Original Message-----
> From: Artem Bityutskiy [mailto:dedekind at infradead.org] 
> Sent: den 16 mars 2007 17:27
> To: joakim.tjernlund at transmode.se
> Cc: linux-mtd at lists.infradead.org
> Subject: Re: [PATCH] Obsolete nodes that are unlinked when possible
> 
> Hi Joakim,
> 
> On Fri, 2007-03-16 at 17:14 +0100, Joakim Tjernlund wrote:
> > Ouch, I just discovered that JFFS2_SUMMARY disables
> > jffs2_can_mark_obsolete(c). Is this really needed for all
> > obsolete cases?
> > 
> > SUMMARY really implies that a better automatic GC is needed, since
> > your
> > fs will be littered with deletion entries. 
> 
> I am not the author of this stuff, so I probably not the right person
> for CC :-)

Oh, I took your name from memory. Obviously my memory
can't be trusted anymore :) 

> But it is understandable why they did this - because 
> otherwise it would
> need marking corresponding entries in summary as obsolete, 
> and here you
> have a problem of an unclean reboot between marking the node and the
> summary entry obsolete.

Would bad things happen if an unclean reboot happens or will
you just loose some performance?

 Jocke

PS.
   Do you know whats wrong with the list? Havn't got any mail from
   it for a week.





More information about the linux-mtd mailing list