diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-06 13:26:19 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-20 19:32:34 +0300 |
commit | 239eeb085753d4356f731a773f363eb5bed4fe81 (patch) | |
tree | bba7ae13bbc54a1ac631d2d7eb9c3fb67dd6ca3c /block/blk-mq-sched.c | |
parent | 1aa0a133fbabeca9e8785fb11de471841009d6d9 (diff) | |
download | linux-239eeb085753d4356f731a773f363eb5bed4fe81.tar.xz |
blk-cgroup: factor out a helper to read rwstat counter
Trying to break up the crazy statements to something readable.
Also switch to an unsigned counter as it can't ever turn negative.
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions