Hi, Add add bio_iov_iter_nvecs for figuring out nr_vecs, so that we can avoid iov_iter_npages() for bvec iter. V2: - split out renaming part into one patch Ming Lei (2): block: add bio_iov_iter_nvecs for figuring out nr_vecs block: rename the local variable for holding return value of bio_iov_iter_nvecs fs/block_dev.c | 30 +++++++++++++++--------------- fs/iomap/direct-io.c | 14 +++++++------- include/linux/bio.h | 10 ++++++++++ 3 files changed, 32 insertions(+), 22 deletions(-) Cc: Pavel Begunkov <asml.silence@xxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx> Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> Cc: linux-fsdevel@xxxxxxxxxxxxxxx -- 2.28.0