summaryrefslogtreecommitdiffstats
path: root/block/Makefile
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>2019-07-08 18:29:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-26 09:11:10 +0200
commita613a7957a05bea2bab9bd54c3af10b23613b5fb (patch)
tree81a908abd88de48723c6efa48b01d236abed4a3d /block/Makefile
parent3201a60323f05b3600c95f3d41778862b52b5e3b (diff)
downloadlinux-stable-a613a7957a05bea2bab9bd54c3af10b23613b5fb.tar.gz
linux-stable-a613a7957a05bea2bab9bd54c3af10b23613b5fb.tar.bz2
linux-stable-a613a7957a05bea2bab9bd54c3af10b23613b5fb.zip
blk-throttle: fix zero wait time for iops throttled group
commit 3a10f999ffd464d01c5a05592a15470a3c4bbc36 upstream. After commit 991f61fe7e1d ("Blk-throttle: reduce tail io latency when iops limit is enforced") wait time could be zero even if group is throttled and cannot issue requests right now. As a result throtl_select_dispatch() turns into busy-loop under irq-safe queue spinlock. Fix is simple: always round up target time to the next throttle slice. Fixes: 991f61fe7e1d ("Blk-throttle: reduce tail io latency when iops limit is enforced") Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Cc: stable@vger.kernel.org # v4.19+ Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/Makefile')
0 files changed, 0 insertions, 0 deletions