Skip to content

block: add bio_iov_iter_nvecs for figuring out nr_vecs

Ming Lei linux-block linux-fsdevel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v11 patch 22 repliesSuperseded

Changes in v2 from the cover letter

- split out renaming part into one patch

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block: add bio_iov_iter_nvecs for figuring out nr_vecsfs/block_dev.c fs/iomap/direct-io.c include/linux/bio.h+14 -42 replies
2/2block: rename the local variable for holding return value of bio_iov_iter_nvecsfs/block_dev.c fs/iomap/direct-io.c+22 -222 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPavel BegunkovChristoph HellwigHannes Reinecke
1/2R-b R-b R-b R-b
2/2R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH V2 0/2] block: add bio_iov_iter_nvecs for figuring out nr_vecs

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 <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Matthew Wilcox <[email protected]>
Signature · 1 line
2.28.0