Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2849053rwb; Mon, 7 Nov 2022 19:35:31 -0800 (PST) X-Google-Smtp-Source: AMsMyM6ToiEMOm/b5mfDcMXhPCYKs+rJsLL+iboigYG+O3+4duV+sJoptCGcL4vRx5ZQFTnp0i4r X-Received: by 2002:a17:907:c711:b0:7ae:35c9:f07b with SMTP id ty17-20020a170907c71100b007ae35c9f07bmr19387004ejc.423.1667878531019; Mon, 07 Nov 2022 19:35:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667878531; cv=none; d=google.com; s=arc-20160816; b=BQCh38zcsm8kk/mPBtLZN5Zegf5B0v9jxr7GXuO3/+EfySYUtCGyBer/pUImiD80S1 RiEYj2I1iokz2VY5QZeMA0hfDE3CKEabRj5EyoS6q4LmM1VYWT9hAXFbonbRXN59dT9r WcaW3pt0XwpSCvjy+SLu8SkiEa9tl2tB1cq6mKEGAwgbufxFLKEX0oOuIDFOIN1R4AQk WLr8mzV8S5FHl6SVZwGkUZobdJyhubVCOaA2/ObeJy/9Bl5ATCLLKQcTDo1p3fS2eOF+ vQpcNFLvMbeB6hoEU9jzKAc27a6A4uc/sYovK+8UjH0ZQtXa2D62LfBoUMw3QaUsPXOB ukBg== 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=smFbnIfChZaPeN9R1rONfkO8zuN9QSTQI6rZEWAjptc=; b=k0eZqMml5FPmY2kpR6USwkxJh2pUy6GrQeC2AqPs9U9NEctXiLSni26vZ8Bkr6DhSQ Wxyd2zEtAYQxclTkdcV1Q7crTZ1q+4WqlRqsvh+8Ljh2Oi7imV3qdNEKqSX8MO4/xCYt w5bKexIr1KfG443YtU/0uV40EoSc7rueQACyS1K72waal1U8rLkVoB6iiRklKhmrSAM2 R4b30unNjtTv4BFM7etlTXZBKM2/rR/rcpt7r/v5w835b6nWug2LI7Gr5ZAIpAgJQRWI hLk0XqqIYDjCOMNx5rpAXp9cx4t3ix88BrUhz7Pq0021zuVlOomNhTL7YpqChfqg2qFH Vd8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nevb3Dsr; 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 q24-20020aa7d458000000b004627741e339si10091390edr.113.2022.11.07.19.35.09; Mon, 07 Nov 2022 19:35:31 -0800 (PST) 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=nevb3Dsr; 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 S233354AbiKHDHV (ORCPT + 91 others); Mon, 7 Nov 2022 22:07:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbiKHDHS (ORCPT ); Mon, 7 Nov 2022 22:07:18 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C46732FC19 for ; Mon, 7 Nov 2022 19:07:17 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 6139D612E1 for ; Tue, 8 Nov 2022 03:07:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4ACBFC433D6; Tue, 8 Nov 2022 03:07:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667876836; bh=DoQVAWYIhuU/Va/KNg+xTTJC6B/0NXt4BCWT4F1PWQI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nevb3DsrjqI1uRxHQEEw17z3+eEIgaQdTKi2pABtgHcvlVCEeyWefP3+0J3oOLPN1 Npe7sSODV2lY2mHJXsJar6JkfJA1WY5cyRHamIcC1J3aR1coyMSw7b7CFN8QLpSKO6 roVirnZahJ5hNU2pSMFmLXTVHm8OPFnWIp0yrNPnULYnHpRQXIsCgBqMRUU/PVqmma bnyvuXzaqs0mwEE4RWnbhjq0wydlZztLp29scm/A4bZTSeruaMnHCZpPtQkdy646oO NoZy686v2EMUgJ0epGH4fAJGLEY2fOeXnofiK3AFo/BMpvty1DFZRAbfflSL2DjqU8 APwFKsRqG2CNQ== Message-ID: <9ce701ec-257a-b923-903f-2931bfb8c3ae@kernel.org> Date: Tue, 8 Nov 2022 11:07:13 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH 1/2] erofs: put metabuf in error path in fscache mode Content-Language: en-US To: Jingbo Xu , xiang@kernel.org, huyue2@coolpad.com, linux-erofs@lists.ozlabs.org Cc: zhujia.zj@bytedance.com, yinxin.x@bytedance.com, linux-kernel@vger.kernel.org References: <20221104054028.52208-1-jefflexu@linux.alibaba.com> <20221104054028.52208-2-jefflexu@linux.alibaba.com> From: Chao Yu In-Reply-To: <20221104054028.52208-2-jefflexu@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 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/11/4 13:40, Jingbo Xu wrote: > For tail packing layout, put metabuf when error is encountered. > > Fixes: 1ae9470c3e14 ("erofs: clean up .read_folio() and .readahead() in fscache mode") > Signed-off-by: Jingbo Xu Reviewed-by: Chao Yu Thanks,