Re: [PATCH v15 00/10] netfs, iov_iter: Use a chain of bio_vec arrays instead of folio_queue

From: Christian Brauner

Date: Fri Oct 02 2026 - 06:19:42 EST


On Thu, 01 Oct 2026 10:12:28 +0100, David Howells wrote:
> Could you pull these patches please into your vfs-7.4.netfs branch? This
> is the third of four (maybe five) batches, in this case replacing the
> folio_queue struct with a bvecq struct, and is based upon the
> aforementioned branch. This was split from v11 of a larger netfslib
> series[1]. I've fixed some issues spotted by sashiko[5-7].
>
> This series adds a new type, struct bvecq. This points to a bounded array
> of bio_vecs with information about how to clean up the memory they point
> to. A number of bvecq structs can be linked together to form a chain and
> an iterator type, ITER_BVECQ, is provided that can be pointed at the chain
> and can walk it. Netfslib is then switched to use the new type and
> folio_queue is removed along with ITER_FOLIOQ.
>
> [...]

Applied to the vfs-7.4.netfs branch of the vfs/vfs.git tree.
Patches in the vfs-7.4.netfs branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.4.netfs

[01/10] Add a function to kmap one page of a multipage bio_vec
https://git.kernel.org/vfs/vfs/c/a6a7576e126e
[02/10] iov_iter: Add a segmented queue of bio_vec[]
https://git.kernel.org/vfs/vfs/c/05f94143ca30
[03/10] netfs: Add some tools for managing bvecq chains
https://git.kernel.org/vfs/vfs/c/29d66a06098a
[04/10] afs: Use a bvecq to hold dir content rather than folioq
https://git.kernel.org/vfs/vfs/c/cac55bc34a56
[05/10] cifs: Use a bvecq for buffering instead of a folioq
https://git.kernel.org/vfs/vfs/c/b84e753bb326
[06/10] smbdirect: Support ITER_BVECQ in smbdirect_map_sges_from_iter()
https://git.kernel.org/vfs/vfs/c/787366e144a5
[07/10] netfs: Switch folioq to bvecq
https://git.kernel.org/vfs/vfs/c/f6da2ecbfbce
[08/10] smbdirect: Remove support for ITER_FOLIOQ from smbdirect_map_sges_from_iter()
https://git.kernel.org/vfs/vfs/c/e85d0262d3c1
[09/10] iov_iter: Remove ITER_FOLIOQ
https://git.kernel.org/vfs/vfs/c/e488bc1d0deb
[10/10] netfs: Remove folio_queue
https://git.kernel.org/vfs/vfs/c/f71507811163