Re: [PATCH] block: don't do cgroup accounting for split bio's
From: Jens Axboe <axboe@kernel.dk>
Date: 2018-07-27 21:17:11
From: Jens Axboe <axboe@kernel.dk>
Date: 2018-07-27 21:17:11
On 7/27/18 3:14 PM, Josef Bacik wrote:
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 IO in the cgroup stats.
That's a bit of a flag overload, I think that at least warrants a comment. -- Jens Axboe