summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/myrs.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2019-12-16 13:34:00 -0800
committerJens Axboe <axboe@kernel.dk>2019-12-16 16:10:17 -0700
commitd7bd15a138aef3be227818aad9c501e43c89c8c5 (patch)
tree10d4bf5247272ce5e00a258a6b6e8b8fe87e36c1 /drivers/scsi/myrs.c
parent6afa873170a612b2b9e392c19c523ed8aae6fbc9 (diff)
downloadlinux-d7bd15a138aef3be227818aad9c501e43c89c8c5.tar.bz2
iocost: over-budget forced IOs should schedule async delay
When over-budget IOs are force-issued through root cgroup, iocg_kick_delay() adjusts the async delay accordingly but doesn't actually schedule async throttle for the issuing task. This bug is pretty well masked because sooner or later the offending threads are gonna get directly throttled on regular IOs or have async delay scheduled by mem_cgroup_throttle_swaprate(). However, it can affect control quality on filesystem metadata heavy operations. Let's fix it by invoking blkcg_schedule_throttle() when iocg_kick_delay() says async delay is needed. Signed-off-by: Tejun Heo <tj@kernel.org> Fixes: 7caa47151ab2 ("blkcg: implement blk-iocost") Cc: stable@vger.kernel.org Reported-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/myrs.c')
0 files changed, 0 insertions, 0 deletions