16da0b38fSAlexey Dobriyanconfig EXT4_FS 26da0b38fSAlexey Dobriyan tristate "The Extended 4 (ext4) filesystem" 36da0b38fSAlexey Dobriyan select JBD2 46da0b38fSAlexey Dobriyan select CRC16 56da0b38fSAlexey Dobriyan help 66da0b38fSAlexey Dobriyan This is the next generation of the ext3 filesystem. 76da0b38fSAlexey Dobriyan 86da0b38fSAlexey Dobriyan Unlike the change from ext2 filesystem to ext3 filesystem, 96da0b38fSAlexey Dobriyan the on-disk format of ext4 is not forwards compatible with 106da0b38fSAlexey Dobriyan ext3; it is based on extent maps and it supports 48-bit 116da0b38fSAlexey Dobriyan physical block numbers. The ext4 filesystem also supports delayed 126da0b38fSAlexey Dobriyan allocation, persistent preallocation, high resolution time stamps, 136da0b38fSAlexey Dobriyan and a number of other features to improve performance and speed 146da0b38fSAlexey Dobriyan up fsck time. For more information, please see the web pages at 156da0b38fSAlexey Dobriyan http://ext4.wiki.kernel.org. 166da0b38fSAlexey Dobriyan 176da0b38fSAlexey Dobriyan The ext4 filesystem will support mounting an ext3 186da0b38fSAlexey Dobriyan filesystem; while there will be some performance gains from 196da0b38fSAlexey Dobriyan the delayed allocation and inode table readahead, the best 206da0b38fSAlexey Dobriyan performance gains will require enabling ext4 features in the 21692105b8SMatt LaPlante filesystem, or formatting a new filesystem as an ext4 226da0b38fSAlexey Dobriyan filesystem initially. 236da0b38fSAlexey Dobriyan 246da0b38fSAlexey Dobriyan To compile this file system support as a module, choose M here. The 256da0b38fSAlexey Dobriyan module will be called ext4. 266da0b38fSAlexey Dobriyan 276da0b38fSAlexey Dobriyan If unsure, say N. 286da0b38fSAlexey Dobriyan 2924b58424STheodore Ts'oconfig EXT4_USE_FOR_EXT23 3024b58424STheodore Ts'o bool "Use ext4 for ext2/ext3 file systems" 3184c66473SDavid Howells depends on EXT4_FS 32a214238dSTheodore Ts'o depends on EXT3_FS=n || EXT2_FS=n 3324b58424STheodore Ts'o default y 3424b58424STheodore Ts'o help 3524b58424STheodore Ts'o Allow the ext4 file system driver code to be used for ext2 or 3624b58424STheodore Ts'o ext3 file system mounts. This allows users to reduce their 3724b58424STheodore Ts'o compiled kernel size by using one file system driver for 3824b58424STheodore Ts'o ext2, ext3, and ext4 file systems. 3924b58424STheodore Ts'o 406da0b38fSAlexey Dobriyanconfig EXT4_FS_XATTR 416da0b38fSAlexey Dobriyan bool "Ext4 extended attributes" 426da0b38fSAlexey Dobriyan depends on EXT4_FS 436da0b38fSAlexey Dobriyan default y 446da0b38fSAlexey Dobriyan help 456da0b38fSAlexey Dobriyan Extended attributes are name:value pairs associated with inodes by 466da0b38fSAlexey Dobriyan the kernel or by users (see the attr(5) manual page, or visit 476da0b38fSAlexey Dobriyan <http://acl.bestbits.at/> for details). 486da0b38fSAlexey Dobriyan 496da0b38fSAlexey Dobriyan If unsure, say N. 506da0b38fSAlexey Dobriyan 516da0b38fSAlexey Dobriyan You need this for POSIX ACL support on ext4. 526da0b38fSAlexey Dobriyan 536da0b38fSAlexey Dobriyanconfig EXT4_FS_POSIX_ACL 546da0b38fSAlexey Dobriyan bool "Ext4 POSIX Access Control Lists" 556da0b38fSAlexey Dobriyan depends on EXT4_FS_XATTR 566da0b38fSAlexey Dobriyan select FS_POSIX_ACL 576da0b38fSAlexey Dobriyan help 586da0b38fSAlexey Dobriyan POSIX Access Control Lists (ACLs) support permissions for users and 596da0b38fSAlexey Dobriyan groups beyond the owner/group/world scheme. 606da0b38fSAlexey Dobriyan 616da0b38fSAlexey Dobriyan To learn more about Access Control Lists, visit the POSIX ACLs for 626da0b38fSAlexey Dobriyan Linux website <http://acl.bestbits.at/>. 636da0b38fSAlexey Dobriyan 646da0b38fSAlexey Dobriyan If you don't know what Access Control Lists are, say N 656da0b38fSAlexey Dobriyan 666da0b38fSAlexey Dobriyanconfig EXT4_FS_SECURITY 676da0b38fSAlexey Dobriyan bool "Ext4 Security Labels" 686da0b38fSAlexey Dobriyan depends on EXT4_FS_XATTR 696da0b38fSAlexey Dobriyan help 706da0b38fSAlexey Dobriyan Security labels support alternative access control models 716da0b38fSAlexey Dobriyan implemented by security modules like SELinux. This option 726da0b38fSAlexey Dobriyan enables an extended attribute handler for file security 736da0b38fSAlexey Dobriyan labels in the ext4 filesystem. 746da0b38fSAlexey Dobriyan 756da0b38fSAlexey Dobriyan If you are not using a security module that requires using 766da0b38fSAlexey Dobriyan extended attributes for file security labels, say N. 776ba495e9STheodore Ts'o 786ba495e9STheodore Ts'oconfig EXT4_DEBUG 796ba495e9STheodore Ts'o bool "EXT4 debugging support" 806ba495e9STheodore Ts'o depends on EXT4_FS 816ba495e9STheodore Ts'o help 826ba495e9STheodore Ts'o Enables run-time debugging support for the ext4 filesystem. 836ba495e9STheodore Ts'o 846ba495e9STheodore Ts'o If you select Y here, then you will be able to turn on debugging 856ba495e9STheodore Ts'o with a command such as "echo 1 > /sys/kernel/debug/ext4/mballoc-debug" 86