Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ovl: update Kconfig texts

Add some hints about overlayfs kernel config options.

Enabling NFS export by default is especially recommended against, as it
incurs a performance penalty even if the filesystem is not actually
exported.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>

+14
+14
fs/overlayfs/Kconfig
··· 24 24 an overlay which has redirects on a kernel that doesn't support this 25 25 feature will have unexpected results. 26 26 27 + If unsure, say N. 28 + 27 29 config OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW 28 30 bool "Overlayfs: follow redirects even if redirects are turned off" 29 31 default y ··· 34 32 Disable this to get a possibly more secure configuration, but that 35 33 might not be backward compatible with previous kernels. 36 34 35 + If backward compatibility is not an issue, then it is safe and 36 + recommended to say N here. 37 + 37 38 For more information, see Documentation/filesystems/overlayfs.txt 39 + 40 + If unsure, say Y. 38 41 39 42 config OVERLAY_FS_INDEX 40 43 bool "Overlayfs: turn on inodes index feature by default" ··· 57 50 Note, that the inodes index feature is not backward compatible. 58 51 That is, mounting an overlay which has an inodes index on a kernel 59 52 that doesn't support this feature will have unexpected results. 53 + 54 + If unsure, say N. 60 55 61 56 config OVERLAY_FS_NFS_EXPORT 62 57 bool "Overlayfs: turn on NFS export feature by default" ··· 81 72 Note, that the NFS export feature is not backward compatible. 82 73 That is, mounting an overlay which has a full index on a kernel 83 74 that doesn't support this feature will have unexpected results. 75 + 76 + Most users should say N here and enable this feature on a case-by- 77 + case basis with the "nfs_export=on" mount option. 78 + 79 + Say N unless you fully understand the consequences.