From: Chao Yu Subject: Re: [PATCH v3] fsck.f2fs: read ahead xattr & direct node blocks Date: Mon, 29 Jan 2018 18:20:24 +0800 Message-ID: <6490fa35-781e-abf4-8f8b-652d29b4d99f@huawei.com> References: <1517218661-4916-1-git-send-email-heyunlei@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.193] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eg6YL-0004Jd-VF for linux-f2fs-devel@lists.sourceforge.net; Mon, 29 Jan 2018 10:20:41 +0000 Received: from [45.249.212.35] (helo=huawei.com) by sfi-mx-3.v28.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) id 1eg6YK-0007n7-Jd for linux-f2fs-devel@lists.sourceforge.net; Mon, 29 Jan 2018 10:20:41 +0000 In-Reply-To: <1517218661-4916-1-git-send-email-heyunlei@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: Yunlei He , jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net On 2018/1/29 17:37, Yunlei He wrote: > This patch read ahead xattr & direct node blocks, and > keep the order: > > 1. check data blocks > 2. readahead xattr block > 3. fsck xattr block > 4. readahead {d,id,did}node block > 5. fsck {d,id,did}node block > > With above order, we can avoid unneeded readahead before > sub-directory iterated traversing or encountering error. > > Signed-off-by: Yunlei He Reviewed-by: Chao Yu Thanks, ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot