summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-10-24 01:19:18 -0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-10-25 03:54:38 -0400
commit4660f9c0fe484353b17a4b9d1cc2b036fa895f76 (patch)
treeb992484821791c6b87dc3debfc7df6139dff6480 /fs/f2fs/f2fs.h
parent81eb8d6e2869b119d4a7b8c02091c3779733a3ac (diff)
f2fs: introduce f2fs_balance_fs_bg for some background jobs
This patch merges some background jobs into this new function. Signed-off-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 6dff777cd94a..a61cc5f84638 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -965,6 +965,7 @@ long f2fs_compat_ioctl(struct file *, unsigned int, unsigned long);
965 */ 965 */
966void f2fs_set_inode_flags(struct inode *); 966void f2fs_set_inode_flags(struct inode *);
967struct inode *f2fs_iget(struct super_block *, unsigned long); 967struct inode *f2fs_iget(struct super_block *, unsigned long);
968int try_to_free_nats(struct f2fs_sb_info *, int);
968void update_inode(struct inode *, struct page *); 969void update_inode(struct inode *, struct page *);
969int update_inode_page(struct inode *); 970int update_inode_page(struct inode *);
970int f2fs_write_inode(struct inode *, struct writeback_control *); 971int f2fs_write_inode(struct inode *, struct writeback_control *);
@@ -1045,6 +1046,7 @@ void destroy_node_manager_caches(void);
1045 * segment.c 1046 * segment.c
1046 */ 1047 */
1047void f2fs_balance_fs(struct f2fs_sb_info *); 1048void f2fs_balance_fs(struct f2fs_sb_info *);
1049void f2fs_balance_fs_bg(struct f2fs_sb_info *);
1048void invalidate_blocks(struct f2fs_sb_info *, block_t); 1050void invalidate_blocks(struct f2fs_sb_info *, block_t);
1049void clear_prefree_segments(struct f2fs_sb_info *); 1051void clear_prefree_segments(struct f2fs_sb_info *);
1050int npages_for_summary_flush(struct f2fs_sb_info *); 1052int npages_for_summary_flush(struct f2fs_sb_info *);