summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorGu Zheng2014-04-27 08:21:33 +0200
committerJaegeuk Kim2014-05-07 03:21:57 +0200
commit2163d19815b3dfdb243cee2de2478ae7efce1942 (patch)
tree43272bf3bc723edc42205898e2c6955d8d87f343 /fs/f2fs/f2fs.h
parentf2fs: introduce struct flush_cmd_control to wrap the flush_merge fields (diff)
downloadkernel-qcow2-linux-2163d19815b3dfdb243cee2de2478ae7efce1942.tar.gz
kernel-qcow2-linux-2163d19815b3dfdb243cee2de2478ae7efce1942.tar.xz
kernel-qcow2-linux-2163d19815b3dfdb243cee2de2478ae7efce1942.zip
f2fs: introduce help function {create,destroy}_flush_cmd_control
Introduce help function {create,destroy}_flush_cmd_control to clean up the create/destory flush merge operation. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index fa0ec8116f48..1ca958ab40e3 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -1184,8 +1184,9 @@ void destroy_node_manager_caches(void);
*/
void f2fs_balance_fs(struct f2fs_sb_info *);
void f2fs_balance_fs_bg(struct f2fs_sb_info *);
-int issue_flush_thread(void *);
int f2fs_issue_flush(struct f2fs_sb_info *);
+int create_flush_cmd_control(struct f2fs_sb_info *);
+void destroy_flush_cmd_control(struct f2fs_sb_info *);
void invalidate_blocks(struct f2fs_sb_info *, block_t);
void refresh_sit_entry(struct f2fs_sb_info *, block_t, block_t);
void clear_prefree_segments(struct f2fs_sb_info *);