KSMBD As An In-Kernel SMB3 File Server Merged For Linux 5.15

Written by Michael Larabel in Linux Storage on 31 August 2021 at 01:52 PM EDT. 15 Comments
LINUX STORAGE
One of the earliest pull requests sent in for the now-open Linux 5.15 cycle was proposing KSMBD land as the in-kernel SMB3 file server as an alternative on Linux systems to running Samba in user-space. At the time it wasn't clear if Linus Torvalds would pull in this file server code to the Linux kernel but now he has indeed landed it.

As noted in prior articles, KSMBD as developed by Samsung for some time now is focused on delivering speedy SMB3 file serving performance and also supporting features more implemented in kernel-space, like RDMA support for SMB Direct. KSMBD doesn't aim to be as comprehensive as well known Samba for CIFS/SMB support in user-space but is just focused on the performance and kernel feature angle.

KSMBD in its initial form is some 32k lines of new kernel code and is GPLv2 licensed.

A short time ago KSMBD was merged for Linux 5.15. More details on it via the documentation. Enabling KSMBD can be done via the CONFIG_SMB_SERVER Kconfig option.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week