Nice. Works well. Thanks, Anand On 2/4/2021 3:03 PM, Qu Wenruo wrote:
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(-)