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

Re: Garbage collection problems.

nick@xxxxxxx.ru said:
>  When the amount of free space is calculated, the minimum free flash
> size is subtracted: jffs_free_size1(fmc) + jffs_free_size2(fmc) - fmc->
> min_free_size 

That doesn't account for the discrepancy:

Aug 15 17:49:40 alpha1 kernel: Free size accounting screwed 
Aug 15 17:49:40 alpha1 kernel: free_chunk_size1 == 0x73c600, free_chunk_size2 == 0x0, fmc->free_size == 0xd4fb40