[PATCHSET] block: cosmetic updates to blkcg API

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

 



Hello,

With recent blkcg updates, any out-of-tree change is already way
broken and it's a good time to clean up blkcg API for more
consistency.  This patchset makes a series of mostly cosmetic changes
in an attempt to make the blkcg API easier on the eyes.

This is finally the last patchset of the long blkcg API update effort.
I think that we now have something which at least is sane & logical
and can be improved incrementally without having to be turned upside
down.  My thanks to everyone involved for enduring the boring and
rather painful process.

This patchset contains the following six patches.

0001-blkcg-blkg_rwstat_read-was-missing-inline.patch
0002-blkcg-remove-blkio_group-path.patch
0003-blkcg-style-cleanups-for-blk-cgroup.h.patch
0004-blkcg-mass-rename-of-blkcg-API.patch
0005-blkcg-embed-struct-blkg_policy_data-in-policy-specif.patch
0006-blkcg-collapse-blkcg_policy_ops-into-blkcg_policy.patch

Other than 0002 which removes blkg->path[], none of the patches makes
any functional difference.

This patchset is on top of

  block/for-3.5/core 5bc4afb1ec "blkcg: drop BLKCG_STAT_{PRIV|POL|OFF} macros"
+ [1] [PATCHSET] block: per-queue policy activation, take#2

and available in the following git branch.

 git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git blkcg-rename

diffstat follows.

 block/blk-cgroup.c     |  253 ++++++++++++++++++++++++-------------------------
 block/blk-cgroup.h     |  240 ++++++++++++++++++++++++----------------------
 block/blk-throttle.c   |  121 +++++++++++++----------
 block/cfq-iosched.c    |  138 ++++++++++++++------------
 include/linux/blkdev.h |    4 
 5 files changed, 397 insertions(+), 359 deletions(-)

Thanks.

--
tejun

[1] https://lkml.org/lkml/2012/4/13/380
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux