Skip to content
Commit 9d9b8895 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov Committed by Jonathan Corbet
Browse files

block: document iostat changes for disk busy time accounting



Since commit 5b18b5a7 ("block: delete part_round_stats and switch to
less precise counting") io_ticks is approximated by adding one at each
start and end of requests if jiffies has changed.

This works perfectly for requests shorter than a jiffy. If requests runs
more than 2 jiffies some I/O time will not be accounted unless there are
other reuqests.

Signed-off-by: default avatarKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 31753202
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment