JFFS3 & deletion dirents RFC

Jared Hulbert jaredeh at gmail.com
Thu Mar 24 17:01:55 EST 2005


> We can't get rid of version in data nodes.

I'm not suggesting we get rid of 'version' in the actual nodes.

As I understand this adding 'version' to struct jffs2_raw_node_ref
increases the RAM usage by N*(X+Y) where:
  N is the size of the version field
  X is the number of direnties
  Y is the number of data nodes

It seems there "ought" to be a way to only increase RAM size by N*X. 
I'm assuming Y>>X so this could be a big factor for RAM usage.

Am I missing something?

 ,Jared




More information about the linux-mtd mailing list