Re: [PATCH v5 09/12] block: Rework bio_pair_split()
From: Tejun Heo <hidden>
Date: 2012-08-08 23:09:55
Also in:
dm-devel, lkml
From: Tejun Heo <hidden>
Date: 2012-08-08 23:09:55
Also in:
dm-devel, lkml
Hello, On Mon, Aug 06, 2012 at 03:08:38PM -0700, Kent Overstreet wrote:
This changes bio_pair_split() to use the new bio_split() underneath, which gets rid of the single page bio limitation. The various callers are fixed up for the slightly different struct bio_pair, and to remove the unnecessary checks. v5: Move extern declaration to proper patch, per Boaz
I don't get this. Why can't bio_split() chain the split to the original one thus make bio_pair unnecessary? It's not like completing the split bio with the same end_io ever makes sense. Thanks. -- tejun