]> git.baikalelectronics.ru Git - kernel.git/commit
blk-cgroup: introduce a new struct blkg_rwstat_sample
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Jun 2019 10:26:21 +0000 (12:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jun 2019 16:32:34 +0000 (10:32 -0600)
commit05de5032a1a3c2b6155deceebf4f1872f6fefc37
tree82110ea85453bdc5860bdba93d791f8f367070e7
parent1c19054ceb1031100451936778abae181a421846
blk-cgroup: introduce a new struct blkg_rwstat_sample

When sampling the blkcg counts we don't need atomics or per-cpu
variables.  Introduce a new structure just containing plain u64
counters.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-cgroup.c
block/blk-cgroup.c
include/linux/blk-cgroup.h