linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josef Bacik <josef@redhat.com>
To: Daniel J Blueman <daniel.blueman@gmail.com>
Cc: Chris Mason <chris.mason@oracle.com>,
	Linux BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: 2.6.29-rc2 oops and assertion failure...
Date: Fri, 08 Apr 2011 09:37:02 -0400	[thread overview]
Message-ID: <4D9F0F7E.3040509@redhat.com> (raw)
In-Reply-To: <BANLkTinm0eNdDWH42MB6VnYAdOOGi0P-bw@mail.gmail.com>

On 04/07/2011 10:26 PM, Daniel J Blueman wrote:
> Hi Josef, Chris,
>
> On 8 April 2011 00:23, Josef Bacik<josef@redhat.com>  wrote:
>> On 04/07/2011 03:21 AM, Daniel J Blueman wrote:
>>>
>>> When running a practical stress-test on 2.6.29-rc2 trying to reproduce
>>> an older (extent refcounting) issue, I am consistently able to hit an
>>> oops [] and an assertion failure [].
>>
>> Sorry about that, please apply the patch I just sent this morning
>>
>> [PATCH] Btrfs: deal with the case that we run out of space in the cache
>
> Superb work - the btrfs_write_out_cache oops is addressed, so now we
> (separately) hit a few other assertions at: volumes.c:2013 [1],
> volumes.c:2063 [2] and volumes.c:2703 [3] with the previous
> reproducer.
>
> Let me know if adding any debugging or other testing may be useful.
>
> Thanks,
>    Daniel

Looks like the first 2 panics are basically the same thing.  You are 
getting -EIO back from btrfs_shrink_device(), which could either come 
from searching or it could come from the stuff in relocation.c.  So will 
you put printk's at the 2 places in relocation.c where we return -EIO 
and figure out which one is getting tripped?  Once we know who is 
returning EIO we can go from there.  As for the last one, that's just a 
normal ENOSPC, but it's because we're allocating a chunk in the 
submission path, so that's going to be a little trickier to deal with. 
Lets fix these first two panics first and then hopefully that last one 
will just go away :).  Thanks,

Josef

      reply	other threads:[~2011-04-08 13:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07  7:21 2.6.29-rc2 oops and assertion failure Daniel J Blueman
2011-04-07 16:23 ` Josef Bacik
2011-04-08  2:26   ` Daniel J Blueman
2011-04-08 13:37     ` Josef Bacik [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=4D9F0F7E.3040509@redhat.com \
    --to=josef@redhat.com \
    --cc=chris.mason@oracle.com \
    --cc=daniel.blueman@gmail.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).