[dm-devel] [PATCH v2 09/26] block: Remove some unnecessary bi_vcnt usage

Tejun Heo tj at kernel.org
Thu Sep 20 23:51:59 UTC 2012


On Mon, Sep 10, 2012 at 05:22:20PM -0700, Kent Overstreet wrote:
> More prep work for immutable bvecs/effecient bio splitting - usage of
> bi_vcnt has to be auditing, so getting rid of all the unnecessary usage
> makes that easier.
> 
> Plus, bio_segments() is really what this code wanted, as it respects the
> current value of bi_idx.

Looks good to me but definitely need reviews from SCSI people.

Thanks.

-- 
tejun




More information about the dm-devel mailing list