summaryrefslogtreecommitdiff
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-04-30 22:50:06 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2015-05-28 15:41:39 -0700
commit836b5a6356ac49a4631c06bc87b0ea02f41623ca (patch)
treeee0ff00153fef33169b5c328f4a1fe64235cbbd5 /fs/f2fs/f2fs.h
parenta66cdd985532e69999b79249cd3b4a6bccd0f84b (diff)
downloadlwn-836b5a6356ac49a4631c06bc87b0ea02f41623ca.tar.gz
lwn-836b5a6356ac49a4631c06bc87b0ea02f41623ca.zip
f2fs: issue discard with finally produced len and minlen
This patch determines to issue discard commands by comparing given minlen and the length of produced final candidates. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 98fc719f5250..0b8c4543cac8 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -1628,7 +1628,7 @@ 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 *);
+void clear_prefree_segments(struct f2fs_sb_info *, struct cp_control *);
void release_discard_addrs(struct f2fs_sb_info *);
void discard_next_dnode(struct f2fs_sb_info *, block_t);
int npages_for_summary_flush(struct f2fs_sb_info *, bool);