diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-10-16 10:20:53 -0700 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-10-29 18:46:24 -0700 |
| commit | 003e915c0196b0f6a913947c3f9cf51ef54a26f7 (patch) | |
| tree | 988aad2964eac8519e2f480545b0985c42b58504 /include/linux/console_struct.h | |
| parent | 9204be8a482b55f71abce48baddb24c8a8f0e424 (diff) | |
f2fs: account read IOs and use IO counts for is_idle
This patch adds issued read IO counts which is under block layer.
Chao modified a bit, since:
Below race can cause reversed reference on F2FS_RD_DATA, there is
the same issue in f2fs_submit_page_bio(), fix them by relocate
__submit_bio() and inc_page_count.
Thread A Thread B
- f2fs_write_begin
- f2fs_submit_page_read
- __submit_bio
- f2fs_read_end_io
- __read_end_io
- dec_page_count(, F2FS_RD_DATA)
- inc_page_count(, F2FS_RD_DATA)
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions
