public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Josef Bacik <jbacik@fb.com>
To: "Jakub Klinkovský" <j.l.k@gmx.com>, linux-btrfs@vger.kernel.org
Subject: Re: btrfs scrub process prevents system suspend
Date: Thu, 20 Mar 2014 11:30:33 -0400	[thread overview]
Message-ID: <532B0999.3060605@fb.com> (raw)
In-Reply-To: <20140320152131.GA1172@asusntb.lan>

On 03/20/2014 11:21 AM, Jakub Klinkovský wrote:
> Today I accidentally discovered that it is not possible to suspend (hibernate)
> the system while the btrfs scrub process is running (see the attached log).
> Could this be considered a bug, or did I miss something?
>
> Some more info:
>
> $ uname -a
> Linux asusntb 3.13.6-1-ARCH #1 SMP PREEMPT Fri Mar 7 22:47:48 CET 2014 x86_64 GNU/Linux
>
> and btrfs-progs-3.12 is installed.
>

Yeah there's a way to make suspend run commands while it goes down, 
you'll want to make it do btrfs scrub cancel on your btrfs fses.  If you 
search the archives you'll see we've covered this recently and the guy 
posted the script he was using.  Thanks,

Josef


  reply	other threads:[~2014-03-20 15:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-20 15:21 btrfs scrub process prevents system suspend Jakub Klinkovský
2014-03-20 15:30 ` Josef Bacik [this message]
2014-03-20 20:19   ` Marc MERLIN
2014-03-20 15:31 ` George Eleftheriou
2014-03-20 16:37   ` Jakub Klinkovský

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=532B0999.3060605@fb.com \
    --to=jbacik@fb.com \
    --cc=j.l.k@gmx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox