diff options
author | Jinke Han <hanjinke.666@bytedance.com> | 2023-02-16 06:22:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-10 11:32:46 +0300 |
commit | 3c5059e24a20291292e42fc2f594149562aac13e (patch) | |
tree | ad1cc6c470f4ded9b2be524624ee9fa2af238ec6 /crypto/testmgr.h | |
parent | cbe695b83845da44d32565bcd28bc1ee6b883618 (diff) | |
download | linux-3c5059e24a20291292e42fc2f594149562aac13e.tar.xz |
block: Fix io statistics for cgroup in throttle path
[ Upstream commit 0f7c8f0f7934c389b0f9fa1f151e753d8de6348f ]
In the current code, io statistics are missing for cgroup when bio
was throttled by blk-throttle. Fix it by moving the unreaching code
to submit_bio_noacct_nocheck.
Fixes: 3f98c753717c ("block: don't check bio in blk_throtl_dispatch_work_fn")
Signed-off-by: Jinke Han <hanjinke.666@bytedance.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Acked-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230216032250.74230-1-hanjinke.666@bytedance.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions