Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Chris Mason <clm@fb.com>
To: Hugo Mills <hugo@carfax.org.uk>,
	Btrfs mailing list <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs dev del hangs on 4.7
Date: Tue, 9 Aug 2016 14:02:20 -0400	[thread overview]
Message-ID: <23be7ecd-500b-76ed-ea91-88885872031e@fb.com> (raw)
In-Reply-To: <20160809172758.GB9644@carfax.org.uk>

On 08/09/2016 01:27 PM, Hugo Mills wrote:
>    Over the weekend, I started doing some maintenance on my server: I
> upgraded to 4.7.0, and I started deleting a device from my array,
> preparatory to putting in a larger one. About halfway through the
> operation, several kernel threads hung up for a while (resulting in
> "blocked for 120s" messages), and then the delete process seems to
> have stopped entirely, although several kernel threads are at maximum
> usage.
>
>    After a few hours, I rebooted the machine, and left it for a day or
> so. I tried the delete again this afternoon, and it's done the same
> thing again. The full log is included below. I have a kworker and a
> btrfs-transaction pegged at close to 100% of a core each, and a
> btrfs-cleaner (and the btrfs dev del process) in D state.
>
>    The FS was not under load at the time of the failure, and it passes
> scrub. I haven't tried a btrfs check yet.

Thanks Hugo, can you nail down which line of code belongs to:

btrfs_async_run_delayed_refs+0xc6

-chris

  reply	other threads:[~2016-08-09 18:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09 17:27 btrfs dev del hangs on 4.7 Hugo Mills
2016-08-09 18:02 ` Chris Mason [this message]
2016-08-09 18:23   ` Hugo Mills
2016-08-09 18:26     ` Chris Mason
2016-08-09 18:27       ` Hugo Mills
2016-08-09 19:11         ` Hugo Mills
2016-08-09 19:22           ` Chris Mason
2016-08-09 19:41             ` Hugo Mills
2016-08-10 22:25               ` Hugo Mills

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=23be7ecd-500b-76ed-ea91-88885872031e@fb.com \
    --to=clm@fb.com \
    --cc=hugo@carfax.org.uk \
    --cc=linux-btrfs@vger.kernel.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