aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds1-13/+13
10 daysblock: support to account io_ticks preciselyYu Kuai1-4/+5
10 daysblock: add plug while submitting IOYu Kuai1-0/+6
2024-04-17block: Do not special-case plugging of zone write operationsDamien Le Moal1-6/+0
2024-04-17block: Do not check zone type in blk_check_zone_append()Damien Le Moal1-2/+1
2024-04-17block: Allow zero value of max_zone_append_sectors queue limitDamien Le Moal1-1/+1
2024-04-12block: fix that blk_time_get_ns() doesn't update time after scheduleYu Kuai1-0/+1
2024-04-07block: fix q->blkg_list corruption during disk rebindMing Lei1-0/+2
2024-02-13block: pass a queue_limits argument to blk_alloc_queueChristoph Hellwig1-8/+18
2024-02-13block: add an API to atomically update queue limitsChristoph Hellwig1-0/+1
2024-02-08block: Simplify the allocation of slab cachesKunwu Chan1-2/+1
2024-02-05block: update cached timestamp post schedule/preemptionJens Axboe1-0/+2
2024-02-05block: cache current nsec time in struct blk_plugJens Axboe1-0/+1
2024-02-01block: Fix where bio IO priority gets setHongyu Jin1-0/+10
2024-01-11Merge tag 'for-6.8/block-2024-01-08' of git://git.kernel.dk/linuxLinus Torvalds1-5/+21
2023-12-26block: reject invalid operation in submit_bio_noacctChristoph Hellwig1-5/+21
2023-11-28block: warn once for each partition in bio_check_ro()Yu Kuai1-3/+11
2023-11-07blk-core: use pr_warn_ratelimited() in bio_check_ro()Yu Kuai1-2/+2
2023-08-29Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds1-0/+1
2023-08-14block: Add some exports for bcachefsKent Overstreet1-0/+1
2023-08-08block: get rid of unused plug->nowait flagJens Axboe1-6/+0
2023-07-14blk-mq: Fix stall due to recursive flush plugRoss Lagerwall1-2/+1
2023-06-30Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+4
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-0/+1
2023-05-24block: make bio_check_eod work for zero sized devicesChristoph Hellwig1-1/+1
2023-05-23block/rq_qos: protect rq_qos apis with a new lockYu Kuai1-0/+1
2023-05-22Merge patch series "Add Command Duration Limits support"Martin K. Petersen1-0/+3
2023-05-22scsi: block: Introduce BLK_STS_DURATION_LIMITDamien Le Moal1-0/+3
2023-05-22Merge patch series "Use block pr_ops in LIO"Martin K. Petersen1-1/+1
2023-04-26Merge tag 'for-6.4/block-2023-04-21' of git://git.kernel.dk/linuxLinus Torvalds1-10/+4
2023-04-17btrfs, block: move REQ_CGROUP_PUNT to btrfsChristoph Hellwig1-3/+0
2023-04-16block: store bdev->bd_disk->fops->submit_bio state in bdevJens Axboe1-4/+4
2023-04-11block: Rename BLK_STS_NEXUS to BLK_STS_RESV_CONFLICTMike Christie1-1/+1
2023-03-20blk-mq: remove hybrid pollingKeith Busch1-6/+0
2023-03-15block: count 'ios' and 'sectors' when io is done for bio-based deviceYu Kuai1-10/+6
2023-03-03Merge tag 'block-6.3-2023-03-03' of git://git.kernel.dk/linuxLinus Torvalds1-2/+8
2023-02-24block: be a bit more careful in checking for NULL bdev while pollingJens Axboe1-2/+8
2023-02-22Merge tag 'ata-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlem...Linus Torvalds1-5/+9
2023-02-16block: Fix io statistics for cgroup in throttle pathJinke Han1-11/+12
2023-01-29block: treat poll queue enter similarly to timeoutsJens Axboe1-1/+10
2023-01-29block: add a new helper bdev_{is_zone_start, offset_from_zone_start}Pankaj Raghav1-1/+1
2023-01-14block: add a sanity check for non-write flush/fua biosChristoph Hellwig1-5/+9
2023-01-08block: Drop spurious might_sleep() from blk_put_queue()Tejun Heo1-3/+0
2022-12-15block: fix use-after-free of q->q_usage_counterMing Lei1-4/+5
2022-12-13Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds1-44/+39
2022-11-30block: mark blk_put_queue as potentially blockingChristoph Hellwig1-4/+2
2022-11-30block: untangle request_queue refcounting from sysfsChristoph Hellwig1-8/+34
2022-11-16block: make dma_alignment a stacking queue_limitKeith Busch1-1/+0
2022-11-02blk-mq: move the srcu_struct used for quiescing to the tagsetChristoph Hellwig1-22/+5
2022-10-25block: remove bio_start_io_acct_timeChristoph Hellwig1-12/+0
2022-10-07Merge tag 'for-6.1/block-2022-10-03' of git://git.kernel.dk/linuxLinus Torvalds1-26/+11
2022-09-29block: add rationale for not using blk_mq_plug() when applicablePankaj Raghav1-0/+6
2022-09-27block: replace blk_queue_nowait with bdev_nowaitChristoph Hellwig1-1/+1
2022-09-20block: remove PSI accounting from the bio layerChristoph Hellwig1-17/+0
2022-09-20block: fix comment typo in submit_bio of block-core.c.Ping-Xiang Chen1-1/+1
2022-09-13block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowaitStefan Roesch1-2/+2
2022-09-05block: remove unneeded return value of bio_check_ro()Miaohe Lin1-7/+3
2022-08-02block: move ->bio_split to the gendiskChristoph Hellwig1-8/+1
2022-07-21block: remove __blk_get_queueChristoph Hellwig1-6/+4
2022-07-14block: Use the new blk_opf_t typeBart Van Assche1-1/+1
2022-07-14block: Use enum req_op where appropriateBart Van Assche1-3/+3
2022-07-12block: Use try_cmpxchg in update_io_ticksUros Bizjak1-1/+1
2022-07-06block: simplify blk_check_zone_appendChristoph Hellwig1-3/+2
2022-07-06block: simplify blk_mq_plugChristoph Hellwig1-1/+1
2022-07-06block: use bdev_is_zoned instead of open coding itChristoph Hellwig1-3/+3
2022-06-28block: simplify disk shutdownChristoph Hellwig1-37/+0
2022-06-28block: stop setting the nomerges flags in blk_cleanup_queueChristoph Hellwig1-3/+0
2022-06-28block: remove QUEUE_FLAG_DEADChristoph Hellwig1-3/+0
2022-06-27block: Directly use ida_alloc()/free()Bo Liu1-2/+2
2022-06-17block: disable the elevator int del_gendiskChristoph Hellwig1-13/+0
2022-06-03Merge tag 'for-5.19/block-2022-06-02' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2022-05-28block: use bio_queue_enter instead of blk_queue_enter in bio_pollChristoph Hellwig1-1/+1
2022-05-23Merge tag 'for-5.19/block-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds1-51/+30
2022-05-16block: cleanup the VM accounting in submit_bioChristoph Hellwig1-13/+5
2022-05-04block: improve the error message from bio_check_eodChristoph Hellwig1-4/+3
2022-05-02Revert "block: release rq qos structures for queue without disk"Ming Lei1-4/+0
2022-04-18block: change exported IO accounting interface from gendisk to bdevMing Lei1-32/+20
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-1/+1
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-1/+1
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-12/+1
2022-03-24Merge tag 'for-5.18/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-5/+9
2022-03-21Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-161/+132
2022-03-14block: release rq qos structures for queue without diskMing Lei1-0/+4
2022-03-09block: add ->poll_bio to block_device_operationsMing Lei1-5/+9
2022-03-08block: move q_usage_counter release into blk_queue_releaseMing Lei1-2/+0
2022-03-08block: move blkcg initialization/destroy into disk allocation/release handlerMing Lei1-5/+0
2022-03-07block: remove handle_bad_sectorChristoph Hellwig1-12/+5
2022-03-07block: fix and cleanup bio_check_roChristoph Hellwig1-6/+2
2022-02-22scsi: block: Remove REQ_OP_WRITE_SAME supportChristoph Hellwig1-12/+1
2022-02-17block: fix surprise removal for drivers calling blk_set_queue_dyingChristoph Hellwig1-8/+2
2022-02-16block: merge submit_bio_checks() into submit_bio_noacctMing Lei1-108/+101
2022-02-16block: don't check bio in blk_throtl_dispatch_work_fnMing Lei1-13/+17
2022-02-16block: don't declare submit_bio_checks in local headerMing Lei1-1/+1
2022-02-16block: move blk_crypto_bio_prep() out of blk-mq.cMing Lei1-13/+8
2022-02-16block: move submit_bio_checks() into submit_bio_noacctMing Lei1-3/+3
2022-02-11block: partition include/linux/blk-cgroup.hMing Lei1-1/+1
2022-02-11block: move initialization of q->blkg_list into blkcg_init_queueMing Lei1-3/+0
2022-02-03block: return -ENODEV for BLK_STS_OFFLINESong Liu1-1/+1
2022-02-03block: introduce BLK_STS_OFFLINESong Liu1-0/+1
2022-02-02block: check that there is a plug in blk_flush_plugChristoph Hellwig1-4/+3
2022-01-28block: add bio_start_io_acct_time() to control start_timeMike Snitzer1-6/+19
2022-01-09block: don't protect submit_bio_checks by q_usage_counterMing Lei1-5/+9
2021-12-03blk-mq: move srcu from blk_mq_hw_ctx to request_queueMing Lei1-5/+22
2021-11-29block: don't include <linux/part_stat.h> in blk.hChristoph Hellwig1-0/+1
2021-11-29block: don't include blk-mq-sched.h in blk.hChristoph Hellwig1-0/+1
2021-11-29block: move io_context creation into where it's neededJens Axboe1-9/+0
2021-11-29block: don't include blk-mq headers in blk-core.cChristoph Hellwig1-3/+0
2021-11-29block: move blk_print_req_error to blk-mq.cChristoph Hellwig1-12/+3
2021-11-29block: move blk_dump_rq_flags to blk-mq.cChristoph Hellwig1-14/+0
2021-11-29block: move blk_account_io_{start,done} to blk-mq.cChristoph Hellwig1-26/+1
2021-11-29block: move blk_steal_bios to blk-mq.cChristoph Hellwig1-21/+0
2021-11-29block: move blk_rq_init to blk-mq.cChristoph Hellwig1-17/+0
2021-11-29block: move request based cloning helpers to blk-mq.cChristoph Hellwig1-183/+1
2021-11-29block: remove rq_flush_dcache_pagesChristoph Hellwig1-19/+0
2021-11-29block: move blk_rq_err_bytes to scsiChristoph Hellwig1-41/+0
2021-11-25block: fix parameter not described warningYang Guang1-0/+1
2021-11-15blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and disk_release()Ming Lei1-1/+3
2021-11-12blkcg: Remove extra blkcg_bio_issue_initLaibin Qiu1-3/+1
2021-11-09Merge tag 'for-5.16/block-2021-11-09' of git://git.kernel.dk/linux-blockLinus Torvalds1-40/+21
2021-11-04block: move queue enter logic into blk_mq_submit_bio()Jens Axboe1-12/+13
2021-11-04block: make bio_queue_enter() fast-path available inlineJens Axboe1-27/+1
2021-11-04block: have plug stored requests hold references to the queueJens Axboe1-1/+7
2021-10-29block: remove blk_{get,put}_requestChristoph Hellwig1-21/+0
2021-10-22block: remove the initialize_rq_fn blk_mq_ops methodChristoph Hellwig1-8/+1
2021-10-21block: kill extra rcu lock/unlock in queue enterPavel Begunkov1-1/+1
2021-10-20block: cleanup the flush plug helpersChristoph Hellwig1-7/+6
2021-10-20block: optimise blk_flush_plug_listPavel Begunkov1-2/+2
2021-10-20block: don't bloat enter_queue with percpu_refPavel Begunkov1-1/+1
2021-10-20block: convert leftovers to bdev_get_queuePavel Begunkov1-1/+1
2021-10-19block: attempt direct issue of plug listJens Axboe1-0/+1
2021-10-19block: change plugging to use a singly linked listJens Axboe1-2/+2
2021-10-18block: add a struct io_comp_batch argument to fops->iopoll()Jens Axboe1-4/+5
2021-10-18block: move update request helpers into blk-mq.cJens Axboe1-145/+1
2021-10-18block: remove useless caller argument to print_req_error()Jens Axboe1-5/+4
2021-10-18block: use bdev_get_queue() in blk-core.cPavel Begunkov1-6/+7
2021-10-18block: switch polling to be bio basedChristoph Hellwig1-32/+95
2021-10-18block: rename REQ_HIPRI to REQ_POLLEDChristoph Hellwig1-1/+1
2021-10-18block: inline hot paths of blk_account_io_*()Pavel Begunkov1-21/+9
2021-10-18block: pre-allocate requests if plug is started and is a batchJens Axboe1-19/+28
2021-10-18block: move blk-throtl fast path inlineJens Axboe1-0/+1
2021-10-18blk-mq: Change shared sbitmap naming to shared tagsJohn Garry1-1/+1
2021-10-18blk-mq-sched: Rename blk_mq_sched_free_{requests -> rqs}()John Garry1-1/+1
2021-10-18block: Rename BLKDEV_MAX_RQ -> BLKDEV_DEFAULT_RQJohn Garry1-1/+1
2021-10-18block: print the current process in handle_bad_sectorChristoph Hellwig1-1/+2
2021-10-18block: move integrity handling out of <linux/blkdev.h>Christoph Hellwig1-0/+1
2021-10-15block: drain file system I/O on del_gendiskChristoph Hellwig1-15/+12
2021-10-15block: split bio_queue_enter from blk_queue_enterChristoph Hellwig1-8/+25
2021-10-15block: factor out a blk_try_enter_queue helperChristoph Hellwig1-28/+32
2021-10-15block: call submit_bio_checks under q_usage_counterChristoph Hellwig1-22/+12
2021-08-30Merge tag 'io_uring-bio-cache.5-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2021-08-30Merge tag 'for-5.15/block-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds1-15/+3
2021-08-23block: provide bio_clear_hipri() helperJens Axboe1-5/+2
2021-08-23block: clear BIO_PERCPU_CACHE flag if polling isn't supportedJens Axboe1-1/+4
2021-08-17blk-mq: fix kernel panic during iterating over flush requestMing Lei1-1/+0
2021-08-09block: move the bdi from the request_queue to the gendiskChristoph Hellwig1-10/+3
2021-08-09mm: hide laptop_mode_wb_timer entirely behind the BDI APIChristoph Hellwig1-5/+0
2021-07-07block: fix the problem of io_ticks becoming smallerChunguang Xu1-1/+1
2021-06-30block: remove REQ_OP_SCSI_{IN,OUT}Christoph Hellwig1-2/+0
2021-06-03block: Update blk_update_request() documentationBart Van Assche1-8/+4
2021-06-01block: unexport blk_alloc_queueChristoph Hellwig1-1/+0
2021-05-24block_dump: remove block_dump featurezhangyi (F)1-9/+0
2021-04-06block: refactor the bounce buffering codeChristoph Hellwig1-4/+2
2021-02-22block: get rid of the trace rq insert wrapperChaitanya Kulkarni1-0/+1
2021-01-25block: skip bio_check_eod for partition-remapped biosChristoph Hellwig1-5/+6
2021-01-24block: don't pass BIOSET_NEED_BVECS for q->bio_splitMing Lei1-1/+1
2021-01-24blk-mq: use ->bi_bdev for I/O accountingChristoph Hellwig1-1/+5
2021-01-24block: use ->bi_bdev for bio based I/O accountingChristoph Hellwig1-10/+13
2021-01-24block: do not reassig ->bi_bdev when partition remappingChristoph Hellwig1-2/+3
2021-01-24block: simplify submit_bio_checks a bitChristoph Hellwig1-25/+14
2021-01-24block: store a block_device pointer in struct bioChristoph Hellwig1-20/+17
2021-01-24block: add a hard-readonly flag to struct gendiskChristoph Hellwig1-3/+1
2021-01-01Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/...Linus Torvalds1-6/+7
2020-12-09scsi: block: Do not accept any requests while suspendedAlan Stern1-3/+4
2020-12-09scsi: block: Remove RQF_PREEMPT and BLK_MQ_REQ_PREEMPTBart Van Assche1-4/+3
2020-12-09scsi: block: Introduce BLK_MQ_REQ_PMBart Van Assche1-3/+4
2020-12-04block: remove the request_queue argument to the block_bio_remap tracepointChristoph Hellwig1-1/+1
2020-12-04block: simplify and extend the block_bio_merge tracepoint classChristoph Hellwig1-1/+1
2020-12-01block: switch partition lookup to use struct block_deviceChristoph Hellwig1-36/+30
2020-12-01block: allocate struct hd_struct as part of struct bdev_inodeChristoph Hellwig1-9/+7
2020-12-01block: move the policy field to struct block_deviceChristoph Hellwig1-1/+1
2020-12-01block: move make_it_fail to struct block_deviceChristoph Hellwig1-1/+2
2020-12-01block: move the start_sect field to struct block_deviceChristoph Hellwig1-2/+3
2020-12-01block: move disk stat accounting to struct block_deviceChristoph Hellwig1-2/+2
2020-12-01block: remove the nr_sects field in struct hd_structChristoph Hellwig1-1/+1
2020-10-13block: add zone specific block statusesKeith Busch1-0/+4
2020-10-08block: ratelimit handle_bad_sector() messageTetsuo Handa1-5/+4
2020-10-05block: make blk_crypto_rq_bio_prep() able to failEric Biggers1-3/+5
2020-09-25block: add QUEUE_FLAG_NOWAITMike Snitzer1-2/+2
2020-09-24bdi: remove BDI_CAP_CGROUP_WRITEBACKChristoph Hellwig1-1/+0
2020-09-24bdi: initialize ->ra_pages and ->io_pages in bdi_initChristoph Hellwig1-2/+0
2020-09-11block: introduce part_[begin|end]_io_acctSong Liu1-6/+33
2020-09-03blk-mq: Record nr_active_requests per queue for when using shared sbitmapJohn Garry1-0/+2
2020-09-01block: better deal with the delayed not supported case in blk_cloned_rq_check...Ritika Srivastava1-5/+22
2020-09-01block: Return blk_status_t instead of errno codesRitika Srivastava1-4/+4
2020-09-01blk-mq: use BLK_MQ_NO_TAG for no tagXianting Tian1-2/+2
2020-09-01block: Move bio merge related functions into blk-merge.cBaolin Wang1-156/+0
2020-09-01block: ensure bdi->io_pages is always initializedJens Axboe1-0/+1
2020-08-03Merge tag 'for-5.9/io_uring-20200802' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+6
2020-07-07block: remove a bogus warning in __submit_bio_noacct_mqChristoph Hellwig1-2/+1
2020-07-02block: initialize current->bio_list[1] in __submit_bio_noacct_mqChristoph Hellwig1-4/+3