Re: XFS filesystem corruption on the arm(el) architecture

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Sandeen
Date: Wednesday, October 1, 2008 - 6:17 pm

Dave Chinner wrote:

You could try undoing this:

/* ARM old ABI has some weird alignment/padding */
#if defined(__arm__) && !defined(__ARM_EABI__)
#define __arch_pack __attribute__((packed))
#else
#define __arch_pack
#endif

and just define __arch_pack to nothing unconditionally, to see if that's
what broke...

Or if someone can provide an xfs.ko, or point "pahole" at it yourself,
and see if xfs_dir2_sf_hdr, xfs_dir2_sf_entry, and xfs_dir2_sf look more
like

http://sandeen.net/xfs-diskformat/xfs-oldabi-arm-pahole-structs
or
http://sandeen.net/xfs-diskformat/xfs-oldabi-fixed-arm-pahole-structs

?

otherwise I will give this a whirl in the emulator again...

Thanks,
-Eric


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
XFS filesystem corruption on the arm(el) architecture, Tobias Frost, (Wed Oct 1, 1:38 pm)
Re: XFS filesystem corruption on the arm(el) architecture, Eric Sandeen, (Wed Oct 1, 6:17 pm)
Re: XFS filesystem corruption on the arm(el) architecture, Martin Michlmayr, (Thu Oct 16, 2:25 pm)
Re: XFS filesystem corruption on the arm(el) architecture, Martin Michlmayr, (Fri Oct 17, 12:01 am)
Re: XFS filesystem corruption on the arm(el) architecture, Gaudenz Steinlin, (Fri Oct 17, 2:46 am)
Re: XFS filesystem corruption on the arm(el) architecture, Martin Michlmayr, (Sat Oct 18, 1:57 am)
Re: XFS filesystem corruption on the arm(el) architecture, Kirill A. Shutemov, (Sat Oct 18, 12:48 pm)
Re: XFS filesystem corruption on the arm(el) architecture, Christoph Hellwig, (Sat Oct 18, 1:09 pm)
Re: XFS filesystem corruption on the arm(el) architecture, Kirill A. Shutemov, (Sat Oct 18, 1:17 pm)
Re: XFS filesystem corruption on the arm(el) architecture, Martin Michlmayr, (Sat Oct 18, 10:12 pm)
Re: XFS filesystem corruption on the arm(el) architecture, Christoph Hellwig, (Sun Oct 19, 2:07 am)
Re: XFS filesystem corruption on the arm(el) architecture, Lennert Buytenhek, (Sun Oct 19, 9:22 am)