[PATCH v2 0/5] blk-cgroup: don't abuse bdi in blk-cgroup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Yu Kuai <yukuai3@xxxxxxxxxx>

The bdi_dev_name() should not be used in blk-cgroup code, because bdi is
not related at all, add a new helper to print device name directly from
gendisk. The helper can also fix that "unknown" will be printed for
hidden disks.

Yu Kuai (5):
  blk-cgroup: add a new helper blkg_print_dev_name()
  blk-iocost: use new helper blkg_print_dev_name()
  blk-throttle: use new helper blkg_print_dev_name()
  blk-iolatency: use new helper blkg_print_dev_name()
  blk-cgroup: use new helper blkg_print_dev_name()

 block/blk-cgroup-rwstat.c | 13 +++++++------
 block/blk-cgroup.c        | 19 ++++---------------
 block/blk-cgroup.h        | 13 ++++++++++++-
 block/blk-iocost.c        | 23 ++++++++++++-----------
 block/blk-iolatency.c     | 11 +++++++----
 block/blk-throttle.c      | 15 +++++----------
 6 files changed, 47 insertions(+), 47 deletions(-)

-- 
2.39.2





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux