Skip to contentSkip to conversation

REF_PRISTINE node ...

DISCUSSION Sherwin Liu 2 participants 2 messages Nov 19, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I'm running Linux v2.4.18 under Montavista Linux on a PPC440GP. I have many JFFS2 partitions mounted and a test program that opens files on these partitions and constantly writes and reads these files. Once in a while I get this isolated message:

"REF_PRISTINE node at XX had a previous non-hole frag in the same page. Tell dwmw2."

Is this just a debugging message, or is it an indication of something wrong?

Thanks in advance...

-Sherwin
[email protected]

#1 lore raw
Quoted 5 lines · Sherwin Liu

"REF_PRISTINE node at XX had a previous non-hole frag in the same page. Tell dwmw2."

Is this just a debugging message, or is it an
indication of something wrong?

It's basically harmless, and should be gone if you update to the current CVS JFFS2 code.

A while ago, I implemented a garbage-collection optimisation; if a node is expected to be identical when we write out a replacement, we can avoid decompressing and recompressing it if we just copy the whole thing intact. So I start keeping track of such 'pristine' nodes which were an optimal representation of their data... and that message warns me of one case where such a node marked REF_PRISTINE but shouldn't have been.

Signature · 1 line
dwmw2