All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@fb.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: <linux-fsdevel@vger.kernel.org>
Subject: Re: [BUG] Oops in inode_to_bdi()
Date: Wed, 21 Jan 2015 13:04:04 -0700	[thread overview]
Message-ID: <54C00634.1080106@fb.com> (raw)
In-Reply-To: <54BFFEF3.1070809@fb.com>

On 01/21/2015 12:33 PM, Jens Axboe wrote:
> On 01/21/2015 12:29 PM, Christoph Hellwig wrote:
>> On Wed, Jan 21, 2015 at 12:17:07PM -0700, Jens Axboe wrote:
>>> Christoph,
>>>
>>> Ran into this one while testing. Looks like mapping->host is NULL, off
>>> the shmem_writepage().
>>
>> Hmm.  Not sure how this can happen, but for a NULL inode we can
>> always just return noop_backing_dev_info safely, I'll cook up a patch.
>
> I got 8 of them in a row. Current kernel is running with the attached,
> just to see if I can reproduce it.

Works fine with the debug patch. Added a page dump for when we hit this:

page:ffffea0001afa680 count:2 mapcount:0 mapping:          (null) index:0x0
flags: 0x40000000000d0009(locked|uptodate|swapcache|reclaim|swapbacked)

I'll commit the NULL inode work-around.

-- 
Jens Axboe


  reply	other threads:[~2015-01-21 20:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-21 19:17 [BUG] Oops in inode_to_bdi() Jens Axboe
2015-01-21 19:29 ` Christoph Hellwig
2015-01-21 19:33   ` Jens Axboe
2015-01-21 20:04     ` Jens Axboe [this message]
2015-01-24  1:22   ` Omar Sandoval

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=54C00634.1080106@fb.com \
    --to=axboe@fb.com \
    --cc=hch@infradead.org \
    --cc=linux-fsdevel@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.