summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2025-09-08 18:21:47 +0930
committerDavid Sterba <dsterba@suse.com>2025-09-23 08:49:25 +0200
commit4fd188a4fe5877a95e4812617a6c6ae66644427b (patch)
tree41cd8aecb8db6e7dafa9404b876529de35307a1b /fs/btrfs/dev-replace.c
parenta6452b85b3e55aafceb84c25784f25f63ba620b0 (diff)
btrfs: prepare lzo to support bs > ps cases
This involves converting the following functions to use correct folio sizes/shifts: - copy_compress_data_to_page() - lzo_compress_folios() - lzo_decompress_bio() Just like zstd, lzo has some extra incorrect usage of kmap_local_folio() that the offset is always 0. This will not handle HIGHMEM large folios correctly, but those cases are already rejected explicitly so it should not cause problems when bs > ps support is enabled. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions