Commit 434e1bea authored by Li Nan's avatar Li Nan
Browse files

dm: switch to precise io accounting

hulk inclusion
category: bugfix
bugzilla: 188421, https://gitee.com/openeuler/kernel/issues/I7WMMI


CVE: NA

--------------------------------

'ios' and 'sectors' is counted in bio_start_io_acct() while io is
started insted of io is done. Hence switch to precise io accounting to
count them when io is done.

Signed-off-by: default avatarLi Nan <linan122@huawei.com>
parent 30cc50ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment