All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Srihari Vijayaraghavan <harisri@bigpond.com>,
	Jens Axboe <axboe@suse.de>, Neil Brown <neilb@cse.unsw.edu.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.49: kernel BUG at drivers/block/ll_rw_blk.c:1950!
Date: Tue, 26 Nov 2002 11:56:01 -0800	[thread overview]
Message-ID: <3DE3D1D1.BE5B30ED@digeo.com> (raw)
In-Reply-To: 200211262203.20088.harisri@bigpond.com

Srihari Vijayaraghavan wrote:
> 
> [1.] One line summary of the problem:
> kernel BUG at drivers/block/ll_rw_blk.c:1950!

That's BIO_BUG_ON(!bio->bi_size);

> Software RAID 0.

Yes, there have been a few reports of this.  The pagecache code
does bio_add_page() against a new BIO and it doesn't work.  We
end up submitting an empty BIO and boom.

I've seen various RAID patches floating about which address this,
but either they weren't merged or they didn't work right.

Jens, what is the policy here?  Should bio_add_page() for an
empty bio "always succeed"?  (Bearing in mind that pages can
be 64k...).    I guess -EIO would be better than a BUG.

Are there more RAID fixes pending?

Thanks.

  reply	other threads:[~2002-11-26 19:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-26 11:03 2.5.49: kernel BUG at drivers/block/ll_rw_blk.c:1950! Srihari Vijayaraghavan
2002-11-26 19:56 ` Andrew Morton [this message]
2002-11-26 20:13   ` Neil Brown
2002-11-27  8:12     ` Srihari Vijayaraghavan
2002-11-27  8:29       ` Jens Axboe
2002-11-27  8:37         ` Andrew Morton
2002-12-01 23:49         ` Neil Brown
2002-12-02  8:24           ` Jens Axboe
2002-11-26 20:22   ` Arjan van de Ven

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=3DE3D1D1.BE5B30ED@digeo.com \
    --to=akpm@digeo.com \
    --cc=axboe@suse.de \
    --cc=harisri@bigpond.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    /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.