From: Dave Chinner <david@fromorbit.com>
To: xfs@oss.sgi.com
Subject: Re: xfs task blocked for more than 120 seconds
Date: Thu, 2 Feb 2012 11:26:08 +1100 [thread overview]
Message-ID: <20120202002608.GY9090@dastard> (raw)
In-Reply-To: <20120131233034.GK10174@sli.dy.fi>
On Wed, Feb 01, 2012 at 01:30:34AM +0200, Sami Liedes wrote:
> On Tue, Jan 31, 2012 at 12:35:28AM +0200, Sami Liedes wrote:
> > The workloads do eventually complete. I tried the tar extraction again
> > but this time extracting the tar from a different disk and saw no such
> > warnings (and the time taken seems reasonable at 96 minutes).
>
> Extracting a 105 GB tar that resides on the same (target) XFS
> partition on an otherwise idle disk does trigger warnings, but only
> for kworker, not the tar process. The time taken to extract was a
> reasonable-sounding 140 minutes, so maybe these are just harmless
> warnings.
It is indicating that superblock IO is taking more than 120s to
complete. That's an indication that the IO subsystem is not
throttling the IO queue (and so queuing up minutes worth of IO) or
not processing the IO queue in a fair/timely manner. IO should never
take more than a couple of seconds to complete unless there is
something wrong, so the warnings are quite valid at the default
timeout of 120s....
I'd suggest reporting the problem to the dm-crypt folks and see if
they have any ideas on why IO completion is taking so long.
> Perhaps something should/could be done to silence them in
> that case?
You can turn the hangcheck timer off or adjust it's timeout yourself
via these proc files:
$ ls /proc/sys/kernel/ |grep hung
hung_task_check_count
hung_task_panic
hung_task_timeout_secs
hung_task_warnings
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-02-02 0:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-30 0:20 xfs task blocked for more than 120 seconds Sami Liedes
2012-01-30 1:05 ` Dave Chinner
2012-01-30 22:35 ` Sami Liedes
[not found] ` <2504_1327964557_4F27218D_2504_92_2_20120130223527.GH10174@sli.dy.fi>
2012-01-31 23:30 ` Sami Liedes
2012-02-02 0:26 ` Dave Chinner [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-01-31 10:54 Brian Candler
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=20120202002608.GY9090@dastard \
--to=david@fromorbit.com \
--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