commit | 636620b66d5d4012c4a9c86206013964d3986c4f | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Jul 18 04:47:41 2018 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jul 18 08:44:23 2018 -0600 |
tree | 89ecba6057c7ca99ee3a500438a6281b7c261faf | |
parent | bdca3c87fb7ad1cc61d231d37eb0d8f90d001e0c [diff] |
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>