linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [PATCH] f2fs: init variable total_zombie_tree
@ 2015-12-30  7:28 Yunlei He
  2015-12-30  9:01 ` Chao Yu
  0 siblings, 1 reply; 3+ messages in thread
From: Yunlei He @ 2015-12-30  7:28 UTC (permalink / raw)
  To: linux-f2fs-devel, jaegeuk, chao2.yu

This patch init total_zombie_tree in init_extent_cache_info.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
---
 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


------------------------------------------------------------------------------

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] f2fs: init variable total_zombie_tree
  2015-12-30  7:28 [PATCH] f2fs: init variable total_zombie_tree Yunlei He
@ 2015-12-30  9:01 ` Chao Yu
  2015-12-30 18:15   ` Jaegeuk Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Chao Yu @ 2015-12-30  9:01 UTC (permalink / raw)
  To: 'Yunlei He', linux-f2fs-devel, jaegeuk

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 <heyunlei@huawei.com>
> ---
>  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



------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] f2fs: init variable total_zombie_tree
  2015-12-30  9:01 ` Chao Yu
@ 2015-12-30 18:15   ` Jaegeuk Kim
  0 siblings, 0 replies; 3+ messages in thread
From: Jaegeuk Kim @ 2015-12-30 18:15 UTC (permalink / raw)
  To: Chao Yu; +Cc: linux-f2fs-devel

Hi Yunlei,

On Wed, Dec 30, 2015 at 05:01:48PM +0800, Chao Yu wrote:
> 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.

Sorry, me too. :(
Let me update this in the original patch.

Thanks,

> 
> Anyway, this patch looks good to me. :)
> 
> Thanks,
> 
> > 
> > Signed-off-by: Yunlei He <heyunlei@huawei.com>
> > ---
> >  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
> 

------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-30 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-30  7:28 [PATCH] f2fs: init variable total_zombie_tree Yunlei He
2015-12-30  9:01 ` Chao Yu
2015-12-30 18:15   ` Jaegeuk Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).