Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp413648lqk; Sat, 9 Mar 2024 17:09:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXdzY+m2vitmAeNajWbiWN+Y8HRttqvHHYxd2Gbu/Ng5T4u1j/DVy04jUZP9d2uZOlMwKHHdp9C/EnM/dixJiaqrlwg2YB7yWCpFZrgSg== X-Google-Smtp-Source: AGHT+IEL3WH0/YMKzIqRJMGXjE4HSTh7PTyABj2lMZW1YNUqfqmh8g3DInmOx/tQRPZwyTJeU7zb X-Received: by 2002:a17:90a:68ce:b0:29b:6a16:3d02 with SMTP id q14-20020a17090a68ce00b0029b6a163d02mr5380319pjj.3.1710032962723; Sat, 09 Mar 2024 17:09:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1710032962; cv=pass; d=google.com; s=arc-20160816; b=jedvIv1vMjdJES7/3J1q6Yq8BDE9Zlm2V1ZVYNo7QF2fdylEQ1n0ThdgLraIX0HDzY xTD4zHYtNgx17PS+t0xGa7vSvoTMhu5QeQ+WqbAvtBFqmvMWR6x4ILnK9SF6Ql9xSavo jb/HitL0HDm08dS0hEoQ7Zpvlda+iKLrsGNRcm99yQSYqNY3GrtTEyuda29+clUwp+Do x30Pk9Lw+H1R/q1ns5Ujx4dPQweMpJ+yxtBdx7ffUKJ2jUM/lEgPnxf0peuyxFATGjSu +OQNaOIRXSUOhFpZy+3Hrf/lzDvBWlX32ucE4sIsHWWf7m4St+rhhg+io3m8WvPhT5RA +GnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=PynUsufWGF34FUhmCpZ5yYkaj4ghP92MkCFP4Pgc3E4=; fh=jsJwwuYTy3Q3bk3qROGtmq2W5LGrWtFhrJYiKtfg4qQ=; b=FRW1PxwtbryxhLHam6i2TXn4vKYCLozkqki3m8bmiFwnSZiA1Jt1SQkIxJFLAglAUt lYzqNFyXtTr/66s3J2UW5l3VoZExMgfnmLdERnenbWXV12K02JbCyzvpQAFcdyepqyex /pkieJJ4V67R/68hqr7kQBiFrlC6rTWPQoVuIlPnSd1LcFQFr747sfgZrduFVEujSvxL I9fLbQulCsyc+d0Ty/dhzfdCoV83I7PL1TePy2ot5y6a6NlRK94/FYBMppvRNy9NkVTw 3Pu9BeHGZg0hOXL7JynveCvJvwMgIaqHzOtTlAOGyWCW2Vvnbv05ulhajM96lmDJaId3 oagQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fz2Qe9eT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-98075-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98075-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id oc5-20020a17090b1c0500b0029bebd6f8bcsi409084pjb.122.2024.03.09.17.09.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 17:09:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98075-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fz2Qe9eT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-98075-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98075-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5C05BB20EF6 for ; Sun, 10 Mar 2024 01:09:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5392ED8; Sun, 10 Mar 2024 01:09:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fz2Qe9eT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2D237FB for ; Sun, 10 Mar 2024 01:09:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710032951; cv=none; b=SX4y90LllS6c6/NwI0p5ljQvGdF56Z9q+U2abMvqb+ZLY9LwVI5RCB05+tk3W/YWUSvUM9iPYkKRk7Xg/Zg4zle3GoZRwnsvRE+7LlgYtWuO76yTLEH6DmbxRKofTVdQ7GVG0+rGnKcVROGB4CJMPwj+NJ/vMHkZEYUn6i2zyH4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710032951; c=relaxed/simple; bh=Q8EFRaCrSNuDWMDU1mx9VgcVnpDcUlTY7wMZ/CXtpTo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=If88Le3cCcM7r4iptPUEe0w3nyrSy3DKyRYo70nikkS4hos0K7msmsEklipsKPkTwf6ZbCA9V9SyC+VBvXp/vOjEhuTh7m4xYJIUyfcSfnsI4IFDBextjGPSW8zrhwYbwR7oKY7trLzRUH2BO8oBJtWOmvGVWt9jGMSCFUrgq7Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fz2Qe9eT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4932EC433C7; Sun, 10 Mar 2024 01:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710032950; bh=Q8EFRaCrSNuDWMDU1mx9VgcVnpDcUlTY7wMZ/CXtpTo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fz2Qe9eTK4kcDj3S2fVdZn3juJGpVYdcR1CYW1fimAHmu70s46Ru/UpkhtwBNAsZw odbLUvoAOWLcFkhvDm93Ddeegws3T6zCVqB9G9ZHOZZAa2i+eJqHddr6CJ1Eq3XaID HZDrFwrPShlqbaq2SVVmYJ4E3Pk6ibJ7FB6FtoK0mrCGBZMf4AoacXrkO/4oxkzNT6 urEXoUIEFhpWxcMJlJPD/hP3NXgXmzS3r2BE0t9+oVgndOYd8jyXAvvrut3ip23r6a +RWTA9lLxnBBPJOkHJ0tP9DIMBMqjFXCt4BT7jVYlT757ptWMVTA0SFkZO7rbYHB8U 9RBjvZ8n112MA== Message-ID: <776717ac-f433-46b9-ad4a-97bde6f392e1@kernel.org> Date: Sun, 10 Mar 2024 09:09:12 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 6/6] erofs: refine managed cache operations to folios Content-Language: en-US To: Gao Xiang , linux-erofs@lists.ozlabs.org Cc: LKML References: <20240305091448.1384242-1-hsiangkao@linux.alibaba.com> <20240305091448.1384242-6-hsiangkao@linux.alibaba.com> From: Chao Yu Autocrypt: addr=chao@kernel.org; keydata= xsFNBFYs6bUBEADJuxYGZRMvAEySns+DKVtVQRKDYcHlmj+s9is35mtlhrLyjm35FWJY099R 6DL9bp8tAzLJOMBn9RuTsu7hbRDErCCTiyXWAsFsPkpt5jgTOy90OQVyTon1i/fDz4sgGOrL 1tUfcx4m5i5EICpdSuXm0dLsC5lFB2KffLNw/ZfRuS+nNlzUm9lomLXxOgAsOpuEVps7RdYy UEC81IYCAnweojFbbK8U6u4Xuu5DNlFqRFe/MBkpOwz4Nb+caCx4GICBjybG1qLl2vcGFNkh eV2i8XEdUS8CJP2rnp0D8DM0+Js+QmAi/kNHP8jzr7CdG5tje1WIVGH6ec8g8oo7kIuFFadO kwy6FSG1kRzkt4Ui2d0z3MF5SYgA1EWQfSqhCPzrTl4rJuZ72ZVirVxQi49Ei2BI+PQhraJ+ pVXd8SnIKpn8L2A/kFMCklYUaLT8kl6Bm+HhKP9xYMtDhgZatqOiyVV6HFewfb58HyUjxpza 1C35+tplQ9klsejuJA4Fw9y4lhdiFk8y2MppskaqKg950oHiqbJcDMEOfdo3NY6/tXHFaeN1 etzLc1N3Y0pG8qS/mehcIXa3Qs2fcurIuLBa+mFiFWrdfgUkvicSYqOimsrE/Ezw9hYhAHq4 KoW4LQoKyLbrdOBJFW0bn5FWBI4Jir1kIFHNgg3POH8EZZDWbQARAQABzRlDaGFvIFl1IDxj aGFvQGtlcm5lbC5vcmc+wsF3BBMBCgAhBQJWLOm1AhsDBQsJCAcDBRUKCQgLBRYCAwEAAh4B AheAAAoJEKTPgB1/p52Gm2MP/0zawCU6QN7TZuJ8R1yfdhYr0cholc8ZuPoGim69udQ3otet wkTNARnpuK5FG5la0BxFKPlazdgAU1pt+dTzCTS6a3/+0bXYQ5DwOeBPRWeFFklm5Frmk8sy wSTxxEty0UBMjzElczkJflmCiDfQunBpWGy9szn/LZ6jjIV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zlWkHUsj7uUNxU3A6GTum2aU3Gh0CD1p8+FYlG1dGhO5boTIUsR 6ho73ZNk1bwUj/wOcqWu+ZdnQa3zbfvMI9o/kFlOu8iTGlD8sNjJK+Y/fPK3znFqoqqKmSFZ aiRALjAZH6ufspvYAJEJE9eZSX7Rtdyt30MMHQARAQABwsFfBBgBCgAJBQJWLOm1AhsMAAoJ EKTPgB1/p52GPpoP/2LOn/5KSkGHGmdjzRoQHBTdm2YV1YwgADg52/mU68Wo6viStZqcVEnX 3ALsWeETod3qeBCJ/TR2C6hnsqsALkXMFFJTX8aRi/E4WgBqNvNgAkWGsg5XKB3JUoJmQLqe CGVCT1OSQA/gTEfB8tTZAGFwlw1D3W988CiGnnRb2EEqU4pEuBoQir0sixJzFWybf0jjEi7P pODxw/NCyIf9GNRNYByUTVKnC7C51a3b1gNs10aTUmRfQuu+iM5yST5qMp4ls/yYl5ybr7N1 zSq9iuL13I35csBOn13U5NE67zEb/pCFspZ6ByU4zxChSOTdIJSm4/DEKlqQZhh3FnVHh2Ld eG/Wbc1KVLZYX1NNbXTz7gBlVYe8aGpPNffsEsfNCGsFDGth0tC32zLT+5/r43awmxSJfx2P 5aGkpdszvvyZ4hvcDfZ7U5CBItP/tWXYV0DDl8rCFmhZZw570vlx8AnTiC1v1FzrNfvtuxm3 92Qh98hAj3cMFKtEVbLKJvrc2AO+mQlS7zl1qWblEhpZnXi05S1AoT0gDW2lwe54VfT3ySon 8Klpbp5W4eEoY21tLwuNzgUMxmycfM4GaJWNCncKuMT4qGVQO9SPFs0vgUrdBUC5Pn5ZJ46X mZA0DUz0S8BJtYGI0DUC/jAKhIgy1vAx39y7sAshwu2VILa71tXJ In-Reply-To: <20240305091448.1384242-6-hsiangkao@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024/3/5 17:14, Gao Xiang wrote: > Convert erofs_try_to_free_all_cached_pages() and > z_erofs_cache_release_folio(). > > Besides, erofs_page_is_managed() is moved to zdata.c and renamed > as erofs_folio_is_managed(). > > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,