Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2021 22:20:12 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   KTLS with zfs recv
Message-ID:  <CAOtMX2jMADS3vWCeXPHSfVCm12NoPkEw5--AHcnWP0anX0jqEQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
My understanding is that KTLS works very well with OpenSSL for sending, but
not as well for receiving, because there's nothing like a recvfile
syscall.  However, it works great for both send and receive with NFS, where
all the data remains in the kernel. What about zfs recv?  A very common
pattern is for an application to read from an SSL socket and then pipe the
data to zfs recv. For example, zrepl does that.  Could zfs recv instead
read directly from the KTLS socket, bypassing userspace?  That could
potentially save a _lot_ of cycles for a _lot_ of people.

-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2jMADS3vWCeXPHSfVCm12NoPkEw5--AHcnWP0anX0jqEQ>