[PATCH 11/26] Add a function to kmap one page of a multipage bio_vec

Paulo Alcantara pc at manguebit.com
Sat Mar 28 11:39:05 PDT 2026


David Howells <dhowells at redhat.com> writes:

> Add a function to kmap one page of a multipage bio_vec by offset (which is
> added to the offset in the bio_vec internally).  The caller is responsible
> for calculating how much of the page is then available.
>
> Signed-off-by: David Howells <dhowells at redhat.com>
> cc: Paulo Alcantara <pc at manguebit.org>
> cc: Matthew Wilcox <willy at infradead.org>
> cc: Christoph Hellwig <hch at infradead.org>
> cc: Jens Axboe <axboe at kernel.dk>
> cc: linux-block at vger.kernel.org
> cc: netfs at lists.linux.dev
> cc: linux-fsdevel at vger.kernel.org
> ---
>  include/linux/bvec.h | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)

Acked-by: Paulo Alcantara (Red Hat) <pc at manguebit.org>



More information about the linux-afs mailing list