From: Eric Sandeen <sandeen@sandeen.net>
To: Eddy Zhao <eddy.y.zhao@gmail.com>
Cc: Lachlan McIlroy <lmcilroy@redhat.com>, xfs@oss.sgi.com
Subject: Re: BUG REPORT: XFS LOG FORWARD COMPATIBILITY PROBLEM
Date: Wed, 29 Jul 2009 10:14:51 -0500 [thread overview]
Message-ID: <4A70676B.4090105@sandeen.net> (raw)
In-Reply-To: <b094161c0907290512q26efb74jc31f72ff7971210b@mail.gmail.com>
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
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2009-07-29 15:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <362522677.1010811248671789619.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-07-27 5:17 ` BUG REPORT: XFS LOG FORWARD COMPATIBILITY PROBLEM Lachlan McIlroy
2009-07-28 12:50 ` Eddy Zhao
2009-07-28 14:21 ` Eric Sandeen
2009-07-28 14:59 ` Eddy Zhao
2009-07-28 16:01 ` Eric Sandeen
2009-07-29 12:12 ` Eddy Zhao
2009-07-29 13:03 ` Eddy Zhao
2009-07-29 13:11 ` Eddy Zhao
2009-07-29 13:45 ` Eddy Zhao
2009-07-29 15:14 ` Eric Sandeen [this message]
2009-07-30 1:25 ` Eddy Zhao
[not found] <1983390176.948321248423442558.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-07-24 8:22 ` Lachlan McIlroy
2009-07-24 11:04 ` Eddy Zhao
2009-07-24 13:42 ` Eric Sandeen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A70676B.4090105@sandeen.net \
--to=sandeen@sandeen.net \
--cc=eddy.y.zhao@gmail.com \
--cc=lmcilroy@redhat.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox