Skip to contentSkip to conversation

WARNING: at /home/ak/lsrc/git/linux-2.6/fs/fs-writeback.c:356

DISCUSSION Andi Kleen 2 participants 2 messages Jun 16, 2011 – Jun 18, 2011 VFS

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

Just got this shortly after booting a fresh Linus kernel on a 16 thread system. I had some patches on top, but they were completely unrelated.

------------[ cut here ]------------
WARNING: at /home/ak/lsrc/git/linux-2.6/fs/fs-writeback.c:356 writeback_single_inode+0x65/0x1b7()
Modules linked in:
Pid: 3597, comm: flush-8:0 Not tainted 3.0.0-rc3-00061-g522a899 #164
Call Trace:
 [<ffffffff81039919>] warn_slowpath_common+0x85/0x9d
 [<ffffffff8103994b>] warn_slowpath_null+0x1a/0x1c
 [<ffffffff810ff887>] writeback_single_inode+0x65/0x1b7
 [<ffffffff810ffbe5>] writeback_sb_inodes+0xba/0x134
 [<ffffffff81100592>] writeback_inodes_wb+0x16f/0x181
 [<ffffffff8110080f>] wb_writeback+0x26b/0x3a7
 [<ffffffff81100a92>] wb_do_writeback+0x147/0x1a0
 [<ffffffff81100b77>] bdi_writeback_thread+0x8c/0x20f
 [<ffffffff81100aeb>] ? wb_do_writeback+0x1a0/0x1a0
 [<ffffffff81100aeb>] ? wb_do_writeback+0x1a0/0x1a0
 [<ffffffff81053f11>] kthread+0x82/0x8a
 [<ffffffff815e78d4>] kernel_thread_helper+0x4/0x10
 [<ffffffff81053e8f>] ? kthread_worker_fn+0x13a/0x13a
 [<ffffffff815e78d0>] ? gs_change+0xb/0xb
---[ end trace fc0a60eb73c3e138 ]---

-Andi

Signature · 1 line
[email protected] -- Speaking for myself only
#1 lore raw

Hi Andi,

Quoted 3 lines · Andi Kleen

Just got this shortly after booting a fresh Linus kernel on a 16 thread system. I had some patches on top, but they were completely unrelated.

I cannot reproduce this warning on v3.0-rc3 as well as linux-next.

This warning message appears after upgrading from an older linus tree to the current linus tree?

There is only one commit since 2.6.39, which looks pretty unrelated prototype change:

        git log v2.6.39..v3.0-rc3 fs/fs-writeback.c

        commit aa38572954ade52
        fs: pass exact type of data dirties to ->dirty_inode

Looking further back, there are some locking changes between .38 and .39, however no one has reported problems with .39.

git shortlog v2.6.38..v2.6.39 fs/fs-writeback.c

Dave Chinner (4):
fs: protect inode->i_state with inode->i_lock
fs: move i_sb_list out from under inode_lock
fs: move i_wb_list out from under inode_lock
fs: pull inode->i_lock up out of writeback_single_inode

Lucas De Marchi (1):
Fix common misspellings

Thanks,
Fengguang

Quoted 31 lines
------------[ cut here ]------------
WARNING: at /home/ak/lsrc/git/linux-2.6/fs/fs-writeback.c:356 writeback_single_inode+0x65/0x1b7()
Modules linked in:
Pid: 3597, comm: flush-8:0 Not tainted 3.0.0-rc3-00061-g522a899 #164
Call Trace:
 [<ffffffff81039919>] warn_slowpath_common+0x85/0x9d
 [<ffffffff8103994b>] warn_slowpath_null+0x1a/0x1c
 [<ffffffff810ff887>] writeback_single_inode+0x65/0x1b7
 [<ffffffff810ffbe5>] writeback_sb_inodes+0xba/0x134
 [<ffffffff81100592>] writeback_inodes_wb+0x16f/0x181
 [<ffffffff8110080f>] wb_writeback+0x26b/0x3a7
 [<ffffffff81100a92>] wb_do_writeback+0x147/0x1a0
 [<ffffffff81100b77>] bdi_writeback_thread+0x8c/0x20f
 [<ffffffff81100aeb>] ? wb_do_writeback+0x1a0/0x1a0
 [<ffffffff81100aeb>] ? wb_do_writeback+0x1a0/0x1a0
 [<ffffffff81053f11>] kthread+0x82/0x8a
 [<ffffffff815e78d4>] kernel_thread_helper+0x4/0x10
 [<ffffffff81053e8f>] ? kthread_worker_fn+0x13a/0x13a
 [<ffffffff815e78d0>] ? gs_change+0xb/0xb
---[ end trace fc0a60eb73c3e138 ]---

-Andi

Signature · 5 lines
[email protected] -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html