linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/2] block: add bio_iov_iter_nvecs for figuring out nr_vecs
@ 2020-12-03  2:29 Ming Lei
  2020-12-03  2:29 ` [PATCH V2 1/2] " Ming Lei
  2020-12-03  2:29 ` [PATCH V2 2/2] block: rename the local variable for holding return value of bio_iov_iter_nvecs Ming Lei
  0 siblings, 2 replies; 7+ messages in thread
From: Ming Lei @ 2020-12-03  2:29 UTC (permalink / raw)
  To: Jens Axboe
  Cc: linux-block, Ming Lei, Pavel Begunkov, Christoph Hellwig,
	Matthew Wilcox, linux-fsdevel

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@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: linux-fsdevel@vger.kernel.org


-- 
2.28.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-09  8:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03  2:29 [PATCH V2 0/2] block: add bio_iov_iter_nvecs for figuring out nr_vecs Ming Lei
2020-12-03  2:29 ` [PATCH V2 1/2] " Ming Lei
2020-12-03  6:46   ` Hannes Reinecke
2020-12-09  8:31   ` Christoph Hellwig
2020-12-03  2:29 ` [PATCH V2 2/2] block: rename the local variable for holding return value of bio_iov_iter_nvecs Ming Lei
2020-12-03  6:47   ` Hannes Reinecke
2020-12-09  8:32   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).