From: "Holger Hoffstätte" <holger.hoffstaette@googlemail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Stuck balance, 3.18.0
Date: Mon, 12 Jan 2015 13:36:27 +0000 (UTC) [thread overview]
Message-ID: <pan.2015.01.12.13.36.27@googlemail.com> (raw)
In-Reply-To: 20150112122710.GO32182@carfax.org.uk
On Mon, 12 Jan 2015 12:27:12 +0000, Hugo Mills wrote:
> On Mon, Jan 12, 2015 at 11:21:58AM +0000, Hugo Mills wrote:
>> I've just added a new disk to my main storage filesystem. Running
>> the obligatory balance to spread the data out, it's managed about 14%
>> of the job, and then has gone into some kind of tight loop. No chunks
>> have been found or balanced in the last 2 hours, and one kworker thread
>> is pegged at 100%. There were no unusual or unexpected messages in the
>> logs. Balance cancel has been waiting for the last 10 minutes without
>> effect (as would be expected with the other symptoms).
>
> OK, an hour after I executed the cancel, and three hours after it
> apparently jammed up, the cancel completed. I have restarted the balance
> from the point it left off, and I'll see if it does something similar
> again.
I've looked through the patches I use since 3.18.0 and nothing too
obvious stood out (to me), except for several patches from Filipe for
fixes that revolve around the chunk reaper, which sound like they might
result in confused threads. Also moving to 3.18.2 probably won't hurt,
it's not like there are no bugs in the kernel itself - I recently
managed to find a really wrong corner case in NFS that has gone unnoticed
since 3.16.
Finally: instead of balancing everything at once maybe try a piecemeal
approach with the limit filter? Wrap it in a script, spread out the work
of balancing 3-5 chunks a time..
-h
next prev parent reply other threads:[~2015-01-12 13:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-12 11:21 Stuck balance, 3.18.0 Hugo Mills
2015-01-12 12:27 ` Hugo Mills
2015-01-12 13:36 ` Holger Hoffstätte [this message]
2015-01-12 17:49 ` 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=pan.2015.01.12.13.36.27@googlemail.com \
--to=holger.hoffstaette@googlemail.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;
as well as URLs for NNTP newsgroup(s).