Re: [PATCH v3 19/49] block: implement sp version of bvec iterator helpers

From: Christoph Hellwig
Date: Thu Aug 10 2017 - 08:01:56 EST


On Tue, Aug 08, 2017 at 04:45:18PM +0800, Ming Lei wrote:
> This patch implements singlepage version of the following
> 3 helpers:
> - bvec_iter_offset_sp()
> - bvec_iter_len_sp()
> - bvec_iter_page_sp()
>
> So that one multipage bvec can be splited to singlepage
> bvec, and make users of current bvec iterator happy.

Please merge this into the previous patch, and keep the existing
non postfixed names for the single page version, and use
bvec_iter_segment_* for the multipage versions.