]> git.ipfire.org Git - people/ms/linux.git/commit - fs/f2fs/data.c
f2fs: fix performance issue observed with multi-thread sequential read
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Aug 2018 00:53:34 +0000 (17:53 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 21 Aug 2018 06:13:42 +0000 (23:13 -0700)
commit853137cef46ccc490e6fd4b160a1c252d6459842
treea2fe0cf5dc9d0bb412fbcd766264ac5d52587558
parentdda9f4b9cac6bdd2a96253b4444d7a6ce5132edb
f2fs: fix performance issue observed with multi-thread sequential read

This reverts the commit - "b93f771 - f2fs: remove writepages lock"
to fix the drop in sequential read throughput.

Test: ./tiotest -t 32 -d /data/tio_tmp -f 32 -b 524288 -k 1 -k 3 -L
device: UFS

Before -
read throughput: 185 MB/s
total read requests: 85177 (of these ~80000 are 4KB size requests).
total write requests: 2546 (of these ~2208 requests are written in 512KB).

After -
read throughput: 758 MB/s
total read requests: 2417 (of these ~2042 are 512KB reads).
total write requests: 2701 (of these ~2034 requests are written in 512KB).

Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/segment.c
fs/f2fs/super.c
fs/f2fs/sysfs.c