Skip to content
Commit c454edc2 authored by Josef Bacik's avatar Josef Bacik Committed by Jens Axboe
Browse files

block: don't account for split bio's size in cgroup stats



We need to check in blkcg_bio_issue_check if the bio is flagged as
QUEUE_ENTERED, because if it is then we've already accounted for the
size of the IO in the cgroup stats.  We can still however account for
the extra IO since it'll be another request.

Reported-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarJosef Bacik <josef@toxicpanda.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 55690c07
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment