Skip to contentSkip to conversation

ARM: socfpga_defconfig: enable support for large block devices

PATCH Superseded Andrey Zhizhikin 2 participants 4 messages Feb 22, 2019 – Feb 27, 2019

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: socfpga_defconfig: enable support for large block devices

Enable CONFIG_LBDAF, which is required by ext4 fs. This option could hanle both ext3 and ext4, and ex4 requires this option to be enabled, otherwise the filesystem is mounted RO mode.

---
 arch/arm/configs/socfpga_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/socfpga_defconfig +1 -1
index 08d1b3e11d68..b4b387486cd9 100644
@@ -21,7 +21,7 @@ CONFIG_NEON=y
 CONFIG_OPROFILE=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
-# CONFIG_LBDAF is not set
+CONFIG_LBDAF=y
 # CONFIG_BLK_DEV_BSG is not set
 CONFIG_NET=y
 CONFIG_PACKET=y
Signature · 1 line
2.17.1
maintainer
#1 lore raw

Hi Andrey,

Quoted 14 lines · Andrey Zhizhikin

Enable CONFIG_LBDAF, which is required by ext4 fs. This option could hanle both ext3 and ext4, and ex4 requires this option to be enabled, otherwise the filesystem is mounted RO mode.

---
 arch/arm/configs/socfpga_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/socfpga_defconfig +0 -0
index 08d1b3e11d68..b4b387486cd9 100644

arch/arm/configs/socfpga_defconfig CONFIG_NEON=y · line 24

Quoted 4 lines
arch/arm/configs/socfpga_defconfig +0 -1
@@ -21,7 +21,7 @@ CONFIG_NEON=y
 CONFIG_OPROFILE=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
-# CONFIG_LBDAF is not set

CONFIG_LDBAF is turned on by default for 32-bit. So all you have to do is remove this line.

Thanks,
Dinh

#2 lore raw

Hello Dinh,

Quoted 13 lines · Dinh Nguyen

Hi Andrey,

Quoted 9 lines · Andrey Zhizhikin

Enable CONFIG_LBDAF, which is required by ext4 fs. This option could hanle both ext3 and ext4, and ex4 requires this option to be enabled, otherwise the filesystem is mounted RO mode.

---
 arch/arm/configs/socfpga_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 12 lines

arch/arm/configs/socfpga_defconfig CONFIG_NEON=y · line 24

Quoted 9 lines
arch/arm/configs/socfpga_defconfig +0 -1
index 08d1b3e11d68..b4b387486cd9 100644
@@ -21,7 +21,7 @@ CONFIG_NEON=y
 CONFIG_OPROFILE=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
-# CONFIG_LBDAF is not set

CONFIG_LDBAF is turned on by default for 32-bit. So all you have to do is remove this line.

Thanks a lot for clarifications here! I suspected that it was the case, just needed a confirmation here.
Is it possible we would have this config option enabled for socfpga_defconfig? If you would agree, then I prepare a separate patch to have the "CONFIG_LBDAF is not set" removed.

Quoted 3 lines

Thanks,
Dinh

Thanks a lot!

--
Andrey.

maintainer
#3 lore raw
Quoted 29 lines · Andrey Zhizhikin

Hello Dinh,

Quoted 13 lines · Dinh Nguyen

Hi Andrey,

Quoted 9 lines · Andrey Zhizhikin

Enable CONFIG_LBDAF, which is required by ext4 fs. This option could hanle both ext3 and ext4, and ex4 requires this option to be enabled, otherwise the filesystem is mounted RO mode.

---
 arch/arm/configs/socfpga_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 12 lines

arch/arm/configs/socfpga_defconfig CONFIG_NEON=y · line 24

Quoted 9 lines
arch/arm/configs/socfpga_defconfig +0 -1
index 08d1b3e11d68..b4b387486cd9 100644
@@ -21,7 +21,7 @@ CONFIG_NEON=y
 CONFIG_OPROFILE=y
 CONFIG_MODULES=y
 CONFIG_MODULE_UNLOAD=y
-# CONFIG_LBDAF is not set

CONFIG_LDBAF is turned on by default for 32-bit. So all you have to do is remove this line.

Quoted 5 lines

Thanks a lot for clarifications here! I suspected that it was the case, just needed a confirmation here.
Is it possible we would have this config option enabled for socfpga_defconfig? If you would agree, then I prepare a separate patch to have the "CONFIG_LBDAF is not set" removed.

Yes, that's what I was alluding to.

Dinh