All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josef Bacik <josef@redhat.com>
To: cpwu@tnsoft.com.cn
Cc: ceph-devel <ceph-devel@vger.kernel.org>, linux-btrfs@vger.kernel.org
Subject: Re: 2.6.39-rc1: btrfs "WARNING: at fs/btrfs/inode.c:2177"
Date: Thu, 07 Apr 2011 12:20:15 -0400	[thread overview]
Message-ID: <4D9DE43F.3000809@redhat.com> (raw)
In-Reply-To: <1302169286.1922.19.camel@cephhost>

[-- Attachment #1: Type: text/plain, Size: 338 bytes --]

On 04/07/2011 05:41 AM, Jeff Wu wrote:
> Hi ,
> I run iozone stress test on a ceph client for x86_64, ceph 0.26 +
> linux-2.6.39-rc1 server,
> printk "WARNING: at fs/btrfs/inode.c:2177"
>
Crap I was hoping I had fixed this, could you run with this debug patch 
and get me the output so I can figure out what's going on?  Thanks,

Josef



[-- Attachment #2: debug.patch --]
[-- Type: text/plain, Size: 330 bytes --]

diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index f619c3c..79ec933 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -3696,6 +3696,7 @@ int btrfs_block_rsv_add(struct btrfs_trans_handle *trans,
 {
 	int ret;
 
+	WARN_ON(block_rsv == root->orphan_block_rsv);
 	if (num_bytes == 0)
 		return 0;
 

  parent reply	other threads:[~2011-04-07 16:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07  9:41 2.6.39-rc1: btrfs "WARNING: at fs/btrfs/inode.c:2177" Jeff Wu
2011-04-07  9:41 ` Jeff Wu
2011-04-07  9:43 ` Wido den Hollander
2011-04-07 16:20 ` Josef Bacik [this message]
2011-04-08  5:53   ` Jeff Wu
2011-04-08  5:53     ` Jeff Wu
2011-04-08 14:38     ` Josef Bacik

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=4D9DE43F.3000809@redhat.com \
    --to=josef@redhat.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=cpwu@tnsoft.com.cn \
    --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 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.