xfs: mark ARM OABI as incompatible in Kconfig
PATCH 1/1 xfs: mark ARM OABI as incompatible in Kconfig
The old ARM OABI's structure alignment quirks break xfs disk structures, let's just move on and disallow it rather than playing whack-a-mole for the infrequent times someone selects this old config, which is usually during "make randconfig" tests.
---
fs/xfs/Kconfig +2 -0
@@ -2,6 +2,8 @@ config XFS_FS tristate "XFS filesystem support" depends on BLOCK + # We don't support OABI structure alignment on ARM + depends on (!ARM || AEABI) select EXPORTFS select LIBCRC32C select FS_IOMAP
Quoted 13 lines · Eric Sandeen
The old ARM OABI's structure alignment quirks break xfs disk structures, let's just move on and disallow it rather than playing whack-a-mole for the infrequent times someone selects this old config, which is usually during "make randconfig" tests.
Signed-off-by Eric Sandeen <[email protected]>---
fs/xfs/Kconfig +0
-0
fs/xfs/Kconfig line 5
Quoted 4 lines
fs/xfs/Kconfig +1
-0@@ -2,6 +2,8 @@ config XFS_FS tristate "XFS filesystem support" depends on BLOCK + # We don't support OABI structure alignment on ARM
Should this limitation be documented in the help screen?
Quoted 5 lines
fs/xfs/Kconfig +1
-0+ depends on (!ARM || AEABI) select EXPORTFS select LIBCRC32C select FS_IOMAP
Quoted 9 lines · Darrick J. Wong
Quoted 8 lines · Eric Sandeen
The old ARM OABI's structure alignment quirks break xfs disk structures, let's just move on and disallow it rather than playing whack-a-mole for the infrequent times someone selects this old config, which is usually during "make randconfig" tests.
Signed-off-by Eric Sandeen <[email protected]>---
Quoted 11 lines
fs/xfs/Kconfig line 5
Quoted 9 lines
fs/xfs/Kconfig +1
-0@@ -2,6 +2,8 @@ config XFS_FS tristate "XFS filesystem support" depends on BLOCK + # We don't support OABI structure alignment on ARMShould this limitation be documented in the help screen?
Yeah probably.
But now looking at
aa2dd0ad4d6d xfs: remove __arch_pack
hch indicates that some non-arm architectures have similar problems, so is there any point to excluding this one config on this one arch?
-Eric
Quoted 8 lines · Eric Sandeen
Yeah probably.
But now looking at
aa2dd0ad4d6dxfs: remove__arch_packhch indicates that some non-arm architectures have similar problems, so is there any point to excluding this one config on this one arch?
Yes, I think we just need to be more careful with our newly added structure layouts and whenever we do a major reorganization of an existing one.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel