diff options
author | Tejun Heo <tj@kernel.org> | 2018-07-18 13:47:41 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-18 16:44:23 +0200 |
commit | 636620b66d5d4012c4a9c86206013964d3986c4f (patch) | |
tree | 89ecba6057c7ca99ee3a500438a6281b7c261faf /block/blk-throttle.c | |
parent | block: Track DISCARD statistics and output them in stat and diskstat (diff) | |
download | linux-636620b66d5d4012c4a9c86206013964d3986c4f.tar.xz linux-636620b66d5d4012c4a9c86206013964d3986c4f.zip |
blkcg: Track DISCARD statistics and output them in cgroup io.stat
Add tracking of REQ_OP_DISCARD ios to the per-cgroup io.stat. Two
fields, dbytes and dios, to respectively count the total bytes and
number of discards are added.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Andy Newell <newella@fb.com>
Cc: Michael Callahan <michaelcallahan@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions