diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-10-31 01:47:03 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-04 20:34:15 -0500 |
commit | d5053a34a9cc797b9d5d77574354b5555848c43c (patch) | |
tree | 86e6e101b812f6d2500b46bf1cd567aa9c8b33c6 /fs/f2fs/f2fs.h | |
parent | be138b7b0d4cbfb8a927d9bc333ceffee9908c23 (diff) |
f2fs: introduce -o fastboot for reducing booting time only
If a system wants to reduce the booting time as a top priority, now we can
use a mount option, -o fastboot.
With this option, f2fs conducts a little bit slow write_checkpoint, but
it can avoid the node page reads during the next mount time.
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 5a9705842f10..d45f3f4d7f93 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -49,6 +49,7 @@ | |||
49 | #define F2FS_MOUNT_INLINE_DENTRY 0x00000200 | 49 | #define F2FS_MOUNT_INLINE_DENTRY 0x00000200 |
50 | #define F2FS_MOUNT_FLUSH_MERGE 0x00000400 | 50 | #define F2FS_MOUNT_FLUSH_MERGE 0x00000400 |
51 | #define F2FS_MOUNT_NOBARRIER 0x00000800 | 51 | #define F2FS_MOUNT_NOBARRIER 0x00000800 |
52 | #define F2FS_MOUNT_FASTBOOT 0x00001000 | ||
52 | 53 | ||
53 | #define clear_opt(sbi, option) (sbi->mount_opt.opt &= ~F2FS_MOUNT_##option) | 54 | #define clear_opt(sbi, option) (sbi->mount_opt.opt &= ~F2FS_MOUNT_##option) |
54 | #define set_opt(sbi, option) (sbi->mount_opt.opt |= F2FS_MOUNT_##option) | 55 | #define set_opt(sbi, option) (sbi->mount_opt.opt |= F2FS_MOUNT_##option) |