f2fs: correct statistic of APP_DIRECT_IO/APP_DIRECT_READ_IO
authorJack Qiu <jack.qiu@huawei.com>
Mon, 31 Aug 2020 01:58:02 +0000 (09:58 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 11 Sep 2020 18:11:24 +0000 (11:11 -0700)
commit335cac8b25fd4601160080d2c012154c2f3b8676
treebee292ab2c9ec10d0fd796153a65a8eab2c43fb7
parent4cb03fecd3ff9adfaeb68267aac760eaaac0d7e1
f2fs: correct statistic of APP_DIRECT_IO/APP_DIRECT_READ_IO

Miss to update APP_DIRECT_IO/APP_DIRECT_READ_IO when receiving async DIO.
For example: fio -filename=/data/test.0 -bs=1m -ioengine=libaio -direct=1
-name=fill -size=10m -numjobs=1 -iodepth=32 -rw=write

Signed-off-by: Jack Qiu <jack.qiu@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c