xfs-masters
[Top] [All Lists]

[xfs-masters] processes stuck in D state

To: linux-xfs@xxxxxxxxxxx
Subject: [xfs-masters] processes stuck in D state
From: Wu Fengguang <wfg@xxxxxxxxxxxxxxxx>
Date: Mon, 28 Nov 2005 08:36:25 +0800
Cc: nathans@xxxxxxx, xfs-masters@xxxxxxxxxxx
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.11
Hello,

In the kernel 2.6.15-rc2-ck2 with adaptive readahead patch, some processes are
stuck in D state. Since the last functions of the two D process happened to be
the same set of XFS functions, I resend the bug report here. The original report
can be found in the -ck kernel mailing list:
http://bhhdoa.org.au/pipermail/ck/2005-November/004839.html

Thanks,
Wu

 pdflush       D 00000000     0   129      5           130     8 (L-TLB)
 cdd47ab0 c01179ff 00000000 00000000 cdd47a90 fca55b40 000f45cc cdeb9550 
        00482480 000f45cd 295d9980 00000000 00036a20 cdab3a80 cd1bcad4 cdd47ae4 
        c029fc84 ceb81ca5 cdd47ad0 cdd47c2c 00000522 000013d8 00000000 00000000 
 Call Trace:
  [schedule_timeout+111/174] schedule_timeout+0x6f/0xae
  [<c029fc84>] schedule_timeout+0x6f/0xae
  [pg0+242988031/1069822976] xlog_grant_log_space+0x1b7/0x27d [xfs]
  [<ceb763ff>] xlog_grant_log_space+0x1b7/0x27d [xfs]
  [pg0+242980190/1069822976] xfs_log_reserve+0x8d/0x95 [xfs]
  [<ceb7455e>] xfs_log_reserve+0x8d/0x95 [xfs]
  [pg0+243030533/1069822976] xfs_trans_reserve+0x8d/0x1d4 [xfs]
  [<ceb80a05>] xfs_trans_reserve+0x8d/0x1d4 [xfs]
  [pg0+242970493/1069822976] xfs_iomap_write_allocate+0x2e8/0x542 [xfs]
  [<ceb71f7d>] xfs_iomap_write_allocate+0x2e8/0x542 [xfs]
  [pg0+242966150/1069822976] xfs_iomap+0x360/0x471 [xfs]
  [<ceb70e86>] xfs_iomap+0x360/0x471 [xfs]
  [pg0+243115492/1069822976] xfs_bmap+0x2c/0x32 [xfs]
  [<ceb955e4>] xfs_bmap+0x2c/0x32 [xfs]
  [pg0+243084584/1069822976] xfs_map_blocks+0x36/0x4e [xfs]
  [<ceb8dd28>] xfs_map_blocks+0x36/0x4e [xfs]
  [pg0+243087965/1069822976] xfs_page_state_convert+0x43e/0x59f [xfs]
  [<ceb8ea5d>] xfs_page_state_convert+0x43e/0x59f [xfs]
  [pg0+243089710/1069822976] linvfs_writepage+0x58/0xd0 [xfs]
  [<ceb8f12e>] linvfs_writepage+0x58/0xd0 [xfs]
  [mpage_writepages+495/899] mpage_writepages+0x1ef/0x383
  [<c0173dc9>] mpage_writepages+0x1ef/0x383
  [do_writepages+41/44] do_writepages+0x29/0x2c
  [<c013e6fa>] do_writepages+0x29/0x2c
  [__sync_single_inode+82/485] __sync_single_inode+0x52/0x1e5
  [<c01722d8>] __sync_single_inode+0x52/0x1e5
  [__writeback_single_inode+58/298] __writeback_single_inode+0x3a/0x12a
  [<c01724a5>] __writeback_single_inode+0x3a/0x12a
  [sync_sb_inodes+403/599] sync_sb_inodes+0x193/0x257
  [<c0172728>] sync_sb_inodes+0x193/0x257
  [writeback_inodes+72/151] writeback_inodes+0x48/0x97
  [wb_kupdate+130/235] wb_kupdate+0x82/0xeb
  [<c013e545>] wb_kupdate+0x82/0xeb
  [__pdflush+173/327] __pdflush+0xad/0x147
  [<c013ec0d>] __pdflush+0xad/0x147
  [pdflush+30/32] pdflush+0x1e/0x20
  [<c013ecc5>] pdflush+0x1e/0x20
  [kthread+141/145] kthread+0x8d/0x91
  [<c012af79>] kthread+0x8d/0x91
  [kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb
  [<c0101331>] kernel_thread_helper+0x5/0xb
 ldconfig      D C096B928     0  6783   6782                     (NOTLB)
 c096b94c 00000000 cbb87d20 c096b928 ceb6bd0c 6d6f4c00 000f4a41 cb9a8550 
        6d6f4c00 000f4a41 0112a880 00000000 00036a20 cdab3a80 cd1bc708 c096b980 
        c029fc84 ceb81ca5 c096b96c c096bac8 00000f55 00001423 00000000 00000000 
 Call Trace:
  [schedule_timeout+111/174] schedule_timeout+0x6f/0xae
  [<c029fc84>] schedule_timeout+0x6f/0xae
  [pg0+242988031/1069822976] xlog_grant_log_space+0x1b7/0x27d [xfs]
  [<ceb763ff>] xlog_grant_log_space+0x1b7/0x27d [xfs]
  [pg0+242980190/1069822976] xfs_log_reserve+0x8d/0x95 [xfs]
  [<ceb7455e>] xfs_log_reserve+0x8d/0x95 [xfs]
  [pg0+243030533/1069822976] xfs_trans_reserve+0x8d/0x1d4 [xfs]
  [<ceb80a05>] xfs_trans_reserve+0x8d/0x1d4 [xfs]
  [pg0+242970493/1069822976] xfs_iomap_write_allocate+0x2e8/0x542 [xfs]
  [<ceb71f7d>] xfs_iomap_write_allocate+0x2e8/0x542 [xfs]
  [pg0+242966150/1069822976] xfs_iomap+0x360/0x471 [xfs]
  [<ceb70e86>] xfs_iomap+0x360/0x471 [xfs]
  [pg0+243115492/1069822976] xfs_bmap+0x2c/0x32 [xfs]
  [<ceb955e4>] xfs_bmap+0x2c/0x32 [xfs]
  [pg0+243084584/1069822976] xfs_map_blocks+0x36/0x4e [xfs]
  [<ceb8dd28>] xfs_map_blocks+0x36/0x4e [xfs]
  [pg0+243087965/1069822976] xfs_page_state_convert+0x43e/0x59f [xfs]
  [<ceb8ea5d>] xfs_page_state_convert+0x43e/0x59f [xfs]
  [pg0+243089710/1069822976] linvfs_writepage+0x58/0xd0 [xfs]
  [<ceb8f12e>] linvfs_writepage+0x58/0xd0 [xfs]
  [pageout+134/257] pageout+0x86/0x101
  [<c01438a1>] pageout+0x86/0x101
  [shrink_list+659/1092] shrink_list+0x293/0x444
  [<c0143baf>] shrink_list+0x293/0x444
  [shrink_cache+197/529] shrink_cache+0xc5/0x211
  [<c0143ed0>] shrink_cache+0xc5/0x211
  [shrink_zone+148/233] shrink_zone+0x94/0xe9
 <c0144403>] shrink_zone+0x94/0xe9
  [shrink_caches+88/102] shrink_caches+0x58/0x66
  [<c0144534>] shrink_caches+0x58/0x66
  [try_to_free_pages+236/433] try_to_free_pages+0xec/0x1b1
  [<c014462e>] try_to_free_pages+0xec/0x1b1
  [__alloc_pages+297/740] __alloc_pages+0x129/0x2e4
  [<c013cdaa>] __alloc_pages+0x129/0x2e4
  [__do_page_cache_readahead+221/320] __do_page_cache_readahead+0xdd/0x140
  [<c013f128>] __do_page_cache_readahead+0xdd/0x140
  [do_page_cache_readahead+69/89] do_page_cache_readahead+0x45/0x59
  [<c013f255>] do_page_cache_readahead+0x45/0x59
  [filemap_nopage+654/1082] filemap_nopage+0x28e/0x43a
  [<c0139d40>] filemap_nopage+0x28e/0x43a
  [do_no_page+97/669] do_no_page+0x61/0x29d
  [<c0147bda>] do_no_page+0x61/0x29d
  [__handle_mm_fault+320/456] __handle_mm_fault+0x140/0x1c8
  [<c0147fc9>] __handle_mm_fault+0x140/0x1c8
  [do_page_fault+577/1562] do_page_fault+0x241/0x61a
  [<c02a0941>] do_page_fault+0x241/0x61a
  [error_code+79/84] error_code+0x4f/0x54
  [<c010371f>] error_code+0x4f/0x54


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] processes stuck in D state, Wu Fengguang <=