Re: [PATCH] Fix panic in 2.6 with bounced bio and dm

From: Jens Axboe
Date: Sat Feb 26 2005 - 07:41:47 EST


On Fri, Feb 25 2005, Linus Torvalds wrote:
>
>
> On Fri, 25 Feb 2005, Andrew Morton wrote:
> >
> > It seems very weird for dm to be shoving NULL page*'s into the middle of a
> > bio's bvec array, so your fix might end up being a workaround pending a
> > closer look at what's going on in there.
>
> Yes. I don't see how this patch can be anything but bandaid to hide the
> real bug. Where do these "non-page" bvec's originate?

Yep that's the fishy part, there should not be NULL pages in the middle
(or empty bios, for that matter) submitted for io.

Mark, what was the bug that triggered you to write this patch?

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/