diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-03-25 03:05:13 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-04-05 21:05:05 +0300 |
commit | ef095d19e82f25bbdead472b8b71f4ef3b7a636d (patch) | |
tree | 2eb2262bb5ef4baa05b44d592bf30e4c8872cd72 /fs/f2fs/segment.h | |
parent | a7eeb823854c4ab19765a25fabbda07fe27be177 (diff) | |
download | linux-ef095d19e82f25bbdead472b8b71f4ef3b7a636d.tar.xz |
f2fs: write small sized IO to hot log
It would better split small and large IOs separately in order to get more
consecutive big writes.
The default threshold is set to 64KB, but configurable by sysfs/min_hot_blocks.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.h')
-rw-r--r-- | fs/f2fs/segment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index 31846b0fcb95..57e36c1ce7bd 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -540,6 +540,7 @@ static inline int utilization(struct f2fs_sb_info *sbi) */ #define DEF_MIN_IPU_UTIL 70 #define DEF_MIN_FSYNC_BLOCKS 8 +#define DEF_MIN_HOT_BLOCKS 16 enum { F2FS_IPU_FORCE, |