Re: 2.5.40: raid0_make_request bug and bad: scheduling while atomic!

From: Anton Blanchard (anton@samba.org)
Date: Sun Oct 06 2002 - 07:24:22 EST


> The workaround is to force BIO's to be no bigger than a page.
> That limits performance, but it should still be somewhat better
> than the pre-bio times.
>
> This used to be fixable in mpage.c, where a comment
> explained what to to in precense of "braindead drivers"
> But mpage.c changed sometime between 2.5.36 and 2.5.39.
>
> Now the new include/linux/bio.h has the following:
> #define BIO_MAX_PAGES (256)
> I tried substituting (1) for (256), but it didn't help.
> So I don't mount raid-0 right now.

Peter Chubb mailed a fix for this to linux-kernel in the last week
and I can confirm it fixes all my raid0 problems. Thanks Peter!

http://marc.theaimsgroup.com/?l=linux-kernel&m=103369952814053&w=2

Anton
-
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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:53 EST