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

Re: Latest JFFS fixes bug





dvrabel@xxxxxxx.uk said:
>  Something positive for a change...

hehe

> 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