Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp721059pxu; Thu, 26 Nov 2020 09:58:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyd+2PFPd215dpwthcB2s6AOte0rJbcu+w3evaLbjgNDJPpnA+CppLXGUroK/ZGWU/VESMm X-Received: by 2002:a05:6402:370:: with SMTP id s16mr3644954edw.50.1606413514121; Thu, 26 Nov 2020 09:58:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606413514; cv=none; d=google.com; s=arc-20160816; b=W3797VssOWQGEZ9NlnBdAmKcBH1bajcgq3djhOlE8M7hlDiBerKhN6Tk0Vq7M5loGV jNqfxwLYp0JDNr8jXrdJSKY833Yze0pJmSM6EJ8u8RA2z9lNX6RL3V0OXZ0A8aifrkfD mvEVWj9/h8Fsy+u7bme7V+y9NDo5Jl3QiIdpD6oUan0d/AVt1mJz2DR2XrqDsF0cCMbI mVzTqoITbxWmB3EUO5UY5PIzrenKHOhu6/GcOJ7vvGUX9grrVpGMPGCesjzdvhs60A4c mYuPLWgZAb8jkSGF4VYbhOD2M9x6EZZHJYnnjH5+23YNVMlc/iyIiXu+ZlgB9ioiqgPO OrGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oWwFEbNQKqp/L0RKQKuEFeK2szpI+Qm87h+sAbKVLPw=; b=MKJj+QVYBFQ1ZVo0/b0z6s1uHGoNEs1qcptScwNVEV5y+BnjqBq4dRfcZ3P75Zy42X KzA3g2wTX3ZqybkXFtxaPc6/ETGSZpQO+Sk+xALX1HK5iJ+8sqad8gxku1dcXbtVIKTT L5kGRHzjpbzPpwE4n8YMD7Lf+6VT88S4IC5Y5JrNdIyF1Gci3bqUZmhxHrL1sY7pZCbq 9gordGvisYhp82FKwAbhqY2z/zRbzDFkP24mXLnZi2LnmKkqi2wSsb2r15p9SZJbSsw8 8Id2aQNo/8SsBPWjI5NM16WS9sOyeMq8fyPHsqTSW0RwQMNX+yG5vAH7ID/wb3FScxjS LwAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SGPeDVKG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q16si3537009ejy.572.2020.11.26.09.58.11; Thu, 26 Nov 2020 09:58:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SGPeDVKG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2404527AbgKZRzX (ORCPT + 99 others); Thu, 26 Nov 2020 12:55:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:48296 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404262AbgKZRzW (ORCPT ); Thu, 26 Nov 2020 12:55:22 -0500 Received: from sol.localdomain (172-10-235-113.lightspeed.sntcca.sbcglobal.net [172.10.235.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 66B4420665; Thu, 26 Nov 2020 17:55:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606413322; bh=JAgoZA3nJogzefKO2GKhKaCZwMcQOntnimDPGPW9vKk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SGPeDVKGxyAJUNpfcCMqrvpwHiq00QbykinOkr099+Y/RPNJCxRgDVOzuVWx9+R6L fC9tC7d1vdiHGqHLE0kW1kwxCkHFtGSkM200y+bmE9gmhdkn3dTXH9XAx/0uY4N6CT 3JkIHs9ACcQ9nPWW66lNk7ikX6lcsvg2vmG1YEic= Date: Thu, 26 Nov 2020 09:55:20 -0800 From: Eric Biggers To: Chao Yu Cc: jaegeuk@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH v2] f2fs: compress: add compress_inode to cache compressed blocks Message-ID: References: <20201126103709.80006-1-yuchao0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201126103709.80006-1-yuchao0@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 26, 2020 at 06:37:09PM +0800, Chao Yu wrote: > Support to use address space of inner inode to cache compressed block, > in order to improve cache hit ratio of random read. > > Signed-off-by: Chao Yu If the file is also encrypted, are the compressed pages that are cached still encrypted, or are they decrypted? - Eric