Hi all, Here's a bunch of patches fixing the AGFL padding problem once and for all. When the v5 disk format was rolled out, the AGFL header definition had a different padding size on 32-bit vs 64-bit systems, with the result that XFS_AGFL_SIZE reports different maximum lengths depending on the compiler. In Linux 4.5 we fixed the structure definition, but this has lead to sporadic corruption reports on filesystems that were unmounted with a pre-4.5 kernel and a wrapped AGFL and then remounted on a 4.5+ kernel. To deal with these corruption problems, we introduce a new ROCOMPAT feature bit to indicate that the AGFL has been scanned and guaranteed not to wrap. We then amend the mounting code to find broken wrapping, fix the wrapping, and (unconditionally) set the new ROCOMPAT flag. This totally blows since old kernels will no longer mount(!) the filesystem after we do this, so either we need to have a massive upstream/LTS kernel/xfsprogs flag day or find a less crappy solution. No, this is NOT going into 4.16. --D -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html