All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] uboot: fs/btrfs: Fix read error on LZO compressed extents
@ 2020-03-19 12:30 ` Qu Wenruo
  0 siblings, 0 replies; 28+ messages in thread
From: Qu Wenruo @ 2020-03-19 12:30 UTC (permalink / raw)
  To: u-boot; +Cc: linux-btrfs

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 28+ messages in thread
* [PATCH 0/2] uboot: fs/btrfs: Fix read error on LZO compressed extents
@ 2020-03-19 12:33 Qu Wenruo
  2020-03-19 12:33   ` Qu Wenruo
  0 siblings, 1 reply; 28+ messages in thread
From: Qu Wenruo @ 2020-03-19 12:33 UTC (permalink / raw)
  To: u-boot; +Cc: linux-btrfs

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(-)

-- 
2.25.1


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

end of thread, other threads:[~2020-03-25 11:32 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19 12:30 [PATCH 0/2] uboot: fs/btrfs: Fix read error on LZO compressed extents Qu Wenruo
2020-03-19 12:30 ` Qu Wenruo
2020-03-19 12:30 ` [PATCH 1/2] uboot: fs/btrfs: Use LZO_LEN to replace immediate number Qu Wenruo
2020-03-19 12:30   ` Qu Wenruo
2020-03-19 12:30 ` [PATCH 2/2] uboot: fs/btrfs: Fix LZO false decompression error caused by pending zero Qu Wenruo
2020-03-19 12:30   ` Qu Wenruo
2020-03-19 13:33   ` Matthias Brugger
2020-03-19 13:33     ` Matthias Brugger
2020-03-19 13:56     ` David Sterba
2020-03-19 13:56       ` David Sterba
2020-03-19 14:34       ` Matthias Brugger
2020-03-19 14:34         ` Matthias Brugger
2020-03-19 16:28         ` David Sterba
2020-03-19 16:28           ` David Sterba
2020-03-24 11:03           ` Qu Wenruo
2020-03-24 11:03             ` Qu Wenruo
2020-03-25  7:58             ` Marek Behun
2020-03-25  7:58               ` Marek Behun
2020-03-24 11:03           ` Qu Wenruo
2020-03-24 11:03             ` Qu Wenruo
2020-03-19 12:33 [PATCH 0/2] uboot: fs/btrfs: Fix read error on LZO compressed extents Qu Wenruo
2020-03-19 12:33 ` [PATCH 2/2] uboot: fs/btrfs: Fix LZO false decompression error caused by pending zero Qu Wenruo
2020-03-19 12:33   ` Qu Wenruo
2020-03-25  8:09   ` Marek Behun
2020-03-25  8:27     ` Qu Wenruo
2020-03-25 11:00       ` Marek Behun
2020-03-25 11:10         ` Marek Behun
2020-03-25 11:32         ` Qu Wenruo
2020-03-25 11:32           ` Qu Wenruo

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.