<div>Hello Eric: </div>
<div> </div>
<div>&gt;<br>&gt; A tool that can be very helpful here is &quot;pahole&quot; found in the dwarves<br>&gt; package:<br>&gt;</div>
<p>Nice tool.</p>
<p>&gt; <br>&gt; So just to be clear, on 2.6.28, arm eabi logs replay fine on x86_64?<br>&gt;</p>
<p>I don&#39;t have x86_64 machine at hand. Replay arm eabi log on ia32 machine &quot;seems&quot; success (mount &quot;successfully&quot; returns). Actually I guess that&#39;s because 2.6.28 XFS running on ia32 misinterprets unpacked xfs_inode_log_format produced by arm as xfs_inode_log_format_64. And there must be something silently goes wrong on disk after replaying the log.</p>

<div>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 &quot;-s&quot;). Then we solve the xfs-log-cant-migrate-between-archs problem.</div>

<div> </div>
<div>Thanks<br>Eddy</div>