From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A0E7C433E0 for ; Thu, 4 Feb 2021 07:04:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B329464E4D for ; Thu, 4 Feb 2021 07:04:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233205AbhBDHES (ORCPT ); Thu, 4 Feb 2021 02:04:18 -0500 Received: from mx2.suse.de ([195.135.220.15]:56448 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbhBDHEO (ORCPT ); Thu, 4 Feb 2021 02:04:14 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1612422208; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=NcwHYhXuHym6jP3grhGmMjB+ciojQqUypl7jPfUihGo=; b=NEWxSVjQ72GZY7Qhzs7zyeJZOXpZiUyHFQyCvp0Ei6i+y2AAgxgNjHBDbGpT4Dn3zyl+4m 2grX9Jn6lTDi3w/nPTgbUoq1dX683G/MLRC5Q70C/KD+QPQMgYo39fkmQhaVfB5ULrR4D+ Hy4sgA0cMLn3QM0Qp1e9IlBde9Djmsw= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 239DFABD5 for ; Thu, 4 Feb 2021 07:03:28 +0000 (UTC) From: Qu Wenruo To: linux-btrfs@vger.kernel.org Subject: [PATCH 0/2] btrfs: add proper subpage compress read support Date: Thu, 4 Feb 2021 15:03:22 +0800 Message-Id: <20210204070324.45703-1-wqu@suse.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org 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(-) -- 2.30.0