commit | 239eeb085753d4356f731a773f363eb5bed4fe81 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Jun 06 12:26:19 2019 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jun 20 10:32:34 2019 -0600 |
tree | bba7ae13bbc54a1ac631d2d7eb9c3fb67dd6ca3c | |
parent | 1aa0a133fbabeca9e8785fb11de471841009d6d9 [diff] |
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>