diff options
author | Phil Sutter <phil@nwl.cc> | 2009-08-23 20:40:50 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2009-08-23 21:06:58 +0200 |
commit | e5940baadbdf76d39ea6079972dbbab9c1c623b1 (patch) | |
tree | ae27c96768a06cf4c016c1d26dcae0b25c6363fb /target/linux/config | |
parent | 31893724962c8b373118780cf710e15bfec6a393 (diff) |
kernel: add aufs2 support
The patches were extracted from the aufs-standalone git tree,
identically named patches are indeed identical.
Diffstat (limited to 'target/linux/config')
-rw-r--r-- | target/linux/config/Config.in.aufs | 93 | ||||
-rw-r--r-- | target/linux/config/Config.in.fs | 1 |
2 files changed, 94 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.aufs b/target/linux/config/Config.in.aufs new file mode 100644 index 000000000..fb63ac931 --- /dev/null +++ b/target/linux/config/Config.in.aufs @@ -0,0 +1,93 @@ +config ADK_KPACKAGE_KMOD_AUFS_FS + prompt "Aufs (Advanced multi layered unification filesystem) support" + tristate + select ADK_KERNEL_EXPERIMENTAL + select FWRT_KPACKAGE_KMOD_EXPORTFS if ADK_KERNEL_AUFS_EXPORT + help + Aufs is a stackable unification filesystem such as Unionfs, + which unifies several directories and provides a merged single + directory. + In the early days, aufs was entirely re-designed and + re-implemented Unionfs Version 1.x series. Introducing many + original ideas, approaches and improvements, it becomes totally + different from Unionfs while keeping the basic features. + +if ADK_KPACKAGE_KMOD_AUFS_FS + +choice + boolean "Maximum number of branches" + default ADK_KERNEL_AUFS_BRANCH_MAX_127 + help + Specifies the maximum number of branches (or member directories) + in a single aufs. The larger value consumes more system + resources and has a minor impact to performance. + +config ADK_KERNEL_AUFS_BRANCH_MAX_127 + bool "127" + +config ADK_KERNEL_AUFS_BRANCH_MAX_511 + bool "511" + +config ADK_KERNEL_AUFS_BRANCH_MAX_1023 + bool "1023" + +config ADK_KERNEL_AUFS_BRANCH_MAX_32767 + bool "32767" + +endchoice + +config ADK_KERNEL_AUFS_HINOTIFY + bool "Use inotify to detect actions on a branch" + select ADK_KERNEL_INOTIFY + help + If you want to modify files on branches directly, eg. bypassing aufs, + and want aufs to detect the changes of them fully, then enable this + option and use 'udba=inotify' mount option. + It will have a negative impact to the performance. + See detail in aufs.5. + +config ADK_KERNEL_AUFS_EXPORT + bool "NFS-exportable aufs" + help + If you want to export your mounted aufs via NFS, then enable this + option. There are several requirements for this configuration. + See detail in aufs.5. + +config ADK_KERNEL_AUFS_SHWH + bool "Show whiteouts" + help + If you want to make the whiteouts in aufs visible, then enable + this option and specify 'shwh' mount option. Although it may + sounds like philosophy or something, but in technically it + simply shows the name of whiteout with keeping its behaviour. + +config ADK_KERNEL_AUFS_BR_RAMFS + bool "Ramfs (initramfs/rootfs) as an aufs branch" + help + If you want to use ramfs as an aufs branch fs, then enable this + Generally tmpfs is recommended. + hibited them to be a branch fs by default, because + s becomes unusable after switch_root or something + y. If you sets initramfs as an aufs branch and boot your + y switch_root, you will meet a problem easily since the + initramfs may be inaccessible. + ou are going to use ramfs as an aufs branch fs without + oot or something, leave it N. + +config ADK_KERNEL_AUFS_BR_FUSE + bool "Fuse fs as an aufs branch" + select ADK_KERNEL_AUFS_POLL + select ADK_KPACKAGE_KMOD_FUSE_FS + help + If you want to use fuse-based userspace filesystem as an aufs + branch fs, then enable this option. + It implements the internal poll(2) operation which is + implemented by fuse only (curretnly). + +config ADK_KERNEL_AUFS_DEBUG + bool "Debug aufs" + help + Enable this to compile aufs internal debug code. + It will have a negative impact to the performance. + +endif diff --git a/target/linux/config/Config.in.fs b/target/linux/config/Config.in.fs index 3e85ee64b..977d99aa2 100644 --- a/target/linux/config/Config.in.fs +++ b/target/linux/config/Config.in.fs @@ -229,5 +229,6 @@ config ADK_KERNEL_INOTIFY_USER source target/linux/config/Config.in.fsnet source target/linux/config/Config.in.nls +source target/linux/config/Config.in.aufs endmenu |