JFFS2 node versioning problem?

Artem B. Bityutskiy dedekind at yandex.ru
Wed May 3 08:02:22 EDT 2006


Dmitry Bazhenov wrote:
> Hello everybody!
> 
> I was just thinking about hypothetical situation with JFFS2 wich possibly 
> could be met in the reality. What happens when the highest node version of a 
> certain inode exceeds the maximum value?
> 
> I think this can be a point where the inode can be broken. If there are two 
> data nodes which have overlapped regions and more recent node has a lesser 
> value then the other node has, then, when the partition is dismounted and 
> mounted again the more recent inode is treated as an older one and could be 
> obsoleted. Even if it is not obsoleted, its data become superseeded by data 
> from the least recent node as the last one has a higher version number.
> 
Can it happen with a real-life flash device? If it can, we have to 
switch to 64-bit versions.

-- 
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.




More information about the linux-mtd mailing list