diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2012-11-02 04:25:27 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2012-12-10 23:43:42 -0500 |
commit | a14d53937cc850d5631e0f809986751770ef65ac (patch) | |
tree | f635336203dc94aec90b14e643276a8038398e8e /fs | |
parent | 902829aa0b722511369e4e6193e66390bc58e0a2 (diff) |
f2fs: update Kconfig and Makefile
This adds Makefile and Kconfig for f2fs, and updates Makefile and Kconfig files
in the fs directory.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/Kconfig | 1 | ||||
-rw-r--r-- | fs/Makefile | 1 | ||||
-rw-r--r-- | fs/f2fs/Kconfig | 52 | ||||
-rw-r--r-- | fs/f2fs/Makefile | 7 |
4 files changed, 61 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index f95ae3a027f3..e352b3785eb2 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -220,6 +220,7 @@ source "fs/pstore/Kconfig" | |||
220 | source "fs/sysv/Kconfig" | 220 | source "fs/sysv/Kconfig" |
221 | source "fs/ufs/Kconfig" | 221 | source "fs/ufs/Kconfig" |
222 | source "fs/exofs/Kconfig" | 222 | source "fs/exofs/Kconfig" |
223 | source "fs/f2fs/Kconfig" | ||
223 | 224 | ||
224 | endif # MISC_FILESYSTEMS | 225 | endif # MISC_FILESYSTEMS |
225 | 226 | ||
diff --git a/fs/Makefile b/fs/Makefile index 1d7af79288a0..9d53192236fc 100644 --- a/fs/Makefile +++ b/fs/Makefile | |||
@@ -123,6 +123,7 @@ obj-$(CONFIG_DEBUG_FS) += debugfs/ | |||
123 | obj-$(CONFIG_OCFS2_FS) += ocfs2/ | 123 | obj-$(CONFIG_OCFS2_FS) += ocfs2/ |
124 | obj-$(CONFIG_BTRFS_FS) += btrfs/ | 124 | obj-$(CONFIG_BTRFS_FS) += btrfs/ |
125 | obj-$(CONFIG_GFS2_FS) += gfs2/ | 125 | obj-$(CONFIG_GFS2_FS) += gfs2/ |
126 | obj-$(CONFIG_F2FS_FS) += f2fs/ | ||
126 | obj-y += exofs/ # Multiple modules | 127 | obj-y += exofs/ # Multiple modules |
127 | obj-$(CONFIG_CEPH_FS) += ceph/ | 128 | obj-$(CONFIG_CEPH_FS) += ceph/ |
128 | obj-$(CONFIG_PSTORE) += pstore/ | 129 | obj-$(CONFIG_PSTORE) += pstore/ |
diff --git a/fs/f2fs/Kconfig b/fs/f2fs/Kconfig new file mode 100644 index 000000000000..37a6b8e9438f --- /dev/null +++ b/fs/f2fs/Kconfig | |||
@@ -0,0 +1,52 @@ | |||
1 | config F2FS_FS | ||
2 | tristate "F2FS filesystem support (EXPERIMENTAL)" | ||
3 | help | ||
4 | F2FS is based on Log-structured File System (LFS), which supports | ||
5 | versatile "flash-friendly" features. The design has been focused on | ||
6 | addressing the fundamental issues in LFS, which are snowball effect | ||
7 | of wandering tree and high cleaning overhead. | ||
8 | |||
9 | Since flash-based storages show different characteristics according to | ||
10 | the internal geometry or flash memory management schemes aka FTL, F2FS | ||
11 | and tools support various parameters not only for configuring on-disk | ||
12 | layout, but also for selecting allocation and cleaning algorithms. | ||
13 | |||
14 | If unsure, say N. | ||
15 | |||
16 | config F2FS_STAT_FS | ||
17 | bool "F2FS Status Information" | ||
18 | depends on F2FS_FS && DEBUG_FS | ||
19 | default y | ||
20 | help | ||
21 | /sys/kernel/debug/f2fs/ contains information about all the partitions | ||
22 | mounted as f2fs. Each file shows the whole f2fs information. | ||
23 | |||
24 | /sys/kernel/debug/f2fs/status includes: | ||
25 | - major file system information managed by f2fs currently | ||
26 | - average SIT information about whole segments | ||
27 | - current memory footprint consumed by f2fs. | ||
28 | |||
29 | config F2FS_FS_XATTR | ||
30 | bool "F2FS extended attributes" | ||
31 | depends on F2FS_FS | ||
32 | default y | ||
33 | help | ||
34 | Extended attributes are name:value pairs associated with inodes by | ||
35 | the kernel or by users (see the attr(5) manual page, or visit | ||
36 | <http://acl.bestbits.at/> for details). | ||
37 | |||
38 | If unsure, say N. | ||
39 | |||
40 | config F2FS_FS_POSIX_ACL | ||
41 | bool "F2FS Access Control Lists" | ||
42 | depends on F2FS_FS_XATTR | ||
43 | select FS_POSIX_ACL | ||
44 | default y | ||
45 | help | ||
46 | Posix Access Control Lists (ACLs) support permissions for users and | ||
47 | gourps beyond the owner/group/world scheme. | ||
48 | |||
49 | To learn more about Access Control Lists, visit the POSIX ACLs for | ||
50 | Linux website <http://acl.bestbits.at/>. | ||
51 | |||
52 | If you don't know what Access Control Lists are, say N | ||
diff --git a/fs/f2fs/Makefile b/fs/f2fs/Makefile new file mode 100644 index 000000000000..27a0820340b9 --- /dev/null +++ b/fs/f2fs/Makefile | |||
@@ -0,0 +1,7 @@ | |||
1 | obj-$(CONFIG_F2FS_FS) += f2fs.o | ||
2 | |||
3 | f2fs-y := dir.o file.o inode.o namei.o hash.o super.o | ||
4 | f2fs-y += checkpoint.o gc.o data.o node.o segment.o recovery.o | ||
5 | f2fs-$(CONFIG_F2FS_STAT_FS) += debug.o | ||
6 | f2fs-$(CONFIG_F2FS_FS_XATTR) += xattr.o | ||
7 | f2fs-$(CONFIG_F2FS_FS_POSIX_ACL) += acl.o | ||