summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-12-16 13:12:16 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-12-16 09:25:48 -0800
commit343f40f0a70eb7cee9cc8d6fcfbb3917252a5245 (patch)
tree681a63959c5293be0a069beef713108b85a4f726 /fs/f2fs/f2fs.h
parentc227f912732f204c0ec4a577ba812401ac4672af (diff)
downloadop-kernel-dev-343f40f0a70eb7cee9cc8d6fcfbb3917252a5245.zip
op-kernel-dev-343f40f0a70eb7cee9cc8d6fcfbb3917252a5245.tar.gz
f2fs: introduce new option for controlling data flush
Add a new option 'data_flush' to enable data flush functionality. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 03a2b86..b1fb8f7 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -54,6 +54,7 @@
#define F2FS_MOUNT_FASTBOOT 0x00001000
#define F2FS_MOUNT_EXTENT_CACHE 0x00002000
#define F2FS_MOUNT_FORCE_FG_GC 0x00004000
+#define F2FS_MOUNT_DATA_FLUSH 0x00008000
#define clear_opt(sbi, option) (sbi->mount_opt.opt &= ~F2FS_MOUNT_##option)
#define set_opt(sbi, option) (sbi->mount_opt.opt |= F2FS_MOUNT_##option)
OpenPOWER on IntegriCloud