Question/suggestion
Joakim Tjernlund
joakim.tjernlund at lumentis.se
Wed Oct 17 02:43:16 EDT 2001
Hi again
>
> joakim.tjernlund at lumentis.se said:
> > I have noticed that when I mount a jffs2 FS(created with mkfs.jffs2)
> > for the first time and look at the output of the df command, I see
> > that "Use%" field slowly rise to 100% and then it drops back to ~15%
> > and then it stays there. During this rise I also noticed that kupdate
> > was eating alot of CPU(~80%)
>
> > Is this normal?
>
> The first time it's mounted, all the blocks need to be erased and
> formatted correctly. That's done in the context of kupdated. The Use% field
> is high because the blocks are being taken out of the list of available
> blocks - we should probably fix that.
Does JFFS2 erase the blocks that are already erased? I also noticed that an umount hangs
until kupdate is finished, should it? Is it safe to power cycle the board during this
initial formating?
>
>
> > Is there any point to have a config option for preferred compression
> > algorithm order?
>
> Probably not. If you want rtime first you might as well just omit zlib
> completely. And yes, rtime will be faster.
OK, if I am the only one interested in this I agree. I will just edit the sources to
my needs.
Jocke
>
> --
> dwmw2
>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
More information about the linux-mtd
mailing list