From: Chao Yu Subject: Re: [PATCH 1/2] sload.f2fs: update sit entries of cursegs Date: Tue, 19 Jun 2018 20:07:23 +0800 Message-ID: References: <20180613015150.197854-1-shengyong1@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-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fVFQq-000089-LB for linux-f2fs-devel@lists.sourceforge.net; Tue, 19 Jun 2018 12:08:20 +0000 Received: from szxga05-in.huawei.com ([45.249.212.191] 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 1fVFQm-000QQl-Sk for linux-f2fs-devel@lists.sourceforge.net; Tue, 19 Jun 2018 12:08:20 +0000 In-Reply-To: <20180613015150.197854-1-shengyong1@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: Sheng Yong , jaegeuk@kernel.org Cc: miaoxie@huawei.com, linux-f2fs-devel@lists.sourceforge.net On 2018/6/13 9:51, Sheng Yong wrote: > move_curseg_info->reset_curseg changes cursegs, however, new segment > entries are not set as dirty. As a result, flush_sit_entries will not > update entries in SIT, especially when an empty segment is selected > as the new curseg, its seg_entry->type is lost. > > Signed-off-by: Sheng Yong 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