[PATCH V3 10/21] famfs_fuse: Kconfig

John Groves posted 21 patches 1 month ago
[PATCH V3 10/21] famfs_fuse: Kconfig
Posted by John Groves 1 month ago
Add FUSE_FAMFS_DAX config parameter, to control compilation of famfs
within fuse.

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

diff --git a/fs/fuse/Kconfig b/fs/fuse/Kconfig
index 3a4ae632c94a..3b6d3121fe40 100644
--- a/fs/fuse/Kconfig
+++ b/fs/fuse/Kconfig
@@ -76,3 +76,17 @@ 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
+	depends on DEV_DAX
+	default FUSE_FS
+	select DEV_DAX_FS
+	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
Re: [PATCH V3 10/21] famfs_fuse: Kconfig
Posted by Jonathan Cameron 1 month ago
On Wed,  7 Jan 2026 09:33:19 -0600
John Groves <John@Groves.net> wrote:

> Add FUSE_FAMFS_DAX config parameter, to control compilation of famfs
> within fuse.
> 
> Signed-off-by: John Groves <john@groves.net>

A separate commit for this doesn't obviously add anything over combining
it with first place the CONFIG_xxx is used.

Maybe it's a convention for fs/fuse though. If it is ignore me.

> ---
>  fs/fuse/Kconfig | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/fs/fuse/Kconfig b/fs/fuse/Kconfig
> index 3a4ae632c94a..3b6d3121fe40 100644
> --- a/fs/fuse/Kconfig
> +++ b/fs/fuse/Kconfig
> @@ -76,3 +76,17 @@ 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
> +	depends on DEV_DAX
> +	default FUSE_FS
> +	select DEV_DAX_FS
> +	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
Re: [PATCH V3 10/21] famfs_fuse: Kconfig
Posted by John Groves 3 weeks, 6 days ago
On 26/01/08 12:36PM, Jonathan Cameron wrote:
> On Wed,  7 Jan 2026 09:33:19 -0600
> John Groves <John@Groves.net> wrote:
> 
> > Add FUSE_FAMFS_DAX config parameter, to control compilation of famfs
> > within fuse.
> > 
> > Signed-off-by: John Groves <john@groves.net>
> 
> A separate commit for this doesn't obviously add anything over combining
> it with first place the CONFIG_xxx is used.
> 
> Maybe it's a convention for fs/fuse though. If it is ignore me.

I've squashed this into the first commit that uses FUSE_FAMFS_DAX,
which is 2 commits later...

Thanks,
John