Show Your Support: Did you know that the hundreds of articles written on Phoronix each month are mostly authored by one individual? Phoronix.com doesn't have a whole news room with unlimited resources and relies upon people reading our content without blocking ads and alternatively by people subscribing to Phoronix Premium for our ad-free service with other extra features.
CIFSD In-Kernel SMB3 File-Sharing Server Lands In Linux-Next
There's long been CIFSD on GitHub for the in-kernel CIFS/SMB3 server with it being designed to run within the kernel for greater I/O performance and better handling some features such as RDMA integration.
Queued up this week in linux-next is that CIFSD kernel code. The SMB3 kernel server is more than 31k lines of new code thanks to Samsung. .
The supported features are:
* SMB3 protocols for basic file sharing
* Auto negotiation
* Compound requests
* Large MTU
* HMAC-SHA256 Signing
* Secure negotiate
* Signing Update
* Pre-authentication integrity(SMB 3.1.1)
* SMB3 encryption(CCM, GCM)
* SMB direct(RDMA)
* The part of POSIX extension support (posix context, modebit)
With the patch, the CIFSD code is considered experimental and hidden behind the SMB_SERVER Kconfig switch.
The SMB_SERVER_SMBDIRECT mode allows for transferring SMB packets over RDMA. In the name of security is also a Kconfig option that would prevent unprivileged processes from being able to start the CIFSD server.
It will be interesting to see how the performance and adoption of CIFSD is moving forward compared to Samba in user-space. For now this CIFSD code is baking in linux-next while we'll see for Linux 5.13 or a near-term kernel cycle if it's ultimately submitted as a pull to Linus during the merge window.