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

Re: Endless garbage collection




martin.gadbois@xxxxxxx.com said:
> You're absolutly right. The only issues are performance of the
> jffs_get_file_count(), because it is executed every times an
> insert_node() is called. We should keep a running count of how many
> files exists in the partition, but I did not do that yet.

It's already done by the debugging code though. I just unconditionally 
enabled the debugging code for counting nodes. We can do the same for 
counting files.

JFFS2 should get away with storing far less in RAM during normal operation, 
and this won't be required.

--
dwmw2



To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com