lkml.org 
[lkml]   [2002]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.49: kernel BUG at drivers/block/ll_rw_blk.c:1950!
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.039 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site