summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorKonstantin Khlebnikov2019-07-08 17:29:57 +0200
committerJens Axboe2019-07-10 17:00:57 +0200
commit3a10f999ffd464d01c5a05592a15470a3c4bbc36 (patch)
tree84008b527c89f973b57d8f8a9fb1721a7004e4e7 /COPYING
parentblock: Fix potential overflow in blk_report_zones() (diff)
downloadkernel-qcow2-linux-3a10f999ffd464d01c5a05592a15470a3c4bbc36.tar.gz
kernel-qcow2-linux-3a10f999ffd464d01c5a05592a15470a3c4bbc36.tar.xz
kernel-qcow2-linux-3a10f999ffd464d01c5a05592a15470a3c4bbc36.zip
blk-throttle: fix zero wait time for iops throttled group
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions