Re: 2.6.4-rc1-mm[12] - dm_any_congested issues

Valdis.Kletnieks
2004-03-05T17:54:54Z

[-- Attachment #1: Type: text/plain, Size: 1776 bytes --]

On Tue, 02 Mar 2004 20:15:36 PST, Andrew Morton <akpm@osdl.org> said:

(Added in -rc1-mm1 which I didn't try, problem noticed in -rc2-mm2)

> queue-congestion-dm-implementation.patch
> Implement queue congestion callout for device mapper

This is causing the following trace every second or 2 on my laptop:

Mar 4 17:47:26 turing-police kernel: Debug: sleeping function called from invalid context at include/linux/rwsem.h:43
Mar 4 17:47:26 turing-police kernel: in_atomic():1, irqs_disabled():0
Mar 4 17:47:27 turing-police kernel: Call Trace:
Mar 4 17:47:27 turing-police kernel: [__might_sleep+159/168] __might_sleep+0x9f/0xa8
Mar 4 17:47:27 turing-police kernel: [dm_any_congested+19/67] dm_any_congested+0x13/0x43
Mar 4 17:47:27 turing-police kernel: [sync_sb_inodes+212/592] sync_sb_inodes+0xd4/0x250
Mar 4 17:47:27 turing-police kernel: [writeback_inodes+87/155] writeback_inodes+0x57/0x9b
Mar 4 17:47:27 turing-police kernel: [wb_kupdate+197/311] wb_kupdate+0xc5/0x137
Mar 4 17:47:27 turing-police kernel: [__pdflush+278/441] __pdflush+0x116/0x1b9
Mar 4 17:47:27 turing-police kernel: [pdflush+15/17] pdflush+0xf/0x11
Mar 4 17:47:27 turing-police kernel: [wb_kupdate+0/311] wb_kupdate+0x0/0x137
Mar 4 17:47:27 turing-police kernel: [kthread+106/147] kthread+0x6a/0x93
Mar 4 17:47:27 turing-police kernel: [pdflush+0/17] pdflush+0x0/0x11
Mar 4 17:47:27 turing-police kernel: [kthread+0/147] kthread+0x0/0x93
Mar 4 17:47:27 turing-police kernel: [kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb

Of course backing it out makes the messages go away, since dm_any_congested()
was added by that patch. This patch just not ready for prime time, or am I (as usual)
managing to trip over some silly corner case due to odd configuration?

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]