f2fs: modify for accurate fggc node io stat
PATCH 1/1 f2fs: modify for accurate fggc node io stat
modify for accurate fggc node io stat
Signed-off-by Yunlei He <[email protected]>
--- fs/f2fs/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/f2fs/node.c +1 -1
@@ -1259,7 +1259,7 @@ void move_node_page(struct page *node_page, int gc_type)if (!clear_page_dirty_for_io (node_page)) goto out_page; -if (NODE_MAPPING (sbi)->a_ops->writepage (node_page, &wbc)) +if (__write_node_page (page, false,NULL , wbc, false,FS_GC_NODE_IO ))unlock_page (node_page); goto release_page; }else {
Signature · 6 lines
2.7.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Chao Yu
maintainerQuoted 12 lines · Yunlei He
modify for accurate fggc node io stat
Signed-off-by Yunlei He <[email protected]>--- fs/f2fs/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/f2fs/node.c +0
-0
fs/f2fs/node.c void move_node_page(struct page *node_page, int gc_type) · line 1262
Quoted 5 lines
fs/f2fs/node.c +1
-1@@ -1259,7 +1259,7 @@ void move_node_page(struct page *node_page, int gc_type)if (!clear_page_dirty_for_io (node_page)) goto out_page; -if (NODE_MAPPING (sbi)->a_ops->writepage (node_page, &wbc)) +if (__write_node_page (page, false,NULL , wbc, false,FS_GC_NODE_IO ))
&wbc
Thanks,
fs/f2fs/node.c void move_node_page(struct page *node_page, int gc_type) · line 1265
Quoted 4 lines
fs/f2fs/node.c +0
-0unlock_page (node_page); goto release_page; }else {
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot