Comment 4 for bug 728977

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

For the Quantal 12.10 kernel, it appears that the following are already enabled:

~/ubuntu-quantal/debian.master/config$ grep -rn "CONFIG_NFS_FSCACHE" *
config.common.ubuntu:3749:CONFIG_NFS_FSCACHE=y

~/ubuntu-quantal/debian.master/config$ grep -rn "CONFIG_CIFS_FSCACHE" *
config.common.ubuntu:871:CONFIG_CIFS_FSCACHE=y

However, CONFIG_AFS_FSCACHE still appears to be disabled at the moment:

~/ubuntu-quantal/debian.master/config$ grep -rn "CONFIG_AFS_FSCACHE" *
config.common.ubuntu:158:# CONFIG_AFS_FSCACHE is not set

Examining CONFIG_AFS_FSCACHE further, it appears it is marked as EXPERIMENTAL. ie:

~/ubuntu-quantal$ grep -A7 "config AFS_FSCACHE" fs/afs/Kconfig config AFS_FSCACHE
 bool "Provide AFS client caching support (EXPERIMENTAL)"
 depends on EXPERIMENTAL
 depends on AFS_FS=m && FSCACHE || AFS_FS=y && FSCACHE=y
 help
   Say Y here if you want AFS data to be cached locally on disk through
   the generic filesystem cache manager

Our default configuration policy is to disable EXPERIMENTAL options until there has been a specific request to enable them and the requested option would result in minimal risk of regression/negative impact. I've subsequently applied the attached patch which enables CONFIG_AFS_FSCACHE=y to the Quantal kernel repo. Thanks.