diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-23 09:57:31 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-29 05:27:48 -0700 |
commit | 0f7b2abd188089a44f60e2bf8521d1363ada9e12 (patch) | |
tree | b03702e8aadcf265bb796c3ec31413ea081fb136 /fs/f2fs/f2fs.h | |
parent | 9d847950770da7102d4efc02d0939ce28e3a7dd0 (diff) | |
download | linux-0f7b2abd188089a44f60e2bf8521d1363ada9e12.tar.gz linux-0f7b2abd188089a44f60e2bf8521d1363ada9e12.tar.bz2 linux-0f7b2abd188089a44f60e2bf8521d1363ada9e12.zip |
f2fs: add nobarrier mount option
This patch adds a mount option, nobarrier, in f2fs.
The assumption in here is that file system keeps the IO ordering, but
doesn't care about cache flushes inside the storages.
Reviewed-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 8f507d4c0f71..e999eec200b7 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -41,6 +41,7 @@ #define F2FS_MOUNT_INLINE_XATTR 0x00000080 #define F2FS_MOUNT_INLINE_DATA 0x00000100 #define F2FS_MOUNT_FLUSH_MERGE 0x00000200 +#define F2FS_MOUNT_NOBARRIER 0x00000400 #define clear_opt(sbi, option) (sbi->mount_opt.opt &= ~F2FS_MOUNT_##option) #define set_opt(sbi, option) (sbi->mount_opt.opt |= F2FS_MOUNT_##option) |