Skip to contentSkip to conversation

patch to fix XFS recovery on sparc64

DISCUSSION Nicolas Boullis 2 participants 2 messages May 15, 2004 – May 27, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I guess I'm not the only one who has been hit by this bug on sparc64: on XFS recovery, the kernel freezes for several minutes, and then breaks in some semi-random way.

After much investigation, I discovered that the bug lied in the xfs_contig_bits function in xfs_bit.c; that function is broken on 64-bit big-endian architectures. The attached patch is an attempt to fix that.

Any comment about this patch? Any idea where I should try to push it?

Regards,

Nicolas

#1 lore raw
Quoted 9 lines · On May-15 2004, Sat, 04:07 +0200 Nicolas Boullis <[email protected]> wrote:

I guess I'm not the only one who has been hit by this bug on sparc64: on XFS recovery, the kernel freezes for several minutes, and then breaks in some semi-random way.

After much investigation, I discovered that the bug lied in the xfs_contig_bits function in xfs_bit.c; that function is broken on 64-bit big-endian architectures. The attached patch is an attempt to fix that.

Any comment about this patch? Any idea where I should try to push it?

Try discussing the problem with Nathan Scott <[email protected]>.

Signature · 1 line
Tomas Szepe <[email protected]>