Add FUSE_FAMFS_DAX config parameter, to control compilation of famfs
within fuse.

Signed-off-by: John Groves <j...@groves.net>
---
 fs/fuse/Kconfig | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/fs/fuse/Kconfig b/fs/fuse/Kconfig
index ca215a3cba3e..e6d554f2a21c 100644
--- a/fs/fuse/Kconfig
+++ b/fs/fuse/Kconfig
@@ -75,3 +75,16 @@ config FUSE_IO_URING
 
          If you want to allow fuse server/client communication through 
io-uring,
          answer Y
+
+config FUSE_FAMFS_DAX
+       bool "FUSE support for fs-dax filesystems backed by devdax"
+       depends on FUSE_FS
+       default FUSE_FS
+       select DEV_DAX_IOMAP
+       help
+         This enables the fabric-attached memory file system (famfs),
+         which enables formatting devdax memory as a file system. Famfs
+         is primarily intended for scale-out shared access to
+         disaggregated memory.
+
+         To enable famfs or other fuse/fs-dax file systems, answer Y
-- 
2.49.0


Reply via email to