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

Re: JFFS2 number of reserved blocks for GC?



David Woodhouse wrote:

> vmalik@xxxxxxx.com said:
> > A "df" of a JFFS2 fs shows that the number of blocks reserved for GC
> > to be 8!
>
> > Is that the minimum needed by design or in there "just to be safe for
> > now" and will come down to a more optimum level?
>
> Odd. It should be five, I believe.

I put in a larger chip, but it's still 8 blocks.

#cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00800000 00040000 "Partition 1" /* Ignore me*/
mtd1: 00800000 00040000 "Partition 1" /* Ignore me */
mtd2: 00008000 00000400 "FRAM memory"  /*<--- This is the one*/

This is a blank fs.
#df
/dev/mtdblock2              32         8        24  25% /mnt/jffs2


> And yes, it's a very pessimistic setting
> to make sure we've got everything else sane before we get involved in
> trying to optimise it.
>
> --
> dwmw2
>
> To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
> the body of a message to majordomo@xxxxxxx.com


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com