[Devel] [PATCH hci-8.1 0/3] fs/fuse kio: cut per-4k-page sendmsg/recvmsg calls in the sockio path

Konstantin Khorenko khorenko at virtuozzo.com
Wed Sep 30 19:09:35 MSK 2026


On Wed, 30 Sep 2026 15:34:30 +0800, Liu Kui wrote:
> fs/fuse kio: cut per-4k-page sendmsg/recvmsg calls in the sockio path
> 
> The sockio transport submits one 4k segment per sock_sendmsg() /
> kernel_recvmsg() call, so a 1M chunk costs up to 256 socket calls
> each way. Rework both paths to hand the whole iov_iter to the socket
> in one call, and teach pcs_umem to keep hugepage-backed mappings as
> single 2M chunks so the bvec builder stops splitting them into 4k
> bio_vecs.
> 
> [...]

Applied to branch-rh10-6.12.0-211.52.1.22.x.vz10-ovz, will be released in rh10-6.12.0-211.52.1.22.5.vz10, thanks!

[1/3] fs/fuse kio: teach pcs_umem about hugepage-backed mappings
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/83f385d3a683
[2/3] fs/fuse kio: refactor transmit path in pcs_sockio_send()
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/32b44dc7ba67
[3/3] fs/fuse kio: refactor receive path in pcs_sockio_recv()
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/d1de79fe3866

-- 
Konstantin Khorenko <khorenko at virtuozzo.com>



More information about the Devel mailing list