[Yaffs] pdflush takes 100% CPU utilization

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
+ (text/html)
このメッセージを削除
このメッセージに返信
著者: Anand P
日付:  
To: yaffs
題目: [Yaffs] pdflush takes 100% CPU utilization
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.