[Devel] [PATCH VZ9 1/2] fs/fuse kio: implement memory region to support zero-copy between userapce and kernel space.

2024-05-16 Thread Liu Kui
The memory region(MR) is very similar to RDMA memory region, however much simpler. It allows userspace to register a bulky memory to kernel, which would pin all pages from that memory and returns a reference back to userspace. Userspace can then just pass the descriptor(start address, length) of a

[Devel] [PATCH VZ9 2/2] fs/fuse kio: introduce pcs_krpc - export kernel RPC to userspace

2024-05-16 Thread Liu Kui
Currently there are 2 connections for every RPC, one in userspace, one in kernel. This wastes a lot of resources on client hosts in case of a huge cluster. It's therefore desirable to eliminate connections in userspace by using kernel RPC directly for userspace RPC. This patch makes the pcs_fuse_k