VOOZH about

URL: https://www.phoronix.com/news/FamFS-FUSE-Patches

⇱ FamFS Ported To FUSE For Fabric-Attached Memory File-System - Phoronix


👁 Phoronix

FamFS Ported To FUSE For Fabric-Attached Memory File-System

Written by Michael Larabel in Linux Storage on 21 April 2025 at 06:12 AM EDT. 6 Comments
One year ago we covered Micron working on FamFS as a new file-system for fabric-attached memory with an emphasis on Compute Express Link (CXL) devices. That started off as a conventional kernel driver while now the newest patches posted this weekend are morphing it into a user-space driver via FUSE.

FUSE is now being pursued for FamFS for implementing file-system support in user-space. Though some changes are required to FUSE/libfuse to jive with this fabric-attached memory file-system implementation. The patches in their current "request for comments" (RFC) form have been tested to be working atop Linux 6.14.

As for what aims to make FamFS special:
"Famfs exposes shared memory as a file system. Famfs consumes shared memory from dax devices, and provides memory-mappable files that map directly to the memory - no page cache involvement. Famfs differs from conventional file systems in fs-dax mode, in that it handles in-memory metadata in a sharable way (which begins with never caching dirty shared metadata).

Famfs started as a standalone file system, but the consensus at LSFMM 2024 was that it should be ported into fuse - and this RFC is the first public evidence that I've been working on that.

The key performance requirement is that famfs must resolve mapping faults without upcalls. This is achieved by fully caching the file-to-devdax metadata for all active files. This is done via two fuse client/server message/response pairs: GET_FMAP and GET_DAXDEV.

Famfs remains the first fs-dax file system that is backed by devdax rather than pmem in fs-dax mode (hence the need for the dev_dax_iomap fixups)."

This patch series by engineer John Groves is that initial FUSE-based FamFS implementation for those interested.

👁 FamFS diagram from Micron


There is also more background information on FamFS via the Micron CXL GitHub repository.

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.