All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <clm@fb.com>
To: john terragon <jterragon@gmail.com>, Duncan <1i5t5.duncan@cox.net>
Cc: <linux-btrfs@vger.kernel.org>
Subject: Re: kernel 3.17-rc3: task rsync:2524 blocked for more than 120 seconds
Date: Tue, 2 Sep 2014 16:10:12 -0400	[thread overview]
Message-ID: <54062424.9040508@fb.com> (raw)
In-Reply-To: <CANg_oxxiAJbchugA2puD7PE3qgd_iQ+Lwpzs416YPBUBCKVOag@mail.gmail.com>

> On 09/02/2014 03:56 PM, john terragon wrote:
> Nice...now I get the hung task even with 3.14.17.... And I tried with
> 4K for node and leaf size...same result. And to top it all off, today
> I've been bitten by the bug also on my main root fs (which is on two
> fast ssd), although with 3.16.1.
> 
> Is it at least safe for the data? I mean, as long as the hung process
> terminates and no other error shows up, can I at least be sure that
> the data written is correct?

Your traces are a little different.  The ENOSPC code is throttling
things to make sure you have enough room for the writes you're doing.
The code we have in 3.17-rc3 (or my for-linus branch) are the best
choices right now.  You can pull that down to 3.16 if you want all the
fixes on a more stable kernel.

Nailing down the ENOSPC code is going to be a little different, I think
autodefrag probably isn't interacting well with being short on space and
encryption.  This is leading to much more IO than we'd normally do, and
dm-crypt makes it fairly intensive.

Can you try flipping off autodefrag?

-chris

  reply	other threads:[~2014-09-02 20:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 13:33 kernel 3.17-rc3: task rsync:2524 blocked for more than 120 seconds john terragon
2014-09-01 16:02 ` Chris Mason
2014-09-01 16:36   ` john terragon
2014-09-02  5:20     ` Duncan
2014-09-02  6:12       ` john terragon
2014-09-02  6:40         ` Duncan
2014-09-02 19:56           ` john terragon
2014-09-02 20:10             ` Chris Mason [this message]
2014-09-02 20:23               ` john terragon
2014-09-02 20:48                 ` john terragon
2014-09-03  1:31                   ` john terragon
2014-09-03 12:36                     ` Chris Mason
2014-09-03 14:11                       ` john terragon
2014-09-03 15:02                         ` Chris Murphy
2014-09-03  2:44           ` Chris Murphy
2014-09-03  5:37             ` Duncan
2014-09-03  6:03             ` john terragon
2014-09-03  9:14               ` Liu Bo
2014-09-03  3:32       ` Zygo Blaxell

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=54062424.9040508@fb.com \
    --to=clm@fb.com \
    --cc=1i5t5.duncan@cox.net \
    --cc=jterragon@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.