From: Andreas Hindborg <a.hindborg@kernel.org>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
Andreas Hindborg <a.hindborg@kernel.org>
Subject: [PATCH] block: update docs for bio and bvec_iter
Date: Thu, 12 Feb 2026 18:17:03 +0100 [thread overview]
Message-ID: <20260212-bvec_iter-docs-v1-1-888607db0ddc@kernel.org> (raw)
The documentation for bio and bvec_iter refers to a vector named bvl_vec.
This does not exis. Update the documentation comment with the correct name.
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
---
include/linux/blk_types.h | 2 +-
include/linux/bvec.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 5dc061d318a45..10403145a4510 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -271,7 +271,7 @@ struct bio {
* Everything starting with bi_max_vecs will be preserved by bio_reset()
*/
- unsigned short bi_max_vecs; /* max bvl_vecs we can hold */
+ unsigned short bi_max_vecs; /* max count of bio_vec we can hold */
atomic_t __bi_cnt; /* pin count */
diff --git a/include/linux/bvec.h b/include/linux/bvec.h
index 3fc0efa0825b1..a05e792e6c216 100644
--- a/include/linux/bvec.h
+++ b/include/linux/bvec.h
@@ -79,7 +79,7 @@ struct bvec_iter {
sectors */
unsigned int bi_size; /* residual I/O count */
- unsigned int bi_idx; /* current index into bvl_vec */
+ unsigned int bi_idx; /* current index into bi_io_vec */
unsigned int bi_bvec_done; /* number of bytes completed in
current bvec */
---
base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b
change-id: 20260212-bvec_iter-docs-ceb3f7208d06
Best regards,
--
Andreas Hindborg <a.hindborg@kernel.org>
next reply other threads:[~2026-02-12 17:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-12 17:17 Andreas Hindborg [this message]
2026-02-13 2:49 ` [PATCH] block: update docs for bio and bvec_iter Damien Le Moal
2026-02-13 7:44 ` Christoph Hellwig
2026-02-14 8:55 ` Andreas Hindborg
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=20260212-bvec_iter-docs-v1-1-888607db0ddc@kernel.org \
--to=a.hindborg@kernel.org \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.