commit | 02b16d0a34a188a21d08be52b37505e531aa558a | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon Nov 12 00:46:46 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon Nov 26 15:53:56 2018 -0800 |
tree | 4c5e793f91f92c05742ac16a07f05ad564611b56 | |
parent | b61ac5b720146c619c7cdf17eff2551b934399e5 [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>