f2fs: delete DIO read lock
authorDongDongJu <commisori28@gmail.com>
Fri, 20 Mar 2020 06:01:32 +0000 (15:01 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 31 Mar 2020 03:46:23 +0000 (20:46 -0700)
commitad8d6a02d685ecf046c369d72285a5e69adaf66e
tree991eeb86b5b95374a30e2849cea37fbaf94c1672
parent530e07042002f8c2893bab83d63e10f2750a4d50
f2fs: delete DIO read lock

This lock can be a contention with multi 4k random read IO with single inode.

example) fio --output=test --name=test --numjobs=60 --filename=/media/samsung960pro/file_test --rw=randread --bs=4k
 --direct=1 --time_based --runtime=7 --ioengine=libaio --iodepth=256 --group_reporting --size=10G

With this commit, it remove that possible lock contention.

Signed-off-by: Dongjoo Seo <commisori28@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c