diff options
author | Laibin Qiu <qiulaibin@huawei.com> | 2021-07-31 11:26:46 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-08-02 11:24:26 -0700 |
commit | dc675a97129c4d9d5af55a3d7f23d7e092b8e032 (patch) | |
tree | 52a5b1dfa56d5feda627c4e2989cecf5885a0b48 /fs/f2fs/f2fs.h | |
parent | 2787991516468bfafafb9bf2b45a848e6b202e7c (diff) |
f2fs: fix min_seq_blocks can not make sense in some scenes.
F2FS have dirty page count control for batched sequential
write in writepages, and get the value of min_seq_blocks by
blocks_per_seg * segs_per_sec(segs_per_sec defaults to 1).
But in some scenes we set a lager section size, Min_seq_blocks
will become too large to achieve the expected effect(eg. 4thread
sequential write, the number of merge requests will be reduced).
Signed-off-by: Laibin Qiu <qiulaibin@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions