aboutsummaryrefslogtreecommitdiffstats
path: root/block/cfq-iosched.c
AgeCommit message (Expand)AuthorFilesLines
2018-11-07block: remove legacy IO schedulersJens Axboe1-4916/+0
2018-11-01blkcg: revert blkcg cleanups seriesDennis Zhou1-2/+2
2018-10-11cfq: clear queue pointers from cfqg after unpinning them in cfq_pd_offlineMaciej S. Szmigiero1-3/+9
2018-09-21blkcg: fix ref count issue with bio_blkcg using task_cssDennis Zhou (Facebook)1-2/+2
2018-08-07cfq: Suppress compiler warnings about comparisonsBart Van Assche1-10/+12
2018-08-07cfq: Annotate fall-through in a switch statementBart Van Assche1-0/+1
2018-05-24block drivers/block: Use octal not symbolic permissionsJoe Perches1-1/+1
2018-05-09block: consolidate struct request timestamp fieldsOmar Sandoval1-12/+3
2018-05-09block: use ktime_get_ns() instead of sched_clock() for cfq and bfqOmar Sandoval1-23/+26
2017-09-08block/cfq: cache rightmost rb_nodeDavidlohr Bueso1-5/+14
2017-09-08block/cfq: replace cfq_rb_root leftmost cachingDavidlohr Bueso1-50/+20
2017-08-28block, scheduler: convert xxx_var_store to voidweiping zhang1-7/+6
2017-08-11cfq: Give a chance for arming slice idle timer in case of group_idleRitesh Harjani1-1/+2
2017-07-29block: use standard blktrace API to output cgroup info for debug notesShaohua Li1-9/+6
2017-06-12Merge tag 'v4.12-rc5' into for-4.13/blockJens Axboe1-2/+15
2017-05-31cfq-iosched: fix the delay of cfq_group's vdisktime under iops modeHou Tao1-2/+15
2017-05-30cfq-iosched: Delete unused function min_vdisktime()Matthias Kaehlcke1-9/+0
2017-04-05cfq: Disable writeback throttling by defaultJan Kara1-12/+5
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-02-21Merge tag 'for-4.11/linus-merge-signed' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+9
2017-02-16cfq-iosched: don't call wbt_disable_default() with IRQs disabledJens Axboe1-12/+13
2017-02-08block: enumify ELEVATOR_*_MERGEChristoph Hellwig1-2/+2
2017-01-23cfq-iosched: Adjust one function call together with a variable assignmentMarkus Elfring1-2/+4
2017-01-23block: Initialize cfqq->ioprio_class in cfq_get_queue()Alexander Potapenko1-0/+2
2017-01-17block: move existing elevator ops to unionJens Axboe1-1/+1
2016-11-28blk-wbt: cleanup disable-by-default for CFQJens Axboe1-6/+3
2016-11-22block,blkcg: use __GFP_NOWARN for best-effort allocations in blkcgTejun Heo1-1/+2
2016-11-10block: hook up writeback throttlingJens Axboe1-0/+14
2016-11-10block: cfq_cpd_alloc() should use @gfpTejun Heo1-1/+1
2016-11-01block: replace REQ_NOIDLE with REQ_IDLEChristoph Hellwig1-3/+8
2016-11-01cfq-iosched: use op_is_sync instead of opencoding itChristoph Hellwig1-12/+4
2016-10-28block: better op and flags encodingChristoph Hellwig1-34/+32
2016-09-23cfq: fix starvation of asynchronous writesGlauber Costa1-3/+10
2016-08-07block: rename bio bi_rw to bi_opfJens Axboe1-2/+2
2016-07-20block: do not merge requests without consulting with io schedulerTahsin Erdogan1-4/+11
2016-06-28cfq-iosched: Charge at least 1 jiffie instead of 1 nsJan Kara1-1/+2
2016-06-28cfq-iosched: Fix regression in bonnie++ rewrite performanceJan Kara1-1/+10
2016-06-28cfq-iosched: Convert slice_resid from u64 to s64Jan Kara1-2/+2
2016-06-09cfq-iosched: temporarily boost queue priority for idle classesJens Axboe1-1/+21
2016-06-08cfq-iosched: Convert to use highres timersJan Kara1-9/+12
2016-06-08cfq-iosched: Expose microsecond interfacesJeff Moyer1-0/+40
2016-06-08cfq-iosched: Convert from jiffies to nanosecondsJeff Moyer1-137/+136
2016-06-07block: convert is_sync helpers to use REQ_OPs.Mike Christie1-1/+1
2016-06-07blkg_rwstat: separate op from flagsMike Christie1-20/+29
2016-06-07block: prepare elevator to use REQ_OPs.Mike Christie1-2/+2
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-1/+1
2016-02-04cfq-iosched: Allow parent cgroup to preempt its childJan Kara1-1/+18
2016-02-04cfq-iosched: Allow sync noidle workloads to preempt each otherJan Kara1-1/+0
2016-02-04cfq-iosched: Reorder checks in cfq_should_preempt()Jan Kara1-6/+7
2016-02-04cfq-iosched: Don't group_idle if cfqq has big thinktimeJan Kara1-2/+8
2015-09-18cgroup: replace cgroup_on_dfl() tests in controllers with cgroup_subsys_on_dfl()Tejun Heo1-2/+2
2015-08-18blkcg: use CGROUP_WEIGHT_* scale for io.weight on the unified hierarchyTejun Heo1-15/+40
2015-08-18blkcg: s/CFQ_WEIGHT_*/CFQ_WEIGHT_LEGACY_*/Tejun Heo1-11/+11
2015-08-18blkcg: implement interface for the unified hierarchyTejun Heo1-5/+56
2015-08-18blkcg: misc preparations for unified hierarchy interfaceTejun Heo1-4/+4
2015-08-18blkcg: move body parsing from blkg_conf_prep() to its callersTejun Heo1-6/+11
2015-08-18blkcg: mark existing cftypes as legacyTejun Heo1-2/+2
2015-08-18blkcg: refine error codes returned during blkcg configurationTejun Heo1-1/+1
2015-08-18blkcg: remove unnecessary NULL checks from __cfqg_set_weight_device()Tejun Heo1-4/+1
2015-08-18blkcg: remove cfqg_stats->sectorsTejun Heo1-19/+36
2015-08-18blkcg: move io_service_bytes and io_serviced stats into blkcg_gqTejun Heo1-23/+9
2015-08-18blkcg: make blkg_[rw]stat_recursive_sum() to be able to index into blkcg_gqTejun Heo1-4/+4
2015-08-18blkcg: make blkcg_[rw]stat per-cpuTejun Heo1-18/+52
2015-08-18blkcg: add blkg_[rw]stat->aux_cnt and replace cfq_group->dead_stats with itTejun Heo1-49/+18
2015-08-18blkcg: consolidate blkg creation in blkcg_bio_issue_check()Tejun Heo1-23/+10
2015-08-18blkcg: replace blkcg_policy->cpd_size with ->cpd_alloc/free_fn() methodsTejun Heo1-1/+18
2015-08-18blkcg: minor updates around blkcg_policy_dataTejun Heo1-6/+5
2015-08-18blkcg: make blkcg_policy methods take a pointer to blkcg_policy_dataTejun Heo1-7/+7
2015-08-18blk-throttle: clean up blkg_policy_data alloc/init/exit/free methodsTejun Heo1-4/+11
2015-08-18blkcg: replace blkcg_policy->pd_size with ->pd_alloc/free_fn() methodsTejun Heo1-1/+12
2015-08-18cfq-iosched: charge async IOs to the appropriate blkcg's instead of the rootTejun Heo1-43/+42
2015-08-18cfq-iosched: fold cfq_find_alloc_queue() into cfq_get_queue()Tejun Heo1-34/+15
2015-08-18cfq-iosched: move cfq_group determination from cfq_find_alloc_queue() to cfq_...Tejun Heo1-16/+12
2015-08-18cfq-iosched: remove @gfp_mask from cfq_find_alloc_queue()Tejun Heo1-35/+10
2015-08-18blkcg, cfq-iosched: use GFP_NOWAIT instead of GFP_ATOMIC for non-critical all...Tejun Heo1-1/+1
2015-08-18cfq-iosched: minor cleanupsTejun Heo1-15/+11
2015-08-18cfq-iosched: fix oom cfq_queue ref leak in cfq_set_request()Tejun Heo1-0/+2
2015-08-18cfq-iosched: fix async oom queue handlingTejun Heo1-1/+1
2015-08-18cfq-iosched: simplify control flow in cfq_get_queue()Tejun Heo1-6/+7
2015-06-25Merge branch 'for-4.2/writeback' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2015-06-20cfq-iosched: fix other locations where blkcg_to_cfqgd() can return NULLJens Axboe1-1/+11
2015-06-19cfq-iosched: fix sysfs oops when attempting to read unconfigured weightsJens Axboe1-2/+12
2015-06-19cfq-iosched: move group scheduling functions under ifdefJens Axboe1-16/+16
2015-06-10cfq-iosched: fix the setting of IOPS mode on SSDsJens Axboe1-1/+14
2015-06-07block, cgroup: implement policy-specific per-blkcg dataArianna Avanzini1-10/+60
2015-06-05block: Make CFQ default to IOPS mode on SSDsTahsin Erdogan1-1/+1
2015-06-02blkcg: move block/blk-cgroup.h to include/linux/blk-cgroup.hTejun Heo1-1/+1
2015-02-09cfq-iosched: handle failure of cfq group allocationKonstantin Khlebnikov1-1/+6
2015-01-21cfq-iosched: fix incorrect filing of rt async cfqqJeff Moyer1-2/+7
2014-09-11Merge branch 'for-linus' into for-3.18/coreJens Axboe1-3/+16
2014-09-08blkcg: remove blkcg->idTejun Heo1-5/+5
2014-08-28cfq-iosched: Add comments on update timing of weightToshiaki Makita1-0/+8
2014-08-26cfq-iosched: Fix wrong children_weight calculationToshiaki Makita1-3/+8
2014-06-09Merge branch 'for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-14/+14
2014-05-13cgroup: replace cftype->write_string() with cftype->write()Tejun Heo1-14/+14
2014-04-30block: Fix format string mismatch in cfq-iosched.cMasanari Iida1-1/+1
2014-04-09block: remove 'q' parameter from kblockd_schedule_*_work()Jens Axboe1-1/+1
2014-04-03Merge branch 'for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-5/+2
2014-03-19cgroup: drop const from @buffer of cftype->write_string()Tejun Heo1-2/+2
2014-02-24block: Stop abusing csd.list for fifo_timeJan Kara1-4/+4
2014-02-11cgroup: update the meaning of cftype->max_write_lenTejun Heo1-3/+0
2013-12-05cgroup: replace cftype->read_seq_string() with cftype->seq_show()Tejun Heo1-73/+58
2013-11-13block: Use u64_stats_init() to initialize seqcountsPeter Zijlstra1-0/+25
2013-09-22Merge branch 'for-3.12/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2013-09-22cfq: explicitly use 64bit divide operation for 64bit argumentsAnatol Pomozov1-1/+1
2013-09-11block: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node(...)Joe Perches1-1/+1
2013-08-08cgroup: pass around cgroup_subsys_state instead of cgroup in file methodsTejun Heo1-45/+45
2013-07-03elevator: Fix a race in elevator switchingJianpeng Ma1-3/+14
2013-03-23block: Add bio_end_sector()Kent Overstreet1-5/+2
2013-02-28Merge branch 'for-3.9/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-118/+511
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-2/+1
2013-02-22cfq: fix lock imbalance with failed allocationsGlauber Costa1-0/+2
2013-01-09cfq-iosched: add hierarchical cfq_group statisticsTejun Heo1-0/+105
2013-01-09cfq-iosched: collect stats from dead cfqgsTejun Heo1-1/+56
2013-01-09cfq-iosched: separate out cfqg_stats_reset() from cfq_pd_reset_stats()Tejun Heo1-4/+9
2013-01-09blkcg: s/blkg_rwstat_sum()/blkg_rwstat_total()/Tejun Heo1-2/+2
2013-01-09cfq-iosched: enable full blkcg hierarchy supportTejun Heo1-15/+6
2013-01-09cfq-iosched: convert cfq_group_slice() to use cfqg->vfractionTejun Heo1-6/+1
2013-01-09cfq-iosched: implement hierarchy-ready cfq_group charge scalingTejun Heo1-30/+77
2013-01-09cfq-iosched: implement cfq_group->nr_active and ->children_weightTejun Heo1-0/+76
2013-01-09cfq-iosched: add leaf_weightTejun Heo1-8/+126
2013-01-09cfq-iosched: Print sync-noidle information in blktrace messagesVivek Goyal1-3/+7
2013-01-09cfq-iosched: Get rid of unnecessary local variableVivek Goyal1-6/+2
2013-01-09cfq-iosched: Rename few functions related to selecting workloadVivek Goyal1-4/+5
2013-01-09cfq-iosched: Rename "service_tree" to "st" at some placesVivek Goyal1-41/+36
2013-01-09cfq-iosched: More renaming to better represent wl_class and wl_typeVivek Goyal1-31/+33
2013-01-09cfq-iosched: Properly name all references to IO classVivek Goyal1-33/+34
2012-11-06block CFQ: avoid moving request to different queueShaohua Li1-1/+2
2012-06-04block: blkcg_policy_cfq shouldn't be used if !CONFIG_CFQ_GROUP_IOSCHEDTejun Heo1-12/+17
2012-06-04block: fix return value on cfq_init() failureTejun Heo1-0/+1
2012-05-01Merge tag 'v3.4-rc5' into for-3.5/coreJens Axboe1-2/+8
2012-04-20blkcg: collapse blkcg_policy_ops into blkcg_policyTejun Heo1-6/+5
2012-04-20blkcg: embed struct blkg_policy_data in policy specific dataTejun Heo1-19/+27
2012-04-20blkcg: mass rename of blkcg APITejun Heo1-39/+39
2012-04-20blkcg: remove blkio_group->path[]Tejun Heo1-7/+14
2012-04-20blkcg: drop stuff unused after per-queue policy activation updateTejun Heo1-1/+1
2012-04-20blkcg: implement per-queue policy activationTejun Heo1-21/+16
2012-04-20blkcg: add request_queue->root_blkgTejun Heo1-1/+3
2012-04-20blkcg: make blkg_conf_prep() take @pol and return with queue lock heldTejun Heo1-1/+1
2012-04-20blkcg: remove static policy ID enumsTejun Heo1-11/+14
2012-04-20blkcg: use @pol instead of @plid in update_root_blkg_pd() and blkcg_print_blk...Tejun Heo1-5/+5
2012-04-20cfq: fix build breakage & warningsTejun Heo1-9/+8
2012-04-01blkcg: drop BLKCG_STAT_{PRIV|POL|OFF} macrosTejun Heo1-39/+46
2012-04-01blkcg: pass around pd->pdata instead of pd itself in prfill functionsTejun Heo1-8/+6
2012-04-01blkcg: move blkio_group_conf->weight to cfqTejun Heo1-42/+35
2012-04-01blkcg: move blkio_group_stats to cfq-iosched.cTejun Heo1-216/+191
2012-04-01blkcg: cfq doesn't need per-cpu dispatch statsTejun Heo1-27/+10
2012-04-01blkcg: move statistics update code to policiesTejun Heo1-51/+229
2012-04-01cfq: collapse cfq.h into cfq-iosched.cTejun Heo1-1/+113
2012-04-01blkcg: move conf/stat file handling code to policiesTejun Heo1-3/+199
2012-04-01blkcg: remove unused @pol and @plid parametersTejun Heo1-4/+3
2012-04-01block: Make cfq_target_latency tunable through sysfs.Tao Ma1-2/+8
2012-03-23cfq: fix cfqg ref handling when BLK_CGROUP && !CFQ_GROUP_IOSCHEDTejun Heo1-17/+35
2012-03-20cfq: don't use icq_get_changed()Tejun Heo1-23/+40
2012-03-20cfq: pass around cfq_io_cq instead of io_contextTejun Heo1-22/+17
2012-03-06block: make block cgroup policies follow bio task associationTejun Heo1-10/+11
2012-03-06block: implement bio_associate_current()Tejun Heo1-1/+2
2012-03-06block: add io_context->active_refTejun Heo1-2/+2
2012-03-06blkcg: drop unnecessary RCU lockingTejun Heo1-24/+0
2012-03-06blkcg: unify blkg's for blkcg policiesTejun Heo1-3/+2
2012-03-06blkcg: let blkcg core manage per-queue blkg list and counterTejun Heo1-94/+6
2012-03-06blkcg: move per-queue blkg list heads and counters to queue and blkgTejun Heo1-28/+19
2012-03-06blkcg: don't use blkg->plid in stat related functionsTejun Heo1-16/+28
2012-03-06blkcg: move refcnt to blkcg coreTejun Heo1-48/+10
2012-03-06blkcg: let blkcg core handle policy private data allocationTejun Heo1-50/+52
2012-03-06blkcg: let blkio_group point to blkio_cgroup directlyTejun Heo1-0/+4
2012-03-06blkcg: kill the mind-bending blkg->devTejun Heo1-21/+0
2012-03-06blkcg: don't allow or retain configuration of missing devicesTejun Heo1-1/+1
2012-03-06blkcg: factor out blkio_group creationTejun Heo1-91/+40
2012-03-06blkcg: use the usual get blkg path for root blkio_groupTejun Heo1-52/+53
2012-03-06blkcg: use q and plid instead of opaque void * for blkio_group associationTejun Heo1-14/+16
2012-03-06blkcg: update blkg get functions take blkio_cgroup as parameterTejun Heo1-8/+12
2012-03-06blkcg: move rcu_read_lock() outside of blkio_group get functionsTejun Heo1-6/+5
2012-03-06blkcg: shoot down blkio_groups on elevator switchTejun Heo1-1/+19
2012-03-06elevator: make elevator_init_fn() return 0/-errnoTejun Heo1-4/+5
2012-03-06cfq: don't register propio policy if !CONFIG_CFQ_GROUP_IOSCHEDTejun Heo1-3/+4
2012-02-15block: replace icq->changed with icq->flagsTejun Heo1-6/+6
2012-02-08block: don't call elevator callbacks for plug mergesTejun Heo1-11/+4
2012-02-07block: strip out locking optimization in put_io_context()Tejun Heo1-1/+1
2012-01-19block,cfq: change code orderShaohua Li1-3/+4
2012-01-17cfq-iosched: fix use-after-free of cfqqJens Axboe1-4/+3
2011-12-16block, cfq: fix empty queue crash caused by request mergeShaohua Li1-0/+12
2011-12-14block, cfq: move icq creation and rq->elv.icq association to block coreTejun Heo1-124/+11
2011-12-14block, cfq: restructure io_cq creation path for io_context interface cleanupTejun Heo1-53/+41
2011-12-14block, cfq: move io_cq exit/release to blk-ioc.cTejun Heo1-45/+2
2011-12-14block, cfq: move icq cache management to block coreTejun Heo1-33/+15
2011-12-14block, cfq: move io_cq lookup to blk-ioc.cTejun Heo1-40/+8
2011-12-14block, cfq: move cfqd->icq_list to request_queue and add request->elv.icqTejun Heo1-17/+11
2011-12-14block, cfq: reorganize cfq_io_context into generic and cfq specific partsTejun Heo1-115/+133
2011-12-14block, cfq: replace current_io_context() with create_io_context()Tejun Heo1-1/+1
2011-12-14block, cfq: kill cic->keyTejun Heo1-21/+5
2011-12-14block, cfq: kill ioc_goneTejun Heo1-38/+5
2011-12-14block, cfq: remove delayed unlinkTejun Heo1-82/+10
2011-12-14block, cfq: unlink cfq_io_context's immediatelyTejun Heo1-36/+8
2011-12-14block, cfq: fix cic lookup lockingTejun Heo1-32/+35
2011-12-14block, cfq: fix race condition in cic creation path and tighten lockingTejun Heo1-59/+76
2011-12-14block, cfq: move ioc ioprio/cgroup changed handling to cicTejun Heo1-19/+9
2011-12-14block, cfq: misc updates to cfq_io_contextTejun Heo1-26/+32
2011-12-14block: make ioc get/put interface more conventional and fix race on alloctionTejun Heo1-9/+9
2011-12-14block, cfq: move cfqd->cic_index to q->idTejun Heo1-47/+5