Latest JFFS fixes bug

David Woodhouse dwmw2 at
Fri Aug 25 05:07:32 EDT 2000

dvrabel at said:
>  Something positive for a change...


> 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.


To unsubscribe, send "unsubscribe mtd" to majordomo at

More information about the linux-mtd mailing list