aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.c
AgeCommit message (Expand)AuthorFilesLines
2015-09-19Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+3
2015-09-11block: blkg_destroy_all() should clear q->root_blkg and ->root_rl.blkgTejun Heo1-0/+3
2015-08-18blkcg: use CGROUP_WEIGHT_* scale for io.weight on the unified hierarchyTejun Heo1-0/+21
2015-08-18blkcg: implement interface for the unified hierarchyTejun Heo1-0/+53
2015-08-18blkcg: misc preparations for unified hierarchy interfaceTejun Heo1-1/+2
2015-08-18blkcg: move body parsing from blkg_conf_prep() to its callersTejun Heo1-8/+14
2015-08-18blkcg: mark existing cftypes as legacyTejun Heo1-6/+6
2015-08-18blkcg: rename subsystem name from blkio to ioTejun Heo1-3/+4
2015-08-18blkcg: refine error codes returned during blkcg configurationTejun Heo1-6/+6
2015-08-18blkcg: reduce stack usage of blkg_rwstat_recursive_sum()Tejun Heo1-6/+4
2015-08-18blkcg: move io_service_bytes and io_serviced stats into blkcg_gqTejun Heo1-0/+98
2015-08-18blkcg: make blkg_[rw]stat_recursive_sum() to be able to index into blkcg_gqTejun Heo1-27/+42
2015-08-18blkcg: make blkcg_[rw]stat per-cpuTejun Heo1-4/+6
2015-08-18blkcg: add blkg_[rw]stat->aux_cnt and replace cfq_group->dead_stats with itTejun Heo1-4/+6
2015-08-18blkcg: consolidate blkg creation in blkcg_bio_issue_check()Tejun Heo1-1/+1
2015-08-18blkcg: inline [__]blkg_lookup()Tejun Heo1-36/+2
2015-08-18blkcg: replace blkcg_policy->cpd_size with ->cpd_alloc/free_fn() methodsTejun Heo1-15/+24
2015-08-18blkcg: minor updates around blkcg_policy_dataTejun Heo1-11/+13
2015-08-18blkcg: make blkcg_policy methods take a pointer to blkcg_policy_dataTejun Heo1-10/+8
2015-08-18blk-throttle: clean up blkg_policy_data alloc/init/exit/free methodsTejun Heo1-11/+0
2015-08-18blkcg: replace blkcg_policy->pd_size with ->pd_alloc/free_fn() methodsTejun Heo1-10/+11
2015-08-18blkcg: make blkcg_activate_policy() allow NULL ->pd_init_fnTejun Heo1-1/+2
2015-08-18blkcg: restructure blkg_policy_data allocation in blkcg_activate_policy()Tejun Heo1-34/+21
2015-08-18blkcg: remove unnecessary blkcg_root handling from css_alloc/free pathsTejun Heo1-15/+10
2015-08-18blkcg: use blkg_free() in blkcg_init_queue() failure pathTejun Heo1-2/+3
2015-08-18blkcg, cfq-iosched: use GFP_NOWAIT instead of GFP_ATOMIC for non-critical all...Tejun Heo1-4/+4
2015-07-22blkcg: fix gendisk reference leak in blkg_conf_prep()Tejun Heo1-1/+5
2015-07-09blkcg: fix blkcg_policy_data allocation bugTejun Heo1-36/+42
2015-07-09blkcg: implement all_blkcgs listTejun Heo1-5/+12
2015-07-09blkcg: blkcg_css_alloc() should grab blkcg_pol_mutex while iterating blkcg_po...Tejun Heo1-0/+4
2015-07-09blkcg: allow blkcg_pol_mutex to be grabbed from cgroup [file] methodsTejun Heo1-19/+21
2015-07-07block/blk-cgroup.c: free per-blkcg data when freeing the blkcgArianna Avanzini1-3/+6
2015-06-25Merge branch 'for-4.2/writeback' of git://git.kernel.dk/linux-blockLinus Torvalds1-58/+65
2015-06-07block, cgroup: implement policy-specific per-blkcg dataArianna Avanzini1-11/+81
2015-06-02writeback, blkcg: associate each blkcg_gq with the corresponding bdi_writebac...Tejun Heo1-2/+15
2015-06-02writeback: make backing_dev_info host cgroup-specific bdi_writebacksTejun Heo1-1/+6
2015-06-02blkcg: add blkcg_root_cssTejun Heo1-0/+2
2015-06-02blkcg: always create the blkcg_gq for the root blkcgTejun Heo1-55/+41
2015-06-02blkcg: move block/blk-cgroup.h to include/linux/blk-cgroup.hTejun Heo1-1/+1
2014-09-08blkcg: remove blkcg->idTejun Heo1-2/+0
2014-08-04Merge branch 'for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-2/+11
2014-07-15cgroup: replace cgroup_add_cftypes() with cgroup_add_legacy_cftypes()Tejun Heo1-1/+2
2014-07-15cgroup: rename cgroup_subsys->base_cftypes to ->legacy_cftypesTejun Heo1-1/+1
2014-07-12blkcg: don't call into policy draining if root_blkg is already goneTejun Heo1-0/+7
2014-07-08blkcg, memcg: make blkcg depend on memcg on the default hierarchyTejun Heo1-0/+8
2014-06-22Revert "block: add __init to blkcg_policy_register"Jens Axboe1-1/+1
2014-06-22blkcg: fix use-after-free in __blkg_release_rcu() by making blkcg_gq refcnt a...Tejun Heo1-5/+2
2014-06-11Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2014-06-10block: add __init to blkcg_policy_registerFabian Frederick1-1/+1
2014-05-13cgroup: rename css_tryget*() to css_tryget_online*()Tejun Heo1-1/+1
2014-05-05blkcg: use trylock on blkcg_pol_mutex in blkcg_reset_stats()Tejun Heo1-1/+14
2014-04-03Merge branch 'for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-7/+4
2014-02-18block: Substitute rcu_access_pointer() for rcu_dereference_raw()Paul E. McKenney1-1/+1
2014-02-13cgroup: drop @skip_css from cgroup_taskset_for_each()Tejun Heo1-1/+1
2014-02-08cgroup: clean up cgroup_subsys names and initializationTejun Heo1-5/+3
2014-02-08cgroup: drop module supportTejun Heo1-1/+0
2013-09-22Merge branch 'for-3.12/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-10/+15
2013-09-11blkcg: relocate root_blkg setting and clearingTejun Heo1-10/+15
2013-08-08cgroup: make css_for_each_descendant() and friends include the origin css in ...Tejun Heo1-6/+2
2013-08-08cgroup: make cgroup_taskset deal with cgroup_subsys_state instead of cgroupTejun Heo1-1/+1
2013-08-08cgroup: make hierarchy iterators deal with cgroup_subsys_state instead of cgroupTejun Heo1-4/+4
2013-08-08cgroup: pass around cgroup_subsys_state instead of cgroup in file methodsTejun Heo1-3/+3
2013-08-08cgroup: add subsys backlink pointer to cftypeTejun Heo1-1/+1
2013-08-08cgroup: pass around cgroup_subsys_state instead of cgroup in subsystem methodsTejun Heo1-12/+13
2013-05-14blk-throttle: implement proper hierarchy supportTejun Heo1-8/+0
2013-05-14blkcg: move bulk of blkcg_gq release operations to the RCU callbackTejun Heo1-18/+16
2013-05-14blkcg: invoke blkcg_policy->pd_init() after parent is linkedTejun Heo1-17/+22
2013-05-14blkcg: move blkg_for_each_descendant_pre() to block/blk-cgroup.hTejun Heo1-22/+2
2013-05-14blkcg: fix error return path in blkg_create()Tejun Heo1-1/+1
2013-04-09blkcg: fix "scheduling while atomic" in blk_queue_bypass_startJun'ichi Nomura1-2/+2
2013-02-28Merge branch 'for-3.9/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-41/+236
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-4/+2
2013-01-09blkcg: make blkcg_print_blkgs() grab q locks instead of blkcg lockTejun Heo1-5/+9
2013-01-09blkcg: implement blkg_[rw]stat_recursive_sum() and blkg_[rw]stat_merge()Tejun Heo1-0/+107
2013-01-09blkcg: export __blkg_prfill_rwstat()Tejun Heo1-0/+1
2013-01-09blkcg: implement blkcg_policy->on/offline_pd_fn() and blkcg_gq->onlineTejun Heo1-1/+20
2013-01-09blkcg: add blkg_policy_data->plidTejun Heo1-0/+2
2013-01-09cfq-iosched: add leaf_weightTejun Heo1-1/+3
2013-01-09blkcg: make blkcg_gq's hierarchicalTejun Heo1-5/+37
2013-01-09blkcg: cosmetic updates to blkg_create()Tejun Heo1-8/+7
2013-01-09blkcg: reorganize blkg_lookup_create() and friendsTejun Heo1-23/+52
2013-01-09blkcg: fix minor bug in blkg_alloc()Tejun Heo1-1/+1
2012-12-17Merge branch 'for-3.8/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2012-12-06block: Rename queue dead flagBart Van Assche1-1/+1
2012-11-19cgroup: rename ->create/post_create/pre_destroy/destroy() to ->css_alloc/onli...Tejun Heo1-7/+7
2012-11-06Merge branch 'cgroup/for-3.7-fixes' into cgroup/for-3.8Tejun Heo1-0/+10
2012-11-05Merge branch 'cgroup-rmdir-updates' into cgroup/for-3.8Tejun Heo1-2/+1
2012-11-05cgroup: make ->pre_destroy() return voidTejun Heo1-2/+1
2012-10-22blkcg: stop iteration early if root_rl is the only request listJun'ichi Nomura1-0/+3
2012-10-22blkcg: Fix use-after-free of q->root_blkg and q->root_rl.blkgJun'ichi Nomura1-0/+7
2012-09-14cgroup: mark subsystems with broken hierarchy support and whine if cgroups ar...Tejun Heo1-0/+8
2012-06-26blkcg: implement per-blkg request allocationTejun Heo1-4/+47
2012-06-25blkcg: inline bio_blkcg() and friendsTejun Heo1-21/+0
2012-06-25blkcg: make root blkcg allocation use %GFP_KERNELTejun Heo1-16/+43
2012-06-25blkcg: __blkg_lookup_create() doesn't need radix preloadTejun Heo1-9/+1
2012-06-06blkcg: drop local variable @q from blkg_destroy()Tejun Heo1-2/+1
2012-06-04blkcg: fix blkg_alloc() failure pathTejun Heo1-5/+1
2012-04-20blkcg: use radix tree to index blkgs from blkcgTejun Heo1-8/+44
2012-04-20blkcg: fix blkcg->css ref leak in __blkg_lookup_create()Tejun Heo1-10/+9
2012-04-20blkcg: collapse blkcg_policy_ops into blkcg_policyTejun Heo1-8/+8
2012-04-20blkcg: embed struct blkg_policy_data in policy specific dataTejun Heo1-26/+26
2012-04-20blkcg: mass rename of blkcg APITejun Heo1-103/+99
2012-04-20blkcg: remove blkio_group->path[]Tejun Heo1-1/+0
2012-04-20blkcg: shoot down blkgs if all policies are deactivatedTejun Heo1-3/+8
2012-04-20blkcg: drop stuff unused after per-queue policy activation updateTejun Heo1-41/+20
2012-04-20blkcg: implement per-queue policy activationTejun Heo1-74/+154
2012-04-20blkcg: make sure blkg_lookup() returns %NULL if @q is bypassingTejun Heo1-17/+33
2012-04-20blkcg: make blkg_conf_prep() take @pol and return with queue lock heldTejun Heo1-7/+10
2012-04-20blkcg: remove static policy ID enumsTejun Heo1-15/+44
2012-04-20blkcg: use @pol instead of @plid in update_root_blkg_pd() and blkcg_print_blk...Tejun Heo1-10/+11
2012-04-20blkcg: kill blkio_list and replace blkio_list_lock with a mutexTejun Heo1-15/+17
2012-04-01blkcg: drop BLKCG_STAT_{PRIV|POL|OFF} macrosTejun Heo1-28/+20
2012-04-01blkcg: pass around pd->pdata instead of pd itself in prfill functionsTejun Heo1-18/+15
2012-04-01blkcg: move blkio_group_conf->weight to cfqTejun Heo1-2/+2
2012-04-01blkcg: move blkio_group_stats_cpu and friends to blk-throttle.cTejun Heo1-97/+1
2012-04-01blkcg: move blkio_group_stats to cfq-iosched.cTejun Heo1-21/+2
2012-04-01blkcg: add blkio_policy_ops operations for exit and stat resetTejun Heo1-4/+12
2012-04-01blkcg: cfq doesn't need per-cpu dispatch statsTejun Heo1-61/+2
2012-04-01blkcg: move statistics update code to policiesTejun Heo1-245/+0
2012-04-01blkcg: move conf/stat file handling code to policiesTejun Heo1-373/+0
2012-04-01blkcg: implement blkio_policy_type->cftypesTejun Heo1-0/+6
2012-04-01blkcg: export conf/stat helpers to prepare for reorganizationTejun Heo1-27/+25
2012-04-01blkcg: simplify blkg_conf_prep()Tejun Heo1-54/+10
2012-04-01blkcg: restructure blkio_group configruation settingTejun Heo1-127/+147
2012-04-01blkcg: restructure configuration printingTejun Heo1-102/+54
2012-04-01blkcg: drop blkiocg_file_write_u64()Tejun Heo1-28/+7
2012-04-01blkcg: restructure statistics printingTejun Heo1-318/+239
2012-04-01blkcg: introduce blkg_stat and blkg_rwstatTejun Heo1-162/+127
2012-04-01blkcg: remove unused @pol and @plid parametersTejun Heo1-2/+1
2012-04-01Merge branch 'for-3.5' of ../cgroup into block/for-3.5/core-mergedTejun Heo1-34/+17
2012-04-01cgroup: convert all non-memcg controllers to the new cftype interfaceTejun Heo1-7/+2
2012-04-01cgroup: relocate cftype and cgroup_subsys definitions in controllersTejun Heo1-22/+16
2012-03-29blkcg: change a spin_lock() to spin_lock_irq()Dan Carpenter1-1/+1
2012-03-20Merge branch 'for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-14/+8
2012-03-20block: remove ioc_*_changed()Tejun Heo1-19/+0
2012-03-20blkcg: add blkcg->idTejun Heo1-0/+3
2012-03-20blkcg: remove blkio_group->stats_lockTejun Heo1-107/+102
2012-03-20blkcg: restructure blkio_get_stat()Tejun Heo1-49/+51
2012-03-20blkcg: simplify stat resetTejun Heo1-55/+25
2012-03-20blkcg: don't use percpu for merged statsTejun Heo1-20/+6
2012-03-20blkcg: alloc per cpu stats from worker thread in a delayed mannerVivek Goyal1-40/+89
2012-03-06block: make block cgroup policies follow bio task associationTejun Heo1-2/+9
2012-03-06blkcg: drop unnecessary RCU lockingTejun Heo1-15/+9
2012-03-06blkcg: use double locking instead of RCU for blkg synchronizationTejun Heo1-85/+51
2012-03-06blkcg: unify blkg's for blkcg policiesTejun Heo1-87/+137
2012-03-06blkcg: let blkcg core manage per-queue blkg list and counterTejun Heo1-16/+56
2012-03-06blkcg: move per-queue blkg list heads and counters to queue and blkgTejun Heo1-0/+2
2012-03-06blkcg: don't use blkg->plid in stat related functionsTejun Heo1-65/+85
2012-03-06blkcg: make blkg->pd an array and move configuration and stats into itTejun Heo1-57/+93
2012-03-06blkcg: move refcnt to blkcg coreTejun Heo1-0/+24
2012-03-06blkcg: let blkcg core handle policy private data allocationTejun Heo1-19/+67
2012-03-06blkcg: clear all request_queues on blkcg policy [un]registrationsTejun Heo1-1/+47
2012-03-06blkcg: add blkcg_{init|drain|exit}_queue()Tejun Heo1-0/+42
2012-03-06blkcg: let blkio_group point to blkio_cgroup directlyTejun Heo1-19/+24
2012-03-06blkcg: skip blkg printing if q isn't associated with diskVivek Goyal1-3/+14
2012-03-06blkcg: kill the mind-bending blkg->devTejun Heo1-41/+45
2012-03-06blkcg: kill blkio_policy_nodeTejun Heo1-378/+59
2012-03-06blkcg: don't allow or retain configuration of missing devicesTejun Heo1-21/+73
2012-03-06blkcg: factor out blkio_group creationTejun Heo1-31/+86
2012-03-06blkcg: add blkio_policy[] array and allow one policy per policy IDTejun Heo1-0/+10
2012-03-06blkcg: use q and plid instead of opaque void * for blkio_group associationTejun Heo1-17/+15
2012-03-06blkcg: shoot down blkio_groups on elevator switchTejun Heo1-1/+33
2012-03-06blkcg: make CONFIG_BLK_CGROUP boolTejun Heo1-17/+0
2012-02-07block: strip out locking optimization in put_io_context()Tejun Heo1-1/+1
2012-02-02cgroup: remove cgroup_subsys argument from callbacksLi Zefan1-14/+8
2012-01-15Merge branch 'for-3.3/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+6
2011-12-14block, cfq: unlink cfq_io_context's immediatelyTejun Heo1-1/+1
2011-12-14block, cfq: move ioc ioprio/cgroup changed handling to cicTejun Heo1-1/+1
2011-12-14block: make ioc get/put interface more conventional and fix race on alloctionTejun Heo1-4/+5
2011-12-12cgroup: don't use subsys->can_attach_task() or ->attach_task()Tejun Heo1-17/+28
2011-10-25blk-throttle: Take blkcg->lock while traversing blkcg->policy_listVivek Goyal1-14/+40
2011-10-25blk-throttle: Free up policy node associated with deleted ruleVivek Goyal1-0/+1
2011-10-19block: fix genhd refcounting in blkio_policy_parse_and_set()Tejun Heo1-33/+23
2011-09-21blk-cgroup: be able to remove the record of unplugged deviceWanlong Gao1-21/+16
2011-05-26cgroups: add per-thread subsystem callbacksBen Blum1-12/+6
2011-05-23cfq-iosched: Make IO merge related stats per cpuVivek Goyal1-5/+17
2011-05-20blk-cgroup: Make cgroup stat reset path blkg->lock free for dispatch statsVivek Goyal1-0/+28
2011-05-20blk-cgroup: Make 64bit per cpu stats safe on 32bit archVivek Goyal1-5/+22
2011-05-20blk-throttle: Make dispatch stats per cpuVivek Goyal1-35/+100
2011-05-20blk-cgroup: move some fields of unaccounted_time file under right config optionVivek Goyal1-0/+2
2011-05-16blk-throttle: Use task_subsys_state() to determine a task's blkio_cgroupVivek Goyal1-0/+7
2011-03-31Fix common misspellingsLucas De Marchi1-2/+2
2011-03-22blk-cgroup: Only give unaccounted_time under debugJustin TerAvest1-10/+10
2011-03-12blk-cgroup: Add unaccounted time to timeslice_used.Justin TerAvest1-1/+15
2010-11-15blk-cgroup: Allow creation of hierarchical cgroupsVivek Goyal1-4/+0
2010-10-22Merge branch 'for-2.6.37/core' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-158/+646
2010-10-01blkio-throttle: limit max iops value to UINT_MAXVivek Goyal1-4/+7
2010-10-01blkio: Recalculate the throttled bio dispatch time upon throttle limit changeVivek Goyal1-5/+10
2010-10-01blkio: deletion of a cgroup was causes oopsVivek Goyal1-4/+5
2010-10-01blkio: Do not export throttle files if CONFIG_BLK_DEV_THROTTLING=nVivek Goyal1-47/+50
2010-09-16blk-cgroup: cgroup changes for IOPS limit supportVivek Goyal1-17/+122
2010-09-16blk-cgroup: Introduce cgroup changes for throttling policyVivek Goyal1-7/+138
2010-09-16blk-cgroup: Prepare the base for supporting more than one IO control policiesVivek Goyal1-151/+393
2010-09-16blk-cgroup: Kill the header printed at the start of blkio.weight_device fileVivek Goyal1-2/+0
2010-08-23blkio: Fix return code for mkdir callsCiju Rajan K1-1/+1
2010-05-21Merge branch 'master' into for-2.6.35Jens Axboe1-4/+4
2010-05-07blk-cgroup: Fix an RCU warning in blkiocg_create()Li Zefan1-4/+4
2010-05-03block: kill some useless goto's in blk-cgroup.cJens Axboe1-44/+40
2010-04-26blk-cgroup: config options re-arrangementVivek Goyal1-2/+0
2010-04-26blkio: Fix another BUG_ON() crash due to cfqq movement across groupsVivek Goyal1-6/+9