From: Ming Lei <ming.lei@redhat.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org, Ming Lei <ming.lei@redhat.com>,
Pavel Begunkov <asml.silence@gmail.com>,
Christoph Hellwig <hch@infradead.org>,
Matthew Wilcox <willy@infradead.org>,
linux-fsdevel@vger.kernel.org
Subject: [PATCH V2 0/2] block: add bio_iov_iter_nvecs for figuring out nr_vecs
Date: Thu, 3 Dec 2020 10:29:38 +0800 [thread overview]
Message-ID: <20201203022940.616610-1-ming.lei@redhat.com> (raw)
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
next reply other threads:[~2020-12-03 2:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-03 2:29 Ming Lei [this message]
2020-12-03 2:29 ` [PATCH V2 1/2] block: add bio_iov_iter_nvecs for figuring out nr_vecs 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201203022940.616610-1-ming.lei@redhat.com \
--to=ming.lei@redhat.com \
--cc=asml.silence@gmail.com \
--cc=axboe@kernel.dk \
--cc=hch@infradead.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).