public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Prasad Koya <prasad.koya@gmail.com>
Cc: jack@suse.cz, LKML <linux-kernel@vger.kernel.org>
Subject: Re: sync blocked for long time
Date: Tue, 3 Jul 2012 11:49:15 +0800	[thread overview]
Message-ID: <20120703034915.GA7872@localhost> (raw)
In-Reply-To: <CAGXD9OfLmSHzikhXxVi7f2wHBVO4det1KHReXc70YkEgYdQTLg@mail.gmail.com>

Hi Prasad,

On Mon, Jul 02, 2012 at 08:37:19PM -0700, Prasad Koya wrote:
> Hi
> 
> Sorry about writing to your personal address. I'm running into below panic
> but I couldn't find any patch for this in 2.6.32. I do see below discussion
> related to pretty much similar issue which doesn't appear to be resolved. I
> looked around quite a bit but I couldn't find any patches for this. Is this
> still unresolved? I have 2 USB sticks and I can get into this state by
> copying 2 large files (say 200-300M each) simultaneously (followed by sync)
> into both drives.

That is doing sync lots of data on slow device, with the sync time
being further enlarged by the active writers. I can imagine for the
sync to take very long time.

What's the filesystem btw?

> Appreciate any pointers.
> 
> thank you.
> 
> http://marc.info/?t=126596633700002&r=1&w=2
> 
> 
> <3>[  600.392088] INFO: task sync:2675 blocked for more than 120 seconds.
> <3>[  600.466884] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
...
> <4>[  600.560507]  [<ffffffff810a7dab>] sync_inodes_sb+0x1d/0xf1
> <4>[  600.560519]  [<ffffffff810abb3e>] __sync_filesystem+0x29/0x52
> <4>[  600.560536]  [<ffffffff810abc0f>] sync_filesystems+0xa8/0xfe
> <4>[  600.560556]  [<ffffffff810abcb5>] sys_sync+0x1c/0x2e
> <4>[  600.560570]  [<ffffffff810260c5>] cstar_dispatch+0x7/0x2b
> <0>[  600.560580] Kernel panic - not syncing: hung_task: blocked tasks

Please check /proc/sys/kernel/hung_task_panic . Normal users should
never set it to 1..

Thanks,
Fengguang

       reply	other threads:[~2012-07-03  3:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAGXD9OfLmSHzikhXxVi7f2wHBVO4det1KHReXc70YkEgYdQTLg@mail.gmail.com>
2012-07-03  3:49 ` Fengguang Wu [this message]
     [not found]   ` <CAGXD9Oc_LD51O2ybkPi4DrO8dyMgG875xH2fUkeNAy2PHRSG0w@mail.gmail.com>
2012-07-03  4:34     ` sync blocked for long time Fengguang Wu
     [not found]       ` <CAGXD9OeHYaiYjf7p9zAu0UVFGMJQvTKSORv1gJMWpkoKEWjkoA@mail.gmail.com>
2012-07-03  5:01         ` Fengguang Wu

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=20120703034915.GA7872@localhost \
    --to=fengguang.wu@intel.com \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=prasad.koya@gmail.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