All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liu Bo <bo.li.liu@oracle.com>
To: Marc MERLIN <marc@merlins.org>
Cc: Josef Bacik <jbacik@fusionio.com>,
	Linux Btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: WARNING: at fs/btrfs/inode.c:2165 btrfs_orphan_commit_root+0xcb/0xdf()
Date: Wed, 27 Feb 2013 08:37:08 +0800	[thread overview]
Message-ID: <20130227003707.GA7028@liubo> (raw)
In-Reply-To: <20130226142043.GD19641@localhost.localdomain>

On Tue, Feb 26, 2013 at 09:20:43AM -0500, Josef Bacik wrote:
> On Sun, Feb 24, 2013 at 07:55:46PM -0700, Marc MERLIN wrote:
> > Is this useful to anyone?
> > 
> > Got this after a crash/reboot:
> > 
> > 	if (block_rsv) {
> > 		WARN_ON(block_rsv->size > 0);  <<<<<<<<<<<<<<<<<<<<<<
> > 		btrfs_free_block_rsv(root, block_rsv);
> > 	}
> > 
> 
> Fixed in btrfs-next, thanks for reporting!

FYI, the commit Josef mentioned is

Btrfs: cleanup orphan reservation if truncate fails
http://git.kernel.org/?p=linux/kernel/git/josef/btrfs-next.git;a=commit;h=4a7d0f6854c4a4ad1dba00a3b128a32d39b9a742

(Correct me if it is wrong.)

thanks,
liubo

> 
> Josef
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2013-02-27  0:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-25  2:55 WARNING: at fs/btrfs/inode.c:2165 btrfs_orphan_commit_root+0xcb/0xdf() Marc MERLIN
2013-02-26  7:02 ` Liu Bo
2013-02-26 15:52   ` Marc MERLIN
2013-02-26 14:20 ` Josef Bacik
2013-02-27  0:37   ` Liu Bo [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=20130227003707.GA7028@liubo \
    --to=bo.li.liu@oracle.com \
    --cc=jbacik@fusionio.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=marc@merlins.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.