Re: [PATCH 17/23] dm: Refactor for new bio cloning/splitting

From: Mike Snitzer
Date: Tue Oct 29 2013 - 19:05:04 EST

On Tue, Oct 29 2013 at 4:18pm -0400,
Kent Overstreet <kmo@xxxxxxxxxxxxx> wrote:

> We need to convert the dm code to the new bvec_iter primitives which
> respect bi_bvec_done; they also allow us to drastically simplify dm's
> bio splitting code.
> Also kill bio_sector_offset(), dm was the only user and it doesn't make
> much sense anymore.
> Signed-off-by: Kent Overstreet <kmo@xxxxxxxxxxxxx>
> Cc: Jens Axboe <axboe@xxxxxxxxx>
> Cc: Alasdair Kergon <agk@xxxxxxxxxx>
> Cc: dm-devel@xxxxxxxxxx

I reviewed this patch some weeks ago (along with the rest of the DM
changes), I provided the dm-thin.c changes in this patch:

Please add:

Signed-off-by: Mike Snitzer <snitzer@xxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at