Hi,

I have a question regarding yaffs2 & pdflush behaviour.

We have taken the yaffs file system support into our 2.6.10 kernel(MIPS). The file system works fine, except, as soon as it is mounted, it is seen that the kernel thread "pdflush" CPU utilization goes to 100%.

Did some debugging & found that in yaffs_fs.c, yaffs_auto_checkpoint = 1. so yaffs_write_super() never goes into writing the superblock, and pdflush is forever trying to flush the superblock.

I changed yaffs_auto_checkpoint to 2, and pdflush is no more @ 100%. Is this the right fix for the problem??

Anand.