JFFS2 node versioning problem?

Dmitry Bazhenov atrey at emcraft.com
Wed May 3 07:56:37 EDT 2006


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.

--
Regards,
Dmitry




More information about the linux-mtd mailing list