f2fs: init variable total_zombie_tree
PATCH 1/1 f2fs: init variable total_zombie_tree
This patch init total_zombie_tree in init_extent_cache_info.
--- fs/f2fs/extent_cache.c | 1 + 1 file changed, 1 insertion(+)
fs/f2fs/extent_cache.c +1 -0
@@ -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 ); }
Signature · 4 lines
1.9.1 ------------------------------------------------------------------------------
Hi Yunlei,
Quoted 8 lines
-----Original Message-----
From: Yunlei He [mailto:[email protected]]
Sent: Wednesday, December 30, 2015 3:28 PM
To: [email protected]; [email protected]; [email protected]
Cc: [email protected]; Yunlei He
Subject: [f2fs-dev][PATCH] f2fs: init variabletotal_zombie_treeThis patch init
total_zombie_treeininit_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,
Quoted 19 lines
Signed-off-by Yunlei He <[email protected]>--- fs/f2fs/extent_cache.c | 1 + 1 file changed, 1 insertion(+)fs/f2fs/extent_cache.c +1
-1@@ -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 ); } --
Quoted 1 line
1.9.1
------------------------------------------------------------------------------
Jaegeuk Kim
maintainerHi Yunlei,
Quoted 9 lines · Chao Yu
Hi Yunlei,
Quoted 7 lines
-----Original Message-----
From: Yunlei He [mailto:[email protected]]
Sent: Wednesday, December 30, 2015 3:28 PM
To: [email protected]; [email protected]; [email protected]
Cc: [email protected]; Yunlei He
Subject: [f2fs-dev][PATCH] f2fs: init variabletotal_zombie_tree
Quoted 4 lines
Quoted 1 line
This patch init
total_zombie_treeininit_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,
Quoted 23 lines
Anyway, this patch looks good to me. :)
Thanks,
Quoted 18 lines
Signed-off-by Yunlei He <[email protected]>--- fs/f2fs/extent_cache.c | 1 + 1 file changed, 1 insertion(+)fs/f2fs/extent_cache.c +1
-0@@ -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 ); }
Quoted 3 lines
Quoted 2 lines
--
1.9.1
------------------------------------------------------------------------------