Skip to content

uboot: fs/btrfs: Fix read error on LZO compressed extents

Qu Wenruo linux-btrfs u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2uboot: fs/btrfs: Use LZO_LEN to replace immediate numberfs/btrfs/compression.c+12 -100 replies
2/2uboot: fs/btrfs: Fix LZO false decompression error caused by pending zerofs/btrfs/compression.c+20 -07 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] uboot: fs/btrfs: Fix read error on LZO compressed extents

There is a bug that uboot can't load LZO compressed data extent while kernel can handle it without any problem.

It turns out to be a page boundary case. The 2nd patch is the proper fix, backported from btrfs-progs.

The first patch is just to make my eyes less hurt.

I guess it's time to backport proper code from btrfs-progs, other than using tons of immediate numbers.

Qu Wenruo (2):
uboot: fs/btrfs: Use LZO_LEN to replace immediate number
uboot: fs/btrfs: Fix LZO false decompression error caused by pending
zero

 fs/btrfs/compression.c | 42 ++++++++++++++++++++++++++++++++----------
 1 file changed, 32 insertions(+), 10 deletions(-)
Signature · 1 line
2.25.1