1. 02 12月, 2020 11 次提交
  2. 16 11月, 2020 4 次提交
  3. 13 11月, 2020 1 次提交
  4. 24 9月, 2020 1 次提交
  5. 10 9月, 2020 2 次提交
  6. 02 9月, 2020 6 次提交
  7. 18 7月, 2020 1 次提交
    • B
      blk-cgroup: show global disk stats in root cgroup io.stat · ef45fe47
      Boris Burkov 提交于
      In order to improve consistency and usability in cgroup stat accounting,
      we would like to support the root cgroup's io.stat.
      
      Since the root cgroup has processes doing io even if the system has no
      explicitly created cgroups, we need to be careful to avoid overhead in
      that case.  For that reason, the rstat algorithms don't handle the root
      cgroup, so just turning the file on wouldn't give correct statistics.
      
      To get around this, we simulate flushing the iostat struct by filling it
      out directly from global disk stats. The result is a root cgroup io.stat
      file consistent with both /proc/diskstats and io.stat.
      
      Note that in order to collect the disk stats, we needed to iterate over
      devices. To facilitate that, we had to change the linkage of a disk_type
      to external so that it can be used from blk-cgroup.c to iterate over
      disks.
      Suggested-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NBoris Burkov <boris@bur.io>
      Acked-by: NTejun Heo <tj@kernel.org>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      ef45fe47
  8. 24 6月, 2020 2 次提交
  9. 27 5月, 2020 2 次提交
  10. 13 5月, 2020 2 次提交
  11. 05 5月, 2020 1 次提交
  12. 21 4月, 2020 1 次提交
  13. 27 3月, 2020 1 次提交
  14. 25 3月, 2020 5 次提交