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=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 9833EC63798 for ; Thu, 26 Nov 2020 17:55:36 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EC9A220665; Thu, 26 Nov 2020 17:55:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="dAcq8NlW"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="R+giq9Cq"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="SGPeDVKG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EC9A220665 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1kiLUU-0004mh-US; Thu, 26 Nov 2020 17:55:34 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiLUU-0004mS-Dk for linux-f2fs-devel@lists.sourceforge.net; Thu, 26 Nov 2020 17:55:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oWwFEbNQKqp/L0RKQKuEFeK2szpI+Qm87h+sAbKVLPw=; b=dAcq8NlWiPvcbeYKP7Cc1b3tPJ YO3/vmVb7BB/tveg3B1M+yspPaCqZmRiNUT/YBlivqlIitY++u01WrcnJ2Vm3aI1dhW95gZ2PdQKW RUZ/JlCh0mGthi22nrFeH923IWNbhQluwlKMLwtTq50X20WQllpMN/886Ke2nCxK0aQo=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oWwFEbNQKqp/L0RKQKuEFeK2szpI+Qm87h+sAbKVLPw=; b=R+giq9CqQbXdycjzvm5aeKn66o 78I9+qefZ7Y9shPkLAVnwJove1XAZ/WyGa3e6e44q3feJs3gSN3mcGf39GiE/QwAtzckLrpitCsGE bGetISYbeEQOaR0Wlyl1XUoslFAb9KoZbWnHlAqtot3OtoQqRcL1roDknnTh5K11AzWw=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1kiLUN-005qBQ-Vi for linux-f2fs-devel@lists.sourceforge.net; Thu, 26 Nov 2020 17:55:34 +0000 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 Message-ID: References: <20201126103709.80006-1-yuchao0@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201126103709.80006-1-yuchao0@huawei.com> X-Headers-End: 1kiLUN-005qBQ-Vi Subject: Re: [f2fs-dev] [PATCH v2] f2fs: compress: add compress_inode to cache compressed blocks X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jaegeuk@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net 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 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel 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=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 825CAC56202 for ; Thu, 26 Nov 2020 17:55:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3D19320665 for ; Thu, 26 Nov 2020 17:55:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="SGPeDVKG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404538AbgKZRzX (ORCPT ); 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