linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
To: Marc MERLIN <marc@merlins.org>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: 3.14.0-rc3 btrfs scrub is preventing my laptop from going to sleep
Date: Mon, 03 Mar 2014 11:17:51 +0800	[thread overview]
Message-ID: <5313F45F.9090709@cn.fujitsu.com> (raw)
In-Reply-To: <20140301152235.GA26926@merlins.org>

Hi Marc,

On 03/01/2014 11:22 PM, Marc MERLIN wrote:
> On Fri, Feb 28, 2014 at 09:09:37PM -0800, Marc MERLIN wrote:
>> On Fri, Feb 28, 2014 at 09:18:06AM +0800, Wang Shilong wrote:
>>> Could you run the following command when scrub is blocked, we can know more
>>> why scrub is blocked here.
>>>
>>> # echo w >  /proc/sysrq-trigger
>>> # dmesg
> Yes, there you go:
>
> (attached because it's too big for the list)
>
> http://marc.merlins.org/tmp/btrfs_nofreeze.txt
Could you please try the following patch, and let's see if it helps:

https://patchwork.kernel.org/patch/3680431/

This patch addressed a deadlock for device replace, but i guess scrub 
may also
trigger this problem if there are errors related to the disk.

BTW, is there  some errors related to scrub device, something like:

# btrfs device stat <device>

Thanks,
Wang
>
> Marc


  reply	other threads:[~2014-03-03  3:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-27 19:06 3.14.0-rc3 btrfs scrub is preventing my laptop from going to sleep Marc MERLIN
2014-02-27 23:30 ` Marc MERLIN
2014-02-28  1:18 ` Wang Shilong
     [not found]   ` <20140301050937.GD18300@merlins.org>
2014-03-01 15:22     ` Marc MERLIN
2014-03-03  3:17       ` Wang Shilong [this message]
2014-03-03  5:21         ` Marc MERLIN
2014-03-03  6:50           ` Wang Shilong
2014-03-03 15:10             ` Marc MERLIN
2014-03-03 16:56 ` Josef Bacik
2014-03-03 17:09   ` Josef Bacik
2014-03-03 22:05     ` Marc MERLIN
2014-03-03 22:18       ` Josef Bacik
2014-03-03 23:13         ` Marc MERLIN

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=5313F45F.9090709@cn.fujitsu.com \
    --to=wangsl.fnst@cn.fujitsu.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=marc@merlins.org \
    /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).