[dm-devel] Re: dm: bio split bvec fix

Jens Axboe axboe at suse.de
Wed Mar 22 11:32:35 UTC 2006


On Mon, Mar 20 2006, Alasdair G Kergon wrote:
> The code that handles bios that span table target boundaries by breaking
> them up into smaller bios will not split an individual struct bio_vec
> into more than two pieces.  Sometimes more than that are required.
> 
> This patch adds a loop to break the second piece up into as many
> pieces as are necessary.

Why isn't this just handled in the merge callback? Can a single page bio
span > 2 targets?

-- 
Jens Axboe




More information about the dm-devel mailing list