Pavel Fedin wrote:
Third, this is the question fot Matthew, about annotating endianess in on-disk structures. What if the filesystem is bi-endian? Original SFS (http://sourceforge.net/projects/smartfilesystem) is bi-endian. I still don't know how much of support for little-endian version is implemented in Linux version.
This issue has come up before (over Squashfs which used to be 'bi-endian'). The general consensus is that all Linux filesystems should be one endianness only, as it potentially simplifies code and makes it more efficient (i.e. the swap code can be conditionally compiled). As SFS is not a native Linux filesystem you could argue that the bi-endian layout is a legacy feature over which you have no control. However, unless there are a lot of little-endian SFS filesystems out there, supporting them is likely to give you more pain than it's worth, and it will present an additional barrier to mainlining. Phillip -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html