diff options
author | Josef Bacik <josef@toxicpanda.com> | 2018-07-30 10:10:01 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-30 08:25:55 -0600 |
commit | c454edc21b12dd7d416de6c81555e87aaec9685c (patch) | |
tree | cd11264628069e17aa0a85d5806a86c3f8e22e79 /include/scsi | |
parent | 55690c07b44a82cc3359ce0c233f4ba7d80ba145 (diff) |
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: Tejun Heo <tj@kernel.org>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions