Michal Piotrowski wrote: > Andrew Morton napisaƂ(a): > >>ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc1/2.6.22-rc1-mm1/ >> >> >>- I found some time to look into some writeback problems in >> fs/fs-writeback.c. > > > This might be related > > [ 97.740021] BUG: at /home/devel/linux-mm/mm/page-writeback.c:829 __set_page_dirty_nobuffers() > [ 97.748632] [] dump_trace+0x63/0x1eb > [ 97.753275] [] show_trace_log_lvl+0x1a/0x30 > [ 97.758521] [] show_trace+0x12/0x14 > [ 97.763042] [] dump_stack+0x16/0x18 > [ 97.767590] [] __set_page_dirty_nobuffers+0xfe/0x16e > [ 97.773598] [] redirty_page_for_writepage+0x10/0x12 > [ 97.779491] [] __block_write_full_page+0x1dc/0x335 > [ 97.785328] [] block_write_full_page+0xc9/0xd1 > [ 97.790799] [] blkdev_writepage+0x12/0x14 > [ 97.795829] [] __writepage+0xe/0x29 > [ 97.800350] [] write_cache_pages+0x183/0x29a > [ 97.805683] [] generic_writepages+0x22/0x2a > [ 97.810929] [] do_writepages+0x23/0x34 > [ 97.815702] [] __writeback_single_inode+0x245/0x472 > [ 97.821632] [] generic_sync_sb_inodes+0x347/0x4cc > [ 97.827379] [] sync_sb_inodes+0x20/0x24 > [ 97.832247] [] writeback_inodes+0x79/0xc2 > [ 97.837296] [] wb_kupdate+0x7a/0xdb > [ 97.841833] [] pdflush+0xf1/0x189 > [ 97.846173] [] kthread+0x3b/0x62 > [ 97.850461] [] kernel_thread_helper+0x7/0x10 No, that's a debugging patch I put in that missed a couple of corner cases (oops, you live and learn!). Actually I worked out what this one is too: just a case of a page with buffers (so the page itself may be dirty && !uptodate), which is calling __set_page_dirty_nobuffers via redirty_page_for_writepages. The patch I sent out earlier to fix Jiri's NFS warnings should take care of this one as well. -- SUSE Labs, Novell Inc.