User Xattr Support Finally Landing For NFS In Linux 5.9

Written by Michael Larabel in Linux Storage on 10 August 2020 at 01:26 PM EDT. 12 Comments
LINUX STORAGE
The NFS code going into Linux 5.9 is finally presenting support for user extended attributes (user xattrs).

The NFS server updates for Linux 5.9 have support for user-extended attributes on NFS. This is the functionality outlined via IETF's RFC 8276 for handling of file-system extended attributes in NFSv4. "This feature allows extended attributes (hereinafter also referred to as xattrs) to be interrogated and manipulated using NFSv4 clients. Xattrs are provided by a file system to associate opaque metadata, not interpreted by the file system, with files and directories. Such support is present in many modern local file systems. New file attributes are provided to allow clients to query the server for xattr support, with that support consisting of new operations to get and set xattrs on file system objects."

The user xattr support for NFS on Linux have been under review since last year when published by an Amazon engineer for both the client and server portions. Those patches are now mature enough that the server-side support has been sent in for Linux 5.9.

This pull request has the support along with work to reduce unnecessary NFSv4 delegation recalls, regression fixes, and other code improvements.

The NFS client code has yet to see its pull request for Linux 5.9 but in its repository are also the client-side patches for user xattrs.
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