Linux 6.3 NFSD Adds AES-SHA2 Encryption, Memory Safety Improvements

Written by Michael Larabel in Linux Storage on 23 February 2023 at 12:00 PM EST. 2 Comments
LINUX STORAGE
The Network File-System (NFS) client and server changes have landed for the in-development Linux 6.3 kernel.

When it comes to the NFSD changes with Linux 6.3 there is an overhaul to the RPC header encoding/decoding to make it more memory-safe. Additionally, there is Kerberos AES-SHA2-based encryption types added for both NFS clients and servers. This AES-SHA2 support will help deprecate and remove prior encryption types based on DES and SA-1. There are also NFSD fixes, support to handle crossing into an auto-mounted mount point on an exported NFS mount, and RPC metrics have been converted to use per-CPU variables. With the per-CPU variables use it helps with reducing unnecessary cross-CPU and cross-node memory bus traffic and reduces noise in particular whne the Kernel Concurrency Sanitizer (KCSAN) is active.

Meanwhile the NFS client updates include converting the read and write paths to make use of folios. There are also NFS client fixes to disable swap files and other random fixes.
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