Skip to content

io-controller: Use names rather than major:minor

Chad Talbott lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4blkio_group key change: void * -> request_queue *block/blk-cgroup.c block/blk-cgroup.h block/cfq-iosched.c+25 -272 replies
2/4Adds an RCU-protected pointer to request_queue that makes it easy toblock/blk-cgroup.c block/blk-sysfs.c include/linux/blkdev.h+16 -41 reply
3/4io-controller: Add a new interface "weight_device" for IO-Controllerblock/blk-cgroup.c block/blk-cgroup.h block/cfq-iosched.c+251 -10 replies
4/4Use disk-names to set blkio.weight_device policyblock/blk-cgroup.c block/blk-cgroup.h block/cfq-iosched.c+35 -830 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] io-controller: Use names rather than major:minor

This stack (which includes Gui's patch for per-device weights), changes the various blkio.* stats to use the disks' names (sda, sdb, etc.) rather than major:minor pairs when printing statistics. Additionally setting a per-device policy can be done via the disk's name.

This has the side effect of fixing the "root cgroup shows no stats" problem that Ricky mentioned.

Chad

---

Chad Talbott (4):
blkio_group key change: void * -> request_queue *
Adds an RCU-protected pointer to request_queue that makes it easy to
io-controller: Add a new interface "weight_device" for IO-Controller Use disk-names to set blkio.weight_device policy

 block/blk-cgroup.c     |  224 +++++++++++++++++++++++++++++++++++++++++++++---
 block/blk-cgroup.h     |   23 ++++-
 block/blk-sysfs.c      |    4 +
 block/cfq-iosched.c    |   27 ++----
 include/linux/blkdev.h |    6 +
 5 files changed, 248 insertions(+), 36 deletions(-)