diff options
author | David Howells <dhowells@redhat.com> | 2009-04-03 11:42:36 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2009-04-03 11:42:36 -0400 |
commit | 06b3db1b9bccdc8c2c743122a89745279e5ecc46 (patch) | |
tree | b60850bd899c1a87b5b372cfbf1e72cf380c862a /fs/Kconfig | |
parent | 0dfc41d1efcc4180abfd32f68f0ade540e636ff6 (diff) |
FS-Cache: Add main configuration option, module entry points and debugging
Add the main configuration option, allowing FS-Cache to be selected; the
module entry and exit functions and the debugging stuff used by these patches.
The two configuration options added are:
CONFIG_FSCACHE
CONFIG_FSCACHE_DEBUG
The first enables the facility, and the second makes the debugging statements
enableable through the "debug" module parameter. The value of this parameter
is a bitmask as described in:
Documentation/filesystems/caching/fscache.txt
The module can be loaded at this point, but all it will do at this point in
the patch series is to start up the slow work facility and shut it down again.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Tested-by: Daire Byrne <Daire.Byrne@framestore.com>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index cef8b18ceaa3..3942df6ad04f 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -66,6 +66,12 @@ config GENERIC_ACL | |||
66 | bool | 66 | bool |
67 | select FS_POSIX_ACL | 67 | select FS_POSIX_ACL |
68 | 68 | ||
69 | menu "Caches" | ||
70 | |||
71 | source "fs/fscache/Kconfig" | ||
72 | |||
73 | endmenu | ||
74 | |||
69 | if BLOCK | 75 | if BLOCK |
70 | menu "CD-ROM/DVD Filesystems" | 76 | menu "CD-ROM/DVD Filesystems" |
71 | 77 | ||