summaryrefslogtreecommitdiffstats
path: root/block/bio-integrity.c
diff options
context:
space:
mode:
authorJinke Han <hanjinke.666@bytedance.com>2023-02-16 11:22:50 +0800
committerJens Axboe <axboe@kernel.dk>2023-02-16 11:04:11 -0700
commit0f7c8f0f7934c389b0f9fa1f151e753d8de6348f (patch)
tree415fc7e99044292219d38b7181379204081d20c2 /block/bio-integrity.c
parent67205f80be9910207481406c47f7d85e703fb2e9 (diff)
downloadlinux-stable-0f7c8f0f7934c389b0f9fa1f151e753d8de6348f.tar.gz
linux-stable-0f7c8f0f7934c389b0f9fa1f151e753d8de6348f.tar.bz2
linux-stable-0f7c8f0f7934c389b0f9fa1f151e753d8de6348f.zip
block: Fix io statistics for cgroup in throttle path
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>
Diffstat (limited to 'block/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions