Re: Bug in last night's bk test

Andrew Morton (akpm@digeo.com)
Mon, 23 Sep 2002 15:05:59 -0700


Paul Larson wrote:
>
> The automated nightly testing turned up a bug on one of the test
> machines last night. The system that had the problem was running ltp
> and was a 2-way PII-550, 2GB ram, ext2. Here is the ksymoops dump:
>
> ksymoops 2.4.5 on i686 2.4.18. Options used
> -V (default)
> -K (specified)
> -L (specified)
> -O (specified)
> -m System.map (specified)
>
> kernel BUG at ll_rw_blk.c:1802!

Ah, yes.

The direct-io code will build requests which are larger than
the ips driver is prepared to accept, and the BIO layer correctly
BUGs out over it.

We need to convert direct-io to use the bio_add_page() facility
which Jens has recently added.

Until that's done you'll need to set BIO_MAX_PAGES to 16 in
include/linux/bio.h
-
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/