Skip to contentSkip to conversation

btrfs on Big Endian systems - anyone?

DISCUSSION Andrei Borzenkov 2 participants 4 messages Sep 27, 2014 – Sep 28, 2014

lore
Share & tools
lore
#0 lore raw

I am not able to access btrfs on PowerPC. I did not test all of them, but other filesystems I tried are OK. Looking at platforms, PPC seems to be the only BE platform widely used for Linux; there are SPARC and MIPS but I doubt they use btrfs often.

It sounds like missing endian conversion somewhere; any idea how it can be found without learning btrfs by heart? :)

#1 lore raw
Quoted 7 lines · Andrei Borzenkov

I am not able to access btrfs on PowerPC. I did not test all of them, but other filesystems I tried are OK. Looking at platforms, PPC seems to be the only BE platform widely used for Linux; there are SPARC and MIPS but I doubt they use btrfs often.

It sounds like missing endian conversion somewhere; any idea how it can be found without learning btrfs by heart? :)

Can you reproduce it in grub-fstest from userspace? That would let you use gdb et al.

Signature · 1 line
Colin Watson                                       [[email protected]]
#2 lore raw

В Sat, 27 Sep 2014 09:37:37 +0100
Colin Watson <[email protected]> пишет:

Quoted 6 lines · Andrei Borzenkov
Quoted 5 lines

I am not able to access btrfs on PowerPC. I did not test all of them, but other filesystems I tried are OK. Looking at platforms, PPC seems to be the only BE platform widely used for Linux; there are SPARC and MIPS but I doubt they use btrfs often.

Quoted 6 lines
Quoted 2 lines

It sounds like missing endian conversion somewhere; any idea how it can be found without learning btrfs by heart? :)

Can you reproduce it in grub-fstest from userspace? That would let you use gdb et al.

Unfortunately I do not have PPC userspace available ...

#3 lore raw
In reply to Andrei Borzenkov

В Sat, 27 Sep 2014 09:48:20 +0400
Andrei Borzenkov <[email protected]> пишет:

Quoted 7 lines

I am not able to access btrfs on PowerPC. I did not test all of them, but other filesystems I tried are OK. Looking at platforms, PPC seems to be the only BE platform widely used for Linux; there are SPARC and MIPS but I doubt they use btrfs often.

It sounds like missing endian conversion somewhere; any idea how it can be found without learning btrfs by heart? :)

Forget it. It is already fixed in GIT, just that our sources missed this patch. Sorry for the noise.