Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1182204
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCHSET v3 block/for-4.3] blkcg: blkcg policy methods and data handling cleanup |
| Date | 2015-07-11 20:10 +0200 |
| Message-ID | <pL7nP-6mH-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This is v3 of blkcg_policy methods cleanup patchset. Changes from the
last take [L] are
* Rebased on top of block/for-linus.
* 0003-blkcg-remove-unnecessary-blkcg_root-handling-from-cs.patch and
0004-blkcg-restructure-blkg_policy_data-allocation-in-blk.patch
added. These are follow-up cleanups for the blkcg_policy_data
handling fixes which went into block/for-linus.
* 0010-blkcg-cosmetic-updates-about-blkcg_policy_data.patch and
0011-blkcg-replace-blkcg_policy-cpd_size-with-cpd_alloc-f.patch
added so that blkcg_policy_data handling is consistent with
blkg_policy_data handling.
This patchset contains assorted cleanups for blkcg_policy methods and
blk[c]g_policy_data handling.
* alloc/free added for blkg_policy_data. exit dropped.
* alloc/free added for blkcg_policy_data.
* blk-throttle's async percpu allocation is replaced with direct
allocation.
* all methods now take blk[c]g_policy_data instead of blkcg_gq or
blkcg.
This patchset contains the following 11 patches.
0001-blkcg-remove-unnecessary-request_list-blkg-NULL-test.patch
0002-blkcg-use-blkg_free-in-blkcg_init_queue-failure-path.patch
0003-blkcg-remove-unnecessary-blkcg_root-handling-from-cs.patch
0004-blkcg-restructure-blkg_policy_data-allocation-in-blk.patch
0005-blkcg-make-blkcg_activate_policy-allow-NULL-pd_init_.patch
0006-blkcg-replace-blkcg_policy-pd_size-with-pd_alloc-fre.patch
0007-blk-throttle-remove-asynchrnous-percpu-stats-allocat.patch
0008-blk-throttle-clean-up-blkg_policy_data-alloc-init-ex.patch
0009-blkcg-make-blkcg_policy-methods-take-a-pointer-to-bl.patch
0010-blkcg-cosmetic-updates-about-blkcg_policy_data.patch
0011-blkcg-replace-blkcg_policy-cpd_size-with-cpd_alloc-f.patch
0001-0005 are misc cleanups. 0006-0008 add alloc/free methods and
remove blk-throttle's async percpu allocation mechanism. 0009 makes
all methods take blkcg_policy_data. 0010-0011 apply similar cleanups
to blkcg_policy_data handling.
This patchset is also available in the following git branch.
git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-blkcg-methods-cleanup
and is on top of
block/for-linus 06b285bd1125 ("blkcg: fix blkcg_policy_data allocation bug")
+ [1] [PATCHSET block/for-4.3] writeback: cgroup writeback updates
+ [2] [PATCHSET v2 block/for-4.3] block, cgroup: make cfq charge async IOs to the appropriate blkcgs
diffstat follows, thanks.
block/blk-cgroup.c | 171 +++++++++++++++++++-------------------------
block/blk-throttle.c | 173 +++++++++++++--------------------------------
block/cfq-iosched.c | 68 +++++++++++++----
include/linux/blk-cgroup.h | 65 ++++++++--------
4 files changed, 214 insertions(+), 263 deletions(-)
--
tejun
[L] http://lkml.kernel.org/g/1436284293-4666-1-git-send-email-tj@kernel.org
[1] http://lkml.kernel.org/g/1436281823-1947-1-git-send-email-tj@kernel.org
[2] http://lkml.kernel.org/g/1436283361-3889-1-git-send-email-tj@kernel.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCHSET v3 block/for-4.3] blkcg: blkcg policy methods and data handling cleanup Tejun Heo <tj@kernel.org> - 2015-07-11 20:10 +0200 [PATCH 04/11] blkcg: restructure blkg_policy_data allocation in blkcg_activate_policy() Tejun Heo <tj@kernel.org> - 2015-07-11 20:10 +0200 [PATCH 05/11] blkcg: make blkcg_activate_policy() allow NULL ->pd_init_fn Tejun Heo <tj@kernel.org> - 2015-07-11 20:10 +0200 [PATCH 08/11] blk-throttle: clean up blkg_policy_data alloc/init/exit/free methods Tejun Heo <tj@kernel.org> - 2015-07-11 20:10 +0200 [PATCH 09/11] blkcg: make blkcg_policy methods take a pointer to blkcg_policy_data Tejun Heo <tj@kernel.org> - 2015-07-11 20:10 +0200 [PATCH 11/11] blkcg: replace blkcg_policy->cpd_size with ->cpd_alloc/free_fn() methods Tejun Heo <tj@kernel.org> - 2015-07-11 20:10 +0200 [PATCH 10/11] blkcg: cosmetic updates about blkcg_policy_data Tejun Heo <tj@kernel.org> - 2015-07-11 20:10 +0200 [PATCH 03/11] blkcg: remove unnecessary blkcg_root handling from css_alloc/free paths Tejun Heo <tj@kernel.org> - 2015-07-11 20:10 +0200 [PATCH 01/11] blkcg: remove unnecessary request_list->blkg NULL test in blk_put_rl() Tejun Heo <tj@kernel.org> - 2015-07-11 20:10 +0200 [PATCH 07/11] blk-throttle: remove asynchrnous percpu stats allocation mechanism Tejun Heo <tj@kernel.org> - 2015-07-11 20:10 +0200
csiph-web