linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Steffens <jan.steffens@gmail.com>
To: Josef Bacik <jbacik@fusionio.com>
Cc: Linux Btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: BUG during log recovery
Date: Tue, 18 Dec 2012 15:10:24 +0100	[thread overview]
Message-ID: <CAMQ-g0cywb_kDoV4Dj4fbSYj3JujvbouUvuXPWJyffskcKafBA@mail.gmail.com> (raw)
In-Reply-To: <20121218134007.GB2403@localhost.localdomain>

On Tue, Dec 18, 2012 at 2:40 PM, Josef Bacik <jbacik@fusionio.com> wrote:
> On Fri, Dec 14, 2012 at 03:04:08PM -0700, Jan Steffens wrote:
>> After a lockup requiring a hard reset, the btrfs could not be mounted,
>> throwing the following error:
>>
>
> Could you tell me what line this comes out to?  Give me a few lines of context
> so I can figure out where it's happening.  Thanks,
>
> Josef

Sure, here:

	caching_ctl = get_caching_control(block_group);

	if (!caching_ctl) {
		BUG_ON(!block_group_cache_done(block_group));
		ret = btrfs_remove_free_space(block_group, start, num_bytes);
		BUG_ON(ret); /* -ENOMEM */     // <<< 6185
	} else {
		mutex_lock(&caching_ctl->mutex);

		if (start >= caching_ctl->progress) {
			ret = add_excluded_extent(root, start, num_bytes);

  reply	other threads:[~2012-12-18 14:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-14 22:04 BUG during log recovery Jan Steffens
2012-12-18 13:40 ` Josef Bacik
2012-12-18 14:10   ` Jan Steffens [this message]
2012-12-19 16:15     ` David Sterba
2013-01-02 17:32     ` Josef Bacik
2013-01-02 17:36       ` Jan Steffens
2013-01-02 18:09         ` Josef Bacik
2012-12-29 19:54 ` Henri Valta

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=CAMQ-g0cywb_kDoV4Dj4fbSYj3JujvbouUvuXPWJyffskcKafBA@mail.gmail.com \
    --to=jan.steffens@gmail.com \
    --cc=jbacik@fusionio.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).