summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorGu Zheng <guz.fnst@cn.fujitsu.com>2014-04-11 17:50:00 +0800
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-05-07 10:21:55 +0900
commit876dc59eb1f0131c092803d0d206d47dd0119dfe (patch)
treeaab91a229ed656fa30000c5112b52206cc69cfbe /fs/f2fs/segment.c
parent8abfb36ab396377ea712cd640c525fd5535d1dc9 (diff)
downloadtalos-obmc-linux-876dc59eb1f0131c092803d0d206d47dd0119dfe.tar.gz
talos-obmc-linux-876dc59eb1f0131c092803d0d206d47dd0119dfe.zip
f2fs: add the flush_merge handle in the remount flow
Add the *remount* handle of flush_merge option, so that the users can enable flush_merge in the runtime, such as the underlying device handles the cache_flush command relatively slowly. Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r--fs/f2fs/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 9993f94848fc..f6816e18db98 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -197,7 +197,7 @@ void f2fs_balance_fs_bg(struct f2fs_sb_info *sbi)
f2fs_sync_fs(sbi->sb, true);
}
-static int issue_flush_thread(void *data)
+int issue_flush_thread(void *data)
{
struct f2fs_sb_info *sbi = data;
struct f2fs_sm_info *sm_i = SM_I(sbi);
OpenPOWER on IntegriCloud