All of lore.kernel.org
 help / color / mirror / Atom feed
* Btrfs and endian convert
@ 2020-04-09  6:27 Qu Wenruo
  2020-04-09  6:53 ` Qu Wenruo
  0 siblings, 1 reply; 5+ messages in thread
From: Qu Wenruo @ 2020-04-09  6:27 UTC (permalink / raw)
  To: u-boot

Hi Marek,

I respect your independent implementation of btrfs inside U-boot, but it
looks like the code is too creative, other than follow the regular btrfs
code.

One of the biggest problem is, there is no convert of on-disk endian and
in-memory endian.

The most obvious proof is the lack of btrfs_disk_key, on-disk
btrfs_disk_key is returned and used against native endian btrfs_key.

Is U-boot only supposed to be run on little endian system?

And, would you mind me to do the full cross port of btrfs-progs code to
U-boot?
I found a lot of practice pretty far away from the common code base of
btrfs-progs and kernel, like using on-disk key pointer a lot (which
should be avoid due to endian convert).

Mind me to re-build the btrfs implementation from scratch?

Thanks,
Qu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200409/b1e5843e/attachment.sig>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-09 13:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09  6:27 Btrfs and endian convert Qu Wenruo
2020-04-09  6:53 ` Qu Wenruo
2020-04-09 13:24   ` Marek Behun
2020-04-09 13:31     ` Qu Wenruo
2020-04-09 13:58       ` Marek Behun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.