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

Paulo Alcantara pc at manguebit.com
Sun Mar 29 05:39:05 AEDT 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-erofs mailing list