Skip to contentSkip to conversation

Latest JFFS fixes bug

DISCUSSION David Vrabel 2 participants 2 messages Aug 25, 2000 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

Something positive for a change...

Latest JFFS from CVS fixes a `running out of free space' bug I encountered last night.

David Vrabel.

To unsubscribe, send "unsubscribe mtd" to [email protected]

#1 lore raw
Quoted 1 line · [email protected] said:

Something positive for a change...

hehe

Quoted 2 lines

Latest JFFS from CVS fixes a `running out of free space' bug I encountered last night.

It's still not _quite_ right here. We seem to have swapped rôles.

I came in this morning to find:
Free size accounting screwed
free_chunk_size1 == 0x10fed0, free_chunk_size2 == 0x0, fmc->free_size == 0x12fe68 jffs_flash_erasable_size() given non-aligned offset 1dff98 (erasesize 20000)

I think the new logic to avoid marking huge free areas as dirty is giving us two free areas on the flash in certain circumstances, and isn't ensuring that the dirty areas are sector-aligned.

--
dwmw2

To unsubscribe, send "unsubscribe mtd" to [email protected]