From: Chao Yu Subject: Re: [PATCH v4] f2fs: support in-memory inode checksum when checking consistency Date: Thu, 8 Mar 2018 14:15:59 +0800 Message-ID: <472de3e0-b4e9-d2e3-67d2-a0f060f5f06e@huawei.com> References: <20180307211040.219117-1-guoweichao@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1etorP-001f6n-Nx for linux-f2fs-devel@lists.sourceforge.net; Thu, 08 Mar 2018 06:17:03 +0000 Received: from sfi-lb-mx.v20.lw.sourceforge.com ([172.30.20.201] helo=huawei.com) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) id 1etorL-003GwL-0Z for linux-f2fs-devel@lists.sourceforge.net; Thu, 08 Mar 2018 06:17:00 +0000 In-Reply-To: <20180307211040.219117-1-guoweichao@huawei.com> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: Weichao Guo , jaegeuk@kernel.org Cc: heyunlei@huawei.com, linux-f2fs-devel@lists.sourceforge.net On 2018/3/8 5:10, Weichao Guo wrote: > Only enable in-memory inode checksum to protect metadata blocks > from in-memory scribbles when checking consistency, which has no > performance requirements. Once we modify the node page of inode, we will call set_page_dirty, not sure, can you check that we can just call f2fs_inode_chksum_set in set_page_dirty? Thanks, ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot