Skip to content

btrfs: add proper subpage compress read support

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: make btrfs_submit_compressed_read() to be subpage compatiblefs/btrfs/compression.c+20 -60 replies
2/2btrfs: make check_compressed_csum() to be subpage compatiblefs/btrfs/compression.c+28 -130 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] btrfs: add proper subpage compress read support

During the long time subpage development, I forgot to properly check compression code after just one compression read success during early development.

It turns out that, with current RO support, the compression read needs more modification to make it work.

Thankfully, the patchset is small, and should not cause problems for regular sectorsize == PAGE_SIZE case.

Thanks Anand for exposing the problems.

Qu Wenruo (2):
btrfs: make btrfs_submit_compressed_read() to be subpage compatible
btrfs: make check_compressed_csum() to be subpage compatible

 fs/btrfs/compression.c | 67 ++++++++++++++++++++++++++++++------------
 1 file changed, 48 insertions(+), 19 deletions(-)
Signature · 1 line
2.30.0