]> git.baikalelectronics.ru Git - kernel.git/commit
block: document iostat changes for disk busy time accounting
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Sun, 9 Jun 2019 11:14:36 +0000 (14:14 +0300)
committerJonathan Corbet <corbet@lwn.net>
Fri, 14 Jun 2019 20:46:43 +0000 (14:46 -0600)
commit9f6a8d698af4f2d79dae0d401677a03e49af5057
tree8763e2124944139c266c77a2c9c53869724e9547
parent8847c4d79ca605de9a162cf307a3193c86cd9df2
block: document iostat changes for disk busy time accounting

Since commit a8f7ca984490 ("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: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/iostats.txt