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/