From: Hauke Mehrtens Date: Sun, 21 Feb 2010 20:14:24 +0000 (+0000) Subject: ext4: add Support for large (2TB+) block devices and files X-Git-Tag: reboot~20957 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ad11f6881a223a45e6f43e442c9d4be1c51d7f33;p=openwrt%2Fstaging%2Flynxis.git ext4: add Support for large (2TB+) block devices and files CONFIG_LBDAF is needed for mounting ext4 filesystems with huge_file enabled. This is the default option. This closes #6714. SVN-Revision: 19799 --- diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk index 08d814d6ab..c86ef34e3b 100644 --- a/package/kernel/modules/fs.mk +++ b/package/kernel/modules/fs.mk @@ -61,7 +61,7 @@ $(eval $(call KernelPackage,fs-ntfs)) define KernelPackage/fs-mbcache SUBMENU:=$(FS_MENU) - TITLE:=mbcache (used by ext2/ext3) + TITLE:=mbcache (used by ext2/ext3/ext4) KCONFIG:=CONFIG_FS_MBCACHE ifneq ($(CONFIG_FS_MBCACHE),) FILES:=$(LINUX_DIR)/fs/mbcache.$(LINUX_KMOD_SUFFIX) @@ -115,17 +115,16 @@ define KernelPackage/fs-ext4 SUBMENU:=$(FS_MENU) TITLE:=EXT4 filesystem support KCONFIG:= \ - CONFIG_EXT4DEV_COMPAT=y \ CONFIG_EXT4_FS_XATTR=y \ CONFIG_EXT4_FS_POSIX_ACL=y \ CONFIG_EXT4_FS_SECURITY=y \ CONFIG_EXT4_FS \ CONFIG_JBD2 - DEPENDS:= @LINUX_2_6 +kmod-crc16 $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache) + DEPENDS:= @LINUX_2_6 +kmod-crc16 +kmod-crc32 $(if $(DUMP)$(CONFIG_FS_MBCACHE),+kmod-fs-mbcache) FILES:= \ $(LINUX_DIR)/fs/ext4/ext4.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/fs/jbd2/jbd2.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,30,jbd2 $(EXT4_NAME)) + AUTOLOAD:=$(call AutoLoad,30,jbd2 ext4) endef define KernelPackage/fs-ext4/description diff --git a/target/linux/generic-2.6/config-2.6.25 b/target/linux/generic-2.6/config-2.6.25 index 3ac9274a2b..3ee9904321 100644 --- a/target/linux/generic-2.6/config-2.6.25 +++ b/target/linux/generic-2.6/config-2.6.25 @@ -758,7 +758,7 @@ CONFIG_JOLIET=y CONFIG_KMOD=y # CONFIG_LAPB is not set # CONFIG_LASAT is not set -# CONFIG_LBD is not set +CONFIG_LBD=y # CONFIG_LDM_PARTITION is not set CONFIG_LEDS_CLASS=y CONFIG_LEDS_TRIGGER_DEFAULT_ON=y diff --git a/target/linux/generic-2.6/config-2.6.30 b/target/linux/generic-2.6/config-2.6.30 index 3de18d7695..2973ff532b 100644 --- a/target/linux/generic-2.6/config-2.6.30 +++ b/target/linux/generic-2.6/config-2.6.30 @@ -1047,7 +1047,7 @@ CONFIG_KMOD=y # CONFIG_LAPB is not set # CONFIG_LASAT is not set # CONFIG_LATENCYTOP is not set -# CONFIG_LBD is not set +CONFIG_LBD=y # CONFIG_LCD_LTV350QV is not set # CONFIG_LCD_TDO24M is not set # CONFIG_LCD_VGG2432A4 is not set diff --git a/target/linux/generic-2.6/config-2.6.31 b/target/linux/generic-2.6/config-2.6.31 index 5d571fe664..6c8c4d36b7 100644 --- a/target/linux/generic-2.6/config-2.6.31 +++ b/target/linux/generic-2.6/config-2.6.31 @@ -1049,8 +1049,7 @@ CONFIG_KMOD=y # CONFIG_LAPB is not set # CONFIG_LASAT is not set # CONFIG_LATENCYTOP is not set -# CONFIG_LBDAF is not set -# CONFIG_LBD is not set +CONFIG_LBDAF=y # CONFIG_LCD_LTV350QV is not set # CONFIG_LCD_TDO24M is not set # CONFIG_LCD_VGG2432A4 is not set diff --git a/target/linux/generic-2.6/config-2.6.32 b/target/linux/generic-2.6/config-2.6.32 index ed632a8ed1..8f6efbee61 100644 --- a/target/linux/generic-2.6/config-2.6.32 +++ b/target/linux/generic-2.6/config-2.6.32 @@ -1108,8 +1108,7 @@ CONFIG_KMOD=y # CONFIG_LAPB is not set # CONFIG_LASAT is not set # CONFIG_LATENCYTOP is not set -# CONFIG_LBDAF is not set -# CONFIG_LBD is not set +CONFIG_LBDAF=y # CONFIG_LDM_PARTITION is not set # CONFIG_LEDS_ALIX is not set # CONFIG_LEDS_BD2802 is not set