BUG REPORT: XFS LOG FORWARD COMPATIBILITY PROBLEM
Eric Sandeen
sandeen at sandeen.net
Wed Jul 29 10:14:51 CDT 2009
Eddy Zhao wrote:
...
> During fixing the problem, I find it is difficult to change the code to
> commit packed log item (restricted by xfs_log_iovec_t mechanism). If we
> could somehow change this piece of code to use packed structure. The
> endianess problem could be solved by add an byte-swap option to
> xfs_repair (like e2fsck "-s"). Then we solve the
> xfs-log-cant-migrate-between-archs problem.
Well, to be honest, the restriction of a clean log when migrating an xfs
filesystem between systems of differing endianness was design decision.
And xfs userspace can't replay any log, native endian or not. If it
could, then perhaps doing the swapping in userspace would be a migration
option. If you're signing up to make xfs_repair replay logs, I'm sure
we'd welcome the patch. :)
-Eric
> Thanks
> Eddy
More information about the xfs
mailing list