commit | cc32cf3e3f516aa7731f388be6184fc71ccd3b45 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon Nov 12 00:46:46 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Jan 02 15:56:18 2019 -0800 |
tree | 992d323f09dbd9b63b839c12b2175568bbcceb16 | |
parent | f7260788a5fec38ae0fd4223706922c6ee914f6b [diff] |
f2fs: add to account direct IO This patch adds f2fs_dio_submit_bio() to hook submit_io/end_io functions in direct IO path, in order to account DIO. Later, we will add this count into is_idle() to let background GC/Discard thread be aware of DIO. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>