Re: JFFS2 mount time

Jarkko Lavinen
2004-10-21T13:12:18Z

On Wed, Oct 20, 2004 at 04:26:27PM +0200, ext Ferenc Havasi wrote:
> Jarkko made a measurement on a real NAND device: his JFFS2 image was
> 120819928 (115M), after running sumtool the new image was 123338752 (117M).
>
> Using the original mount time was 55 sec, with the new image it is only
> 8.5 sec.

My initial test was only about the mount time. I have now also tried
to exercise the patched file system and with very little testing I get
CRC or ECC errors.

# mount /dev/mtdblock2 /mnt -t jffs2
# mkdir /mnt/testdir
# umount /mnt
jffs2_flush_wbuf(): Write failed with -5
# mount /dev/mtdblock2 /mnt -t jffs2
mtd->read(0x1fbec bytes from 0x1fc0414) returned ECC error
Empty flash at 0x01fc2f1c ends at 0x01fc3000
#

With plain 2.6.9-rc4-omap1 with fresh CVS MTD code, I don't see anything
weird occuring.

Jarkko Lavinen