[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More JFFS problems...

On Wed, 2 Aug 2000, David Woodhouse wrote:

> alex@xxxxxxx.se said:
> >  I've suspected problems like this since Sébastien managed to have his
> > changes to mkfs.jffs work even though he didn't change the offset of
> > the nodes... I think the handling of partial node rewriting isn't
> > working.
> Sure looks screwed to me. It'll quit as soon as it's filled the buffer, 
> without even looking at later nodes in the log. It should examine _every_ 
> node in order, copying data from each node whose range overlaps the range 
> to be read. I'll have a go at that now.

 Exactly, and not only that. When doing GC later a node which is later
partially overwritten needs to be splitted into several nodes (the
non-overlapping parts).

/ Alex