]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cuse(3): Optimise small reads and writes.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Tue, 20 Sep 2022 13:58:36 +0000 (15:58 +0200)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 12 Oct 2022 15:53:21 +0000 (17:53 +0200)
commit7c5ac67bc330a4dba71bb1ca80928ff01083fd07
tree2dafc1c016a70ee2f2cc222bf8a1c561a3e9b991
parent6094749a1a5dafb8daf98deab23fc968070bc695
cuse(3): Optimise small reads and writes.

When doing small reads and writes use an intermediate buffer to store the
data to save locking the remote process to access data.

Reviewed by: imp @
Sponsored by: NVIDIA Networking
Differential Revision: https://reviews.freebsd.org/D36633

(cherry picked from commit 5e59b2734f77da24e2bc45154c7db949b9d790c5)
sys/fs/cuse/cuse.c