]> 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)
commitc41472d3861cc041efc84bf49351e71047cca48c
tree82110ea85453bdc5860bdba93d791f8f367070e7
parent83120d30d6c28cb6e7f98b3a20f349fbefe66334
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