Latest jffs2 broken?

Artem B. Bityuckiy dedekind at infradead.org
Tue Sep 6 05:00:45 EDT 2005


On Wed, 2005-08-31 at 23:02 -0600, Peter Grayson wrote:
> > Did you try which earlier snapshot works correctly? It can be a good
> > starting point where the problem is. 2005-07-30? 2005-08-01? 2005-08-05?
> 
> This problem does not occur with 2005-08-01, but does with 2005-08-02.
> There were some significant changes to the frag tree code that went in
> between these two snapshots.
> 
> It appears that the offending code is in readinode.c. There is code in
> jffs2_get_inode_nodes(), read_dnode(), and read_more() that attempts to
> optimize the NAND (writebuffered) cases to avoid redundant reads of
> flash. When I removed these optimizations, the problem goes away and
> everything is quite happy. It was not obvious to me what is wrong with
> this code, but honestly, I'm too tired to figure it out now.
> 
> Regardless, I have attached the patch that makes latest mtd cvs work for
> me. I do not have high hopes that the powers that be will want to apply
> this patch, but I wanted to put it out there in case someone else is
> having the same trouble. Maybe someone more familiar with this code
> could take another look too.
> 
I have had my vacation, I will glance what is going on.





More information about the linux-mtd mailing list