Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1578972rwi; Fri, 14 Oct 2022 22:40:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4feCThJbpBLzTlP6RNlHP9p1jAw+Rd35LWX9NKb1zsHncSTpbF/uYHHAHxY3/u5WTZJbAH X-Received: by 2002:a17:907:7b95:b0:72f:9c64:4061 with SMTP id ne21-20020a1709077b9500b0072f9c644061mr941191ejc.351.1665812449957; Fri, 14 Oct 2022 22:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665812449; cv=none; d=google.com; s=arc-20160816; b=JXMJjbXOcvPNYIU/4iPCeenCjDsNvAL6AyrHKcJr4n2yMMoLRB5WPr+bBgYeVWMAQs XoYS7kXmH4CgsrPpL97XsH66RlWMQhu7uPLL3w3wlUzxE+ecxXNc8WP81WAYoiCK5BEf Jngc/M19zYbnjcYEsChRR1rJLQLmFaMDAaJLkWKHIBfs7SA4Wd911r5RO6l/xAgaWkPL RAsK1GpV6p6PD5qnOIcK1KpC/aY3gqerB5cEjFTzgc795+ATQL8Vs2+RAyNsCGPE/Hb2 e/NaQhx1Lk+QXuwMKP/9ipcU0MCqI6sPsn/WsZQwHTaF/V9DC81Cq/yGX7i++DoYxqDR pZlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=V4PACGVClqXKDjVKYH0mIJeyaqCRgaMgifaJsD1BXow=; b=b9jNXC8ACunifI5PkA05L5UDqmC1zOOqnhweUrMOjhN1WJcnBIY6+xGqqWaaqYpy1N a1R7GXnAUy/iW7e1PMU9HxKMSCzENOi7zGTzUoxKt2Go3hyfGgOU5ZmgU6dsTAQ0jE0m YGUtdTK4SDi+T8A3f7P39O2RAdaYQUbg3n93T9bIFO/HCRz8sN6Ki8M4WFYK2ki2WJvq cg54SfOSnIeZK+YRHe6z6MzuxUkyTbEnOTdKUwDTrL2jNIOuR7bCo92YbkhbrZ0h7U8o pm7kjpW0Dwt0/ViBUhMgeGw88iKOcvzM1e/wFTi2y/iNbVoxG3Vda21Xl7yki/5bmPJE KAXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VaFp1o9j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs13-20020a1709073e8d00b0078d9c0e8971si3805297ejc.752.2022.10.14.22.40.06; Fri, 14 Oct 2022 22:40:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VaFp1o9j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229622AbiJOCvg (ORCPT + 99 others); Fri, 14 Oct 2022 22:51:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbiJOCvd (ORCPT ); Fri, 14 Oct 2022 22:51:33 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C9F591848 for ; Fri, 14 Oct 2022 19:51:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E9786B82343 for ; Sat, 15 Oct 2022 02:51:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC641C433B5; Sat, 15 Oct 2022 02:51:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665802290; bh=VUzYc7vln6MW5boe7TlZjCsMEETvQw6gIcTI5Irv10A=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=VaFp1o9jeNsXGBtWMuHkRhPSAuNTk6/BP2W0Rx5ssqxsgj1GOctx9A2eRcGfDTCzF oz5kIAulDIIUpSO2i4NlsXq/slKVuaoMtrvcJXOkUIfRM06DL7+7WBZWuLLfvnUjMC Rt7h0Fdx/DDRkwj4jIGSwKEV9Ldq51L3PD99fn5tqroqRA/5fBJ0rojLNBPfQKL4Fk mCgiZMtCMCJYoO6EKimEnXvD6hDxCNCFXim+mNwSN8ReUM/EgbZ0nS+0Ca9jiyLTTy ST2bSmXV46AVAoFumYEK7WQkA6vV+u6ZOEr9HVVbIppV16xm9VIyWi7yOmSNrjpngi t785Bnw/RMOTg== Message-ID: <48b98130-4ebb-61b9-85fc-58d49aa9de88@kernel.org> Date: Sat, 15 Oct 2022 10:51:28 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH] erofs: fix up inplace decompression success rate Content-Language: en-US To: Gao Xiang , linux-erofs@lists.ozlabs.org Cc: LKML References: <20221014064915.8103-1-hsiangkao@linux.alibaba.com> From: Chao Yu In-Reply-To: <20221014064915.8103-1-hsiangkao@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/10/14 14:49, Gao Xiang wrote: > Partial decompression should be checked after updating length. > It's a new regression when introducing multi-reference pclusters. > > Fixes: 2bfab9c0edac ("erofs: record the longest decompressed size in this round") > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,