Messages in this thread | | | Date | Mon, 1 Jun 2020 16:41:37 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH 1/2 blk-cgroup/for-5.8] blk-cgroup: make iostat functions visible to stat printing |
| |
On Mon, Jun 01, 2020 at 01:11:43PM -0700, Boris Burkov wrote: > 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>
Thanks.
-- tejun
| |