Re: [linux-lvm] Re: [PATCH] 2.5 version of device mapper submission

From: Joe Thornber (joe@fib011235813.fsnet.co.uk)
Date: Tue Oct 15 2002 - 04:32:44 EST


On Tue, Oct 15, 2002 at 10:21:52AM +0200, Jens Axboe wrote:
> On Mon, Oct 14 2002, Joe Thornber wrote:
> > 10.patch
> > [Device-mapper]
> > Add call to blk_queue_bounce() at the beginning of the request function.
>
> What on earth for? I also see that you are setting BLK_BOUNCE_HIGH as
> the bounce limit unconditionally for your queue. Puzzled.

This is just me stupidly copying loop.c, already found out it doesn't
work. Please ignore.

> When does dm even have to touch the data in the bio?

Tell me; if I'm splitting a bio using bio_clone, and then map the bio
to a driver that calls blk_queue_bounce. How can I avoid the

        BUG_ON((*bio_orig)->bi_idx);

triggering ? Or is bio_clone not to be used anymore ?

- Joe
-
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 : Tue Oct 15 2002 - 22:00:54 EST