I am using i.mx51 processor, From few days i am facing error of JFFS2 by initialisation itself. After Launching QT Application, The running application goes hang state. In debug state its showing JFFS2 error (493). After showing this error application speed slows down. So, at one state it become hangs. After some time VFS makes freeing memory. Then starts normal execution. I suspect, its due to garbage collection in cache memory. so, for this i clearing the dropcaches memory by the command echo 3 > /proc/sys/vm/drop_caches and command sync in each time of before initialisation of application.
Still, Hanging Happens while running QT application. In Application FILE operations (read & write 300 ticks) going on continuously, The File Operation is in this sequence Open -> Writing 300 values (writing to FPGA through EMI communication) -> fflushing -> closing file. Reading also asusual except flushing. But, Why this Application makes JFFS2 hangs, (It'll not Hangs, if the same application runs in TFTP) if cache is the problem means, how can i resolve it.
What changes has to make in kernel to came over from this problem.