Skip to content

Commit

Permalink
famfs: Add Kconfig and Makefile plumbing
Browse files Browse the repository at this point in the history
Add famfs Kconfig and Makefile, and hook into fs/Kconfig and fs/Makefile

Signed-off-by: John Groves <[email protected]>
  • Loading branch information
jagalactic authored and riteshharjani committed Mar 2, 2024
1 parent 93e7811 commit c8318dd
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ source "fs/autofs/Kconfig"
source "fs/fuse/Kconfig"
source "fs/overlayfs/Kconfig"

source "fs/famfs/Kconfig"

menu "Caches"

source "fs/netfs/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions fs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,4 @@ obj-$(CONFIG_EFIVAR_FS) += efivarfs/
obj-$(CONFIG_EROFS_FS) += erofs/
obj-$(CONFIG_VBOXSF_FS) += vboxsf/
obj-$(CONFIG_ZONEFS_FS) += zonefs/
obj-$(CONFIG_FAMFS) += famfs/
10 changes: 10 additions & 0 deletions fs/famfs/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@


config FAMFS
tristate "famfs: shared memory file system"
depends on DEV_DAX && FS_DAX
help
Support for the famfs file system. Famfs is a dax file system that
can support scale-out shared access to fabric-attached memory
(e.g. CXL shared memory). Famfs is not a general purpose file system;
it is an enabler for data sets in shared memory.
5 changes: 5 additions & 0 deletions fs/famfs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SPDX-License-Identifier: GPL-2.0

obj-$(CONFIG_FAMFS) += famfs.o

famfs-y := famfs_inode.o famfs_file.o

0 comments on commit c8318dd

Please sign in to comment.