From: "Holger Hoffstätte" <holger.hoffstaette@googlemail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Indefinite hang in reserve_metadata_bytes on kernel 3.18.3
Date: Fri, 30 Jan 2015 10:02:01 +0000 (UTC) [thread overview]
Message-ID: <pan.2015.01.30.10.02.01@googlemail.com> (raw)
In-Reply-To: 3630FFF1-5CE8-4BDD-85BD-A0A1BF671168@opentable.com
On Thu, 29 Jan 2015 22:50:20 +0000, Steven Schlansker wrote:
> Thank you for the suggestion. I did not find a 3.18.5 presented in any
> form other than as a large number of *.patch files, so I went for
> 3.19-rc6 instead (which I verified has this commit)
3.18.5 is out now but it shouldn't matter, in your case it looks like
something else is wrong.
> Now I am getting:
>
> [ 1224.728313] ------------[ cut here ]------------
> [ 1224.728323] kernel BUG at fs/btrfs/extent-tree.c:7362!
That's -ENOMEM in btrfs_alloc_tree_block(), no definite idea what could
(really) cause that. In any case your first order of business should be
to get an up-to-date btrfs-progs (= 3.18.2) and see what a check says.
Your 3.12 is really old.
Another thing that I found helpful is to mount the fs in question at
least once without the free-space-cache, aka with -o
clear_cache,nospace_cache options. btrfs tries to detect whether this
cache is out of sync/corrupted, but I've seen it lead to weird problems
down the road on rare occasion. So mount the fs without it, maybe do a
little cleanup/work, cleanly unmount it and then try to remount/work with
the cache enabled.
If you first created & worked on this fs with 3.13 you may have other yet
undetected problems lurking.
That's really all I can recommend for now from here. Good luck!
-h
prev parent reply other threads:[~2015-01-30 10:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 1:44 Indefinite hang in reserve_metadata_bytes on kernel 3.18.3 Steven Schlansker
2015-01-29 10:08 ` Holger Hoffstätte
[not found] ` <54CA06A6.3070108@googlemail.com>
2015-01-29 22:50 ` Steven Schlansker
2015-01-30 10:02 ` Holger Hoffstätte [this message]
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.30.10.02.01@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).