summaryrefslogtreecommitdiff
path: root/include/linux/genhd.h
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2020-06-01 13:11:43 -0700
committerJens Axboe <axboe@kernel.dk>2020-07-17 20:17:59 -0600
commitcd1fc4b98fb5953a220d690d45b11470fd9325d6 (patch)
tree283552653ea5462dbdbd3b6c64b8a590e5ee3024 /include/linux/genhd.h
parent9b15d109a6b2c0c604c588d49a5a927dac6dd616 (diff)
blk-cgroup: make iostat functions visible to stat printing
Previously, the code which printed io.stat only needed access to the generic rstat flushing code, but since we plan to write some more specific code for preparing root cgroup stats, we need to manipulate iostat structs directly. Since declaring static functions ahead does not seem like common practice in this file, simply move the iostat functions up. We only plan to use blkg_iostat_set, but it seems better to keep them all together. Signed-off-by: Boris Burkov <boris@bur.io> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/genhd.h')
0 files changed, 0 insertions, 0 deletions