KSMBD Declared Stable – No Longer “Experimental” – In Linux 6.6
phoronix.com
phoronix.com
Instead, the kernel interfaces should be improved to allow userspace applications to get the same performance benefits. For example, RDMA could be arranged from userspace by having a sendfile() like syscall suitable for telling the kernel that RDMA requests should be satisfied from a certain file handle. Perhaps even seccomp bpf could be used for constructing more complex response packets without needing a context switch to the userspace application.
Plenty hw manufacturers still won't touch the GPLv3 Samba with a ten-foot pole but do not want to commit to support a fork themselves with all the CVEs it would entail over the years. By putting it in the kernel where it'll have high visibility and with some excuse about performance requirements, at least someone may take the bait later on and maintain this one for free. May even become more popular than Samba itself. Win win!
... they repeat the same mistakes MS did with Windows. /s
I know NFS was already part of the kernel. And I presume that by living inside the kernel there is a tight integration with file buffers/caching, and probably some extra performance too. Is that the main motivation here?
Performance? Better integration with filesystems? Ease of use?
And then they stopped doing that. Because it was stupid.
Having it listening on a workstation containing sensative information I would much prefer an older more isolatable userapace implementation.
One datacenter use is to find another machine on the network who already has a file you want to load to RAM, and loading that file across the network from them rather than reading the file from your local SSD, simply because it is faster to do so.
The algorithm for locating the machine that has an in-memory copy is likely more expensive than just loading directly from disk.