All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: axboe@kernel.dk
Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com,
	vgoyal@redhat.com, avanzini.arianna@gmail.com
Subject: [PATCHSET v3 block/for-4.3] blkcg: blkcg policy methods and data handling cleanup
Date: Sat, 11 Jul 2015 14:00:43 -0400	[thread overview]
Message-ID: <1436637654-28110-1-git-send-email-tj@kernel.org> (raw)

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

             reply	other threads:[~2015-07-11 18:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-11 18:00 Tejun Heo [this message]
2015-07-11 18:00 ` [PATCH 01/11] blkcg: remove unnecessary request_list->blkg NULL test in blk_put_rl() Tejun Heo
2015-07-11 18:00 ` [PATCH 02/11] blkcg: use blkg_free() in blkcg_init_queue() failure path Tejun Heo
2015-07-11 18:00 ` [PATCH 03/11] blkcg: remove unnecessary blkcg_root handling from css_alloc/free paths Tejun Heo
2015-07-11 18:00 ` [PATCH 04/11] blkcg: restructure blkg_policy_data allocation in blkcg_activate_policy() Tejun Heo
2015-07-11 18:00 ` [PATCH 05/11] blkcg: make blkcg_activate_policy() allow NULL ->pd_init_fn Tejun Heo
2015-07-11 18:00 ` [PATCH 06/11] blkcg: replace blkcg_policy->pd_size with ->pd_alloc/free_fn() methods Tejun Heo
2015-07-11 18:00 ` [PATCH 07/11] blk-throttle: remove asynchrnous percpu stats allocation mechanism Tejun Heo
2015-07-11 18:00 ` [PATCH 08/11] blk-throttle: clean up blkg_policy_data alloc/init/exit/free methods Tejun Heo
2015-07-11 18:00 ` [PATCH 09/11] blkcg: make blkcg_policy methods take a pointer to blkcg_policy_data Tejun Heo
2015-07-11 18:00 ` [PATCH 10/11] blkcg: cosmetic updates about blkcg_policy_data Tejun Heo
2015-07-30 22:57   ` [PATCH 10/11] blkcg: minor updates around blkcg_policy_data Tejun Heo
2015-07-11 18:00 ` [PATCH 11/11] blkcg: replace blkcg_policy->cpd_size with ->cpd_alloc/free_fn() methods Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1436637654-28110-1-git-send-email-tj@kernel.org \
    --to=tj@kernel.org \
    --cc=avanzini.arianna@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=kernel-team@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vgoyal@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.