JFFS2 Problem

Jeff Smith jsmith at vhbtech.com
Mon Apr 30 18:03:08 EDT 2001


Thanks to anyone who might offer some help for my problem.

I'm running jffs2 on a PPC/855T board. I mount the jffs2 and have
two (2) test scripts that "dd" various sized files to the jffs2 flash.
I seem to be running into a race condition or something.

My 2 scripts just "dd" a bunch of files to the jffs2/flash, "ls -l "
them,
"rm *" them and then "ls -l" the dir/mnt point again in a loop. I'm
running
2 of these and they always reach contention fairly quickly, ie.
they lock up after 5 to 10 iterations. ps shows the processes sleeping.
If I remove the "ls"portion of the scripts. That is I just "dd" and "rm"
-
everything "seems" ok.Anybody seen this?


Thanks Jeff





More information about the linux-mtd mailing list