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

Re: Killing JFFS under 2.2

scote1@xxxxxxx.com said:
>  This is even worse, no ?  I can't see why the middle of a sector
> would be empty. fmc->head->offset if probably set to 0x2cfec8 since it
> sees no data in front of it when it scans (I would have to check how
> this is set).  

The empty space is exactly 0x203c bytes - i.e. sizeof(jffs_node) + 4096.

Is it possible that the space was allocated for a new node, then the node 
wasn't actually written to the flash before GC kicked in from another 
thread and wrote lots of data after the newly-allocated space?