From: Josef Bacik <jbacik@fusionio.com>
To: Mace Moneta <moneta.mace@gmail.com>
Cc: Josef Bacik <JBacik@fusionio.com>,
"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: WARNING: at fs/btrfs/extent_io.c:4718 map_private_extent_buffer+0xd4/0xe0 [btrfs]()
Date: Mon, 25 Feb 2013 14:46:24 -0500 [thread overview]
Message-ID: <20130225194624.GC19641@localhost.localdomain> (raw)
In-Reply-To: <CAMfhy930iLRwh07gcPwptoxqXE8mg_HoLtzZgibn4GMnhnVzPw@mail.gmail.com>
On Mon, Feb 25, 2013 at 12:21:30PM -0700, Mace Moneta wrote:
> On Mon, Feb 25, 2013 at 2:12 PM, Josef Bacik <jbacik@fusionio.com> wrote:
>
> >
> > Is there any chance you got the line above [ cut here ]? (I hate that stupid [
> > cut here ], it makes us miss all the usefull info.) Thanks,
> >
> > Josef
>
> There was really nothing significant above the 'cut here'. Here it is
> with over an hour of earlier context:
>
Sigh, I don't know why this warn_on(1, printk) isn't doing it's job. Here is a
debug patch, please capture the output from this so I can figure out what is
going on. Thanks,
Josef
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index 66f999b..eed5554 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -4715,9 +4715,10 @@ int map_private_extent_buffer(struct extent_buffer *eb, unsigned long start,
}
if (start + min_len > eb->len) {
- WARN(1, KERN_ERR "btrfs bad mapping eb start %llu len %lu, "
+ printk(KERN_ERR "btrfs bad mapping eb start %llu len %lu, "
"wanted %lu %lu\n", (unsigned long long)eb->start,
eb->len, start, min_len);
+ WARN_ON(1);
return -EINVAL;
}
next prev parent reply other threads:[~2013-02-25 19:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-22 14:46 WARNING: at fs/btrfs/extent_io.c:4718 map_private_extent_buffer+0xd4/0xe0 [btrfs]() Mace Moneta
2013-02-22 16:53 ` Josef Bacik
2013-02-22 17:22 ` Mace Moneta
2013-02-22 17:44 ` Josef Bacik
2013-02-22 17:52 ` Mace Moneta
2013-02-22 18:10 ` Josef Bacik
2013-02-22 18:16 ` Mace Moneta
2013-02-22 18:31 ` Mace Moneta
2013-02-22 19:40 ` Josef Bacik
2013-02-23 4:54 ` Mace Moneta
2013-02-25 19:12 ` Josef Bacik
2013-02-25 19:21 ` Mace Moneta
2013-02-25 19:46 ` Josef Bacik [this message]
2013-02-27 20:24 ` Mace Moneta
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=20130225194624.GC19641@localhost.localdomain \
--to=jbacik@fusionio.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=moneta.mace@gmail.com \
/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.