diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2015-02-16 18:59:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-16 20:56:04 -0500 |
commit | 6cd176a51e52e5218b1aa97e1ec916bac25a9b7e (patch) | |
tree | aa4154016ecea4e63ab0dda6e00ada1d718d31df /fs/Kconfig | |
parent | 07642381d5ad800d021bb80842bfebb100b12fc2 (diff) |
vfs,ext2: remove CONFIG_EXT2_FS_XIP and rename CONFIG_FS_XIP to CONFIG_FS_DAX
The fewer Kconfig options we have the better. Use the generic
CONFIG_FS_DAX to enable XIP support in ext2 as well as in the core.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Cc: Boaz Harrosh <boaz@plexistor.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index a6bb530b1ec5..5331497d5b25 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -13,13 +13,6 @@ if BLOCK | |||
13 | source "fs/ext2/Kconfig" | 13 | source "fs/ext2/Kconfig" |
14 | source "fs/ext3/Kconfig" | 14 | source "fs/ext3/Kconfig" |
15 | source "fs/ext4/Kconfig" | 15 | source "fs/ext4/Kconfig" |
16 | |||
17 | config FS_XIP | ||
18 | # execute in place | ||
19 | bool | ||
20 | depends on EXT2_FS_XIP | ||
21 | default y | ||
22 | |||
23 | source "fs/jbd/Kconfig" | 16 | source "fs/jbd/Kconfig" |
24 | source "fs/jbd2/Kconfig" | 17 | source "fs/jbd2/Kconfig" |
25 | 18 | ||
@@ -40,6 +33,20 @@ source "fs/ocfs2/Kconfig" | |||
40 | source "fs/btrfs/Kconfig" | 33 | source "fs/btrfs/Kconfig" |
41 | source "fs/nilfs2/Kconfig" | 34 | source "fs/nilfs2/Kconfig" |
42 | 35 | ||
36 | config FS_DAX | ||
37 | bool "Direct Access (DAX) support" | ||
38 | depends on MMU | ||
39 | help | ||
40 | Direct Access (DAX) can be used on memory-backed block devices. | ||
41 | If the block device supports DAX and the filesystem supports DAX, | ||
42 | then you can avoid using the pagecache to buffer I/Os. Turning | ||
43 | on this option will compile in support for DAX; you will need to | ||
44 | mount the filesystem using the -o dax option. | ||
45 | |||
46 | If you do not have a block device that is capable of using this, | ||
47 | or if unsure, say N. Saying Y will increase the size of the kernel | ||
48 | by about 5kB. | ||
49 | |||
43 | endif # BLOCK | 50 | endif # BLOCK |
44 | 51 | ||
45 | # Posix ACL utility routines | 52 | # Posix ACL utility routines |