From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao Yu Subject: Re: [PATCH] f2fs: init variable total_zombie_tree Date: Wed, 30 Dec 2015 17:01:48 +0800 Message-ID: <00ee01d142e0$d1fc5ea0$75f51be0$@samsung.com> References: <1451460488-16730-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 sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1aECeY-0000fK-QH for linux-f2fs-devel@lists.sourceforge.net; Wed, 30 Dec 2015 09:02:42 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1aECeW-00042k-V0 for linux-f2fs-devel@lists.sourceforge.net; Wed, 30 Dec 2015 09:02:42 +0000 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O0502MEMYG4FD10@mailout4.samsung.com> for linux-f2fs-devel@lists.sourceforge.net; Wed, 30 Dec 2015 18:02:32 +0900 (KST) In-reply-to: <1451460488-16730-1-git-send-email-heyunlei@huawei.com> Content-language: zh-cn List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: 'Yunlei He' , linux-f2fs-devel@lists.sourceforge.net, jaegeuk@kernel.org Hi Yunlei, > -----Original Message----- > From: Yunlei He [mailto:heyunlei@huawei.com] > Sent: Wednesday, December 30, 2015 3:28 PM > To: linux-f2fs-devel@lists.sourceforge.net; jaegeuk@kernel.org; chao2.yu@samsung.com > Cc: bintian.wang@huawei.com; Yunlei He > Subject: [f2fs-dev][PATCH] f2fs: init variable total_zombie_tree > > This patch init total_zombie_tree in init_extent_cache_info. Sorry, seems I mislead you, I meant it's better let Jaegeuk to fix the issue in his original patch, not in the patch you replied. Anyway, this patch looks good to me. :) Thanks, > > Signed-off-by: Yunlei He > --- > fs/f2fs/extent_cache.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/f2fs/extent_cache.c b/fs/f2fs/extent_cache.c > index 23e7c82..b37184f 100644 > --- a/fs/f2fs/extent_cache.c > +++ b/fs/f2fs/extent_cache.c > @@ -737,6 +737,7 @@ void init_extent_cache_info(struct f2fs_sb_info *sbi) > INIT_LIST_HEAD(&sbi->extent_list); > spin_lock_init(&sbi->extent_lock); > atomic_set(&sbi->total_ext_tree, 0); > + atomic_set(&sbi->total_zombie_tree, 0); > atomic_set(&sbi->total_ext_node, 0); > } > > -- > 1.9.1 ------------------------------------------------------------------------------