linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: "Mr. James W. Laferriere" <babydr@baby-dragons.com>
Cc: Neil Brown <neilb@suse.de>,
	linux-raid maillist <linux-raid@vger.kernel.org>,
	xfs@oss.sgi.com
Subject: Re: INFO: task pdflush:393 blocked for more than 120 seconds. & Call traces ... (fwd)
Date: Tue, 22 Jul 2008 12:20:50 +1000	[thread overview]
Message-ID: <20080722022050.GG6761@disturbed> (raw)
In-Reply-To: <Pine.LNX.4.64.0807211529350.7212@filesrv1.baby-dragons.com>

On Mon, Jul 21, 2008 at 03:43:03PM -0800, Mr. James W. Laferriere wrote:
> 	Hello Neil ,
>
> On Tue, 22 Jul 2008, Neil Brown wrote:
>> On Monday July 21, babydr@baby-dragons.com wrote:
>>> INFO: task pdflush:393 blocked for more than 120 seconds.
>>> "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
>>> pdflush       D c8209f80  4748   393      2
>>>          f75e5e58 00000046 f7f7ad50 c8209f80 f7f7a8a0 f75e5e24 c014fc57 00000000
>>>          f7f7a8a0 e5d0dd00 c8209f80 f75e4000 c0819e00 c8209f80 f7f7aaf4 f75e5e44
>>>          00000286 f75e5e80 f510de30 f75e5e58 c0142233 f510de00 f75e5e80 f510de30
>>> Call Trace:
>>>    [<c014fc57>] ? mark_held_locks+0x67/0x80
>>>    [<c0142233>] ? add_wait_queue+0x33/0x50
>>>    [<c03a7f85>] xfs_buf_wait_unpin+0xb5/0xe0
>>>    [<c0127a60>] ? default_wake_function+0x0/0x10
>>>    [<c0127a60>] ? default_wake_function+0x0/0x10
>>>    [<c03a84fb>] xfs_buf_iorequest+0x4b/0x80
>>>    [<c03adeee>] xfs_bdstrat_cb+0x3e/0x50
>>>    [<c03a495c>] xfs_bwrite+0x5c/0xe0
>>>    [<c039e941>] xfs_syncsub+0x121/0x2b0
>>>    [<c018a43b>] ? lock_super+0x1b/0x20
>>>    [<c018a43b>] ? lock_super+0x1b/0x20
>>>    [<c039e1d8>] xfs_sync+0x48/0x70
>>>    [<c03af833>] xfs_fs_write_super+0x23/0x30
>>>    [<c018a80f>] sync_supers+0xaf/0xc0
>>
>> Looks a lot like an XFS problem to me.
>> Or at least, XFS people would be able to interpret this stack the
>> best.
> 	Hmm ,  Ok ,  I'll post there ,  I can provide a -complete- boot ->  
> renboot log of the actions ,  But it ain't small ~ 649K .  So I'll post 
> that on the back of my website , ie:
>
> http://www.baby-dragons.com/bonnie++1.03c-2.6.26-rc9.console.trace.log

Given that it's a log hang on 2.6.29-rc9, I'd first say add this commit:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=49641f1acfdfd437ed9b0a70b86bf36626c02afe

to your build (went in after -rc9 but before 2.6.26 was released)
and see if that solves the problem.

In more detail, this stack trace implies log I/O has not completed
after the log force was triggered in xfs_buf_wait_unpin(). The above
patch fixes a bug in log I/o dispatch where an non-atomic compare
and decrement would result in log I/O not being dispatched.

So, you've got a hang waiting for log I/o to complete on a kernel
that has a known problem with log I/O dispatch, so it's likely
that's what you've hit.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

  parent reply	other threads:[~2008-07-22  2:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-21 17:40 INFO: task pdflush:393 blocked for more than 120 seconds. & Call traces ... (fwd) Mr. James W. Laferriere
2008-07-21 18:17 ` Randy Dunlap
2008-07-21 23:12 ` Neil Brown
2008-07-21 23:43   ` Mr. James W. Laferriere
2008-07-22  0:57     ` Richard Scobie
2008-07-22  2:20     ` Dave Chinner [this message]
2008-07-27  1:47       ` i/O Thruput to devices in a raidset not even Mr. James W. Laferriere
2008-07-22  1:25   ` INFO: task pdflush:393 blocked for more than 120 seconds. & Call traces ... (fwd) Timothy Shimmin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080722022050.GG6761@disturbed \
    --to=david@fromorbit.com \
    --cc=babydr@baby-dragons.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).