summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJoseph Qi <qijiang.qj@alibaba-inc.com>2017-11-21 09:38:30 +0800
committerJens Axboe <axboe@kernel.dk>2018-01-18 19:51:08 -0700
commitb889bf66d001a46a95deef18ddbe6db84645ed24 (patch)
treef3739a244b423ccbfb4702f0a5218edca32252f4 /init
parenta13553c777375009584741e7d9982e775c4b0744 (diff)
downloadlinux-stable-b889bf66d001a46a95deef18ddbe6db84645ed24.tar.gz
linux-stable-b889bf66d001a46a95deef18ddbe6db84645ed24.tar.bz2
linux-stable-b889bf66d001a46a95deef18ddbe6db84645ed24.zip
blk-throttle: track read and write request individually
In mixed read/write workload on SSD, write latency is much lower than read. But now we only track and record read latency and then use it as threshold base for both read and write io latency accounting. As a result, write io latency will always be considered as good and bad_bio_cnt is much smaller than 20% of bio_cnt. That is to mean, the tg to be checked will be treated as idle most of the time and still let others dispatch more ios, even it is truly running under low limit and wants its low limit to be guaranteed, which is not we expected in fact. So track read and write request individually, which can bring more precise latency control for low limit idle detection. Signed-off-by: Joseph Qi <qijiang.qj@alibaba-inc.com> Reviewed-by: Shaohua Li <shli@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions