aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk.h
AgeCommit message (Expand)AuthorFilesLines
10 daysblk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOWYu Kuai1-11/+0
10 daysblock: support to account io_ticks preciselyYu Kuai1-0/+1
12 daysblock: add a bio_await_chain helperKeith Busch1-0/+1
2024-05-01block: Improve zone write request completion handlingDamien Le Moal1-4/+4
2024-05-01block: Fix handling of non-empty flush write requests to zonesDamien Le Moal1-2/+2
2024-04-17block: Implement zone append emulationDamien Le Moal1-2/+12
2024-04-17block: Introduce zone write pluggingDamien Le Moal1-3/+48
2024-04-17block: Allow using bio_attempt_back_merge() internallyDamien Le Moal1-0/+8
2024-04-17block: Introduce blk_zone_update_request_bio()Damien Le Moal1-1/+18
2024-03-26block: Make blk_rq_set_mixed_merge() staticJohn Garry1-1/+0
2024-03-13block: limit block time caching to in_task() contextJens Axboe1-1/+1
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-2/+83
2024-02-25block: remove bdev_handle completelyChristian Brauner1-5/+0
2024-02-25bdev: remove bdev pointer from struct bdev_handleChristian Brauner1-2/+1
2024-02-25bdev: make struct bdev_handle private to the block layerChristian Brauner1-3/+9
2024-02-25bdev: make bdev_{release, open_by_dev}() private to block layerChristian Brauner1-0/+4
2024-02-24block: io wait hang check helperKeith Busch1-0/+13
2024-02-13block: pass a queue_limits argument to blk_alloc_queueChristoph Hellwig1-1/+1
2024-02-13block: add an API to atomically update queue limitsChristoph Hellwig1-1/+1
2024-02-05block: update cached timestamp post schedule/preemptionJens Axboe1-1/+3
2024-02-05block: cache current nsec time in struct blk_plugJens Axboe1-1/+13
2024-02-05block: add blk_time_get_ns() and blk_time_get() helpersJens Axboe1-1/+12
2024-02-05block: move cgroup time handling code into blk.hJens Axboe1-0/+42
2023-12-19block: simplify disk_set_zonedChristoph Hellwig1-2/+0
2023-08-14block: Add some exports for bcachefsKent Overstreet1-1/+0
2023-08-09block: make bvec_try_merge_hw_page() non-staticJinyoung Choi1-0/+4
2023-07-17blk-flush: count inflight flush_data requestsChengming Zhou1-3/+2
2023-06-16block: remove BIO_PAGE_REFFEDChristoph Hellwig1-2/+0
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-5/+6
2023-06-12block: remove unused fmode_t arguments from ioctl handlersChristoph Hellwig1-3/+3
2023-06-12block: move a few internal definitions out of blkdev.hChristoph Hellwig1-2/+21
2023-06-05block: delete partitions later in del_gendiskChristoph Hellwig1-1/+1
2023-05-24block: Add BIO_PAGE_PINNED and associated infrastructureDavid Howells1-0/+12
2023-05-19blk-mq: defer to the normal submission path for non-flush flush commandsChristoph Hellwig1-1/+1
2023-04-26blk-integrity: register sysfs attributes on struct deviceThomas Weißschuh1-9/+1
2023-04-24block: Cleanup set_capacity()/bdev_set_nr_sectors()Damien Le Moal1-0/+2
2023-04-13blk-iolatency: Make initialization lazyTejun Heo1-6/+0
2023-03-02blk-mq: enforce op-specific segment limits in blk_insert_cloned_requestUday Shankar1-0/+7
2023-02-17block: Revert "block: Do not reread partition table on exclusively open device"Yu Kuai1-1/+1
2022-12-13Merge tag 'for-6.2/block-2022-12-08' of git://git.kernel.dk/linuxLinus Torvalds1-18/+9
2022-12-01block: Do not reread partition table on exclusively open deviceJan Kara1-1/+1
2022-11-30block: untangle request_queue refcounting from sysfsChristoph Hellwig1-4/+0
2022-11-18Merge tag 'block-6.1-2022-11-18' of git://git.kernel.dk/linuxLinus Torvalds1-0/+1
2022-11-16block: make blk_set_default_limits() privateKeith Busch1-0/+1
2022-11-02blk-mq: move the srcu_struct used for quiescing to the tagsetChristoph Hellwig1-8/+1
2022-11-01block: split elevator_switchChristoph Hellwig1-0/+1
2022-10-25block: Constify most queue limits pointersBart Van Assche1-5/+6
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+7
2022-10-03kmsan: disable physical page merging in biovecAlexander Potapenko1-0/+7
2022-09-27blk-mq: use quiesced elevator switch when reinitializing queuesKeith Busch1-2/+1
2022-09-26blk-iolatency: pass a gendisk to blk_iolatency_initChristoph Hellwig1-2/+2
2022-08-02block: pass struct queue_limits to the bio splitting helpersChristoph Hellwig1-11/+14
2022-08-02block: move bio_allowed_max_sectors to blk-merge.cChristoph Hellwig1-10/+0
2022-08-02block: change the blk_queue_bounce calling conventionChristoph Hellwig1-4/+6
2022-08-02block: change the blk_queue_split calling conventionChristoph Hellwig1-3/+3
2022-07-21block: remove __blk_get_queueChristoph Hellwig1-5/+0
2022-07-14block: Use enum req_op where appropriateBart Van Assche1-1/+1
2022-07-06block: pass a gendisk to blk_queue_free_zone_bitmapsChristoph Hellwig1-2/+2
2022-07-06block: pass a gendisk to blk_queue_clear_zone_settingsChristoph Hellwig1-2/+2
2022-06-29block: simplify disk_set_independent_access_rangesChristoph Hellwig1-2/+1
2022-06-28block: simplify blktrace sysfs attribute creationChristoph Hellwig1-0/+2
2022-06-28block: simplify disk shutdownChristoph Hellwig1-0/+3
2022-06-27block: move blk_queue_get_max_sectors to blk.hChristoph Hellwig1-0/+13
2022-04-17block: refactor discard bio size limitingChristoph Hellwig1-14/+0
2022-04-17block: allow use of per-cpu bio alloc cache by block driversMike Snitzer1-6/+0
2022-04-17block: allow using the per-cpu bio cache from bio_alloc_biosetMike Snitzer1-2/+1
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-1/+0
2022-03-08blk-mq: do not include passthrough requests in I/O accountingChristoph Hellwig1-1/+1
2022-02-22scsi: block: Remove REQ_OP_WRITE_SAME supportChristoph Hellwig1-1/+0
2022-02-16block: don't check bio in blk_throtl_dispatch_work_fnMing Lei1-0/+1
2022-02-16block: don't declare submit_bio_checks in local headerMing Lei1-1/+0
2022-02-02block: pass a block_device and opf to blk_next_bioChaitanya Kulkarni1-2/+0
2022-02-02block: move blk_drop_partitions to blk.hChristoph Hellwig1-0/+1
2022-02-02block: move disk_{block,unblock,flush}_events to blk.hChristoph Hellwig1-0/+3
2021-12-16block: only build the icq tracking code when neededChristoph Hellwig1-0/+6
2021-12-03blk-mq: move srcu from blk_mq_hw_ctx to request_queueMing Lei1-1/+9
2021-12-03block: switch to atomic_t for request referencesJens Axboe1-0/+31
2021-11-29block: remove the ->rq_disk field in struct requestChristoph Hellwig1-1/+1
2021-11-29block: simplify ioc_lookup_icqChristoph Hellwig1-1/+1
2021-11-29block: move blk_mq_sched_assign_ioc to blk-ioc.cChristoph Hellwig1-5/+1
2021-11-29block: don't include <linux/part_stat.h> in blk.hChristoph Hellwig1-1/+0
2021-11-29block: don't include <linux/idr.h> in blk.hChristoph Hellwig1-1/+0
2021-11-29block: don't include <linux/blk-mq.h> in blk.hChristoph Hellwig1-1/+0
2021-11-29block: don't include blk-mq.h in blk.hChristoph Hellwig1-1/+0
2021-11-29block: don't include blk-mq-sched.h in blk.hChristoph Hellwig1-1/+0
2021-11-29block: remove the e argument to elevator_exitChristoph Hellwig1-1/+1
2021-11-29block: remove elevator_exitChristoph Hellwig1-10/+1
2021-11-29block: move blk_get_flush_queue to blk-flush.cChristoph Hellwig1-6/+0
2021-11-29blk-mq: simplify the plug handling in blk_mq_submit_bioChristoph Hellwig1-1/+1
2021-11-29block: merge disk_scan_partitions and blkdev_reread_partChristoph Hellwig1-0/+1
2021-11-29block: move blk_print_req_error to blk-mq.cChristoph Hellwig1-1/+1
2021-11-29block: move blk_account_io_{start,done} to blk-mq.cChristoph Hellwig1-20/+1
2021-11-29block: move request based cloning helpers to blk-mq.cChristoph Hellwig1-0/+10
2021-11-19blk-mq: don't insert FUA request with data into scheduler queueMing Lei1-1/+1
2021-11-04block: move queue enter logic into blk_mq_submit_bio()Jens Axboe1-0/+1
2021-11-04block: make bio_queue_enter() fast-path available inlineJens Axboe1-0/+34
2021-10-26block: Add independent access ranges supportDamien Le Moal1-0/+4
2021-10-19blk-mq: don't handle non-flush requests in blk_insert_flushChristoph Hellwig1-1/+1
2021-10-19block: return whether or not to unplug through booleanJens Axboe1-1/+1
2021-10-18block: move update request helpers into blk-mq.cJens Axboe1-0/+1
2021-10-18block: handle fast path of bio splitting inlineJens Axboe1-1/+26
2021-10-18block: rename REQ_HIPRI to REQ_POLLEDChristoph Hellwig1-2/+2
2021-10-18block: inline hot paths of blk_account_io_*()Pavel Begunkov1-3/+21
2021-10-18block: merge block_ioctl into blkdev_ioctlChristoph Hellwig1-2/+1
2021-10-18block: move the *blkdev_ioctl declarations out of blkdev.hChristoph Hellwig1-0/+4
2021-10-18block: bump max plugged deferred size from 16 to 32Jens Axboe1-0/+6
2021-10-18block: move blk-throtl fast path inlineJens Axboe1-16/+0
2021-10-18blk-mq-sched: Rename blk_mq_sched_free_{requests -> rqs}()John Garry1-1/+1
2021-10-18block: move a few merge helpers out of <linux/blkdev.h>Christoph Hellwig1-0/+38
2021-10-18block: move elevator.h to block/Christoph Hellwig1-0/+2
2021-10-15block: keep q_usage_counter in atomic mode after del_gendiskChristoph Hellwig1-0/+1
2021-10-15block: drain file system I/O on del_gendiskChristoph Hellwig1-0/+1
2021-09-07block: split out operations on block special filesChristoph Hellwig1-0/+2
2021-08-30Merge tag 'io_uring-bio-cache.5-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+7
2021-08-30Merge tag 'for-5.15/block-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds1-9/+11
2021-08-23block: provide bio_clear_hipri() helperJens Axboe1-0/+7
2021-08-23block: return errors from disk_alloc_eventsLuis Chamberlain1-1/+1
2021-08-23block: return errors from blk_integrity_addLuis Chamberlain1-2/+3
2021-08-17blk-mq: fix is_flush_rqMing Lei1-5/+1
2021-08-14blk-throtl: optimize IOPS throttle for large IO scenariosChunguang Xu1-0/+2
2021-08-12block: pass a gendisk to bdev_resize_partitionChristoph Hellwig1-2/+2
2021-08-12block: pass a gendisk to bdev_del_partitionChristoph Hellwig1-1/+1
2021-08-12block: pass a gendisk to bdev_add_partitionChristoph Hellwig1-2/+2
2021-08-02block: remove disk_name()Christoph Hellwig1-1/+0
2021-06-24blk: Fix lock inversion between ioc lock and bfqd lockJan Kara1-1/+1
2021-06-24block: add the events* attributes to disk_attrsChristoph Hellwig1-0/+3
2021-06-24block: move the disk events code to a separate fileChristoph Hellwig1-0/+5
2021-06-11blk-mq: improve the blk_mq_init_allocated_queue interfaceChristoph Hellwig1-1/+0
2021-06-01block: unexport blk_alloc_queueChristoph Hellwig1-0/+2
2021-06-01block: refactor device number setup in __device_add_diskChristoph Hellwig1-2/+2
2021-04-08block: refactor blk_drop_partitionsChristoph Hellwig1-1/+0
2021-04-06block: refactor the bounce buffering codeChristoph Hellwig1-4/+12
2021-04-06block: remove BLK_BOUNCE_ISA supportChristoph Hellwig1-5/+0
2021-02-10block: introduce blk_queue_clear_zone_settings()Damien Le Moal1-0/+2
2021-02-08block: use bi_max_vecs to find the bvec poolChristoph Hellwig1-3/+3
2021-02-08block: reuse BIO_INLINE_VECS for integrity bvecsChristoph Hellwig1-0/+1
2021-01-24block: move three bvec helpers declaration into private helperMing Lei1-0/+4
2021-01-24block: use an xarray for disk->part_tblChristoph Hellwig1-1/+0
2021-01-24blk-mq: use ->bi_bdev for I/O accountingChristoph Hellwig1-2/+0
2021-01-24block: store a block_device pointer in struct bioChristoph Hellwig1-2/+0
2020-12-16Merge tag 'for-5.11/drivers-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-12/+0
2020-12-07Revert "block: Fix a lockdep complaint triggered by request queue flushing"Ming Lei1-1/+0
2020-12-01block: merge struct block_device and struct hd_structChristoph Hellwig1-1/+1
2020-12-01block: pass a block_device to blk_alloc_devtChristoph Hellwig1-1/+1
2020-12-01block: switch partition lookup to use struct block_deviceChristoph Hellwig1-2/+2
2020-12-01block: allocate struct hd_struct as part of struct bdev_inodeChristoph Hellwig1-21/+0
2020-12-01block: move the partition_meta_info to struct block_deviceChristoph Hellwig1-1/+0
2020-12-01block: move disk stat accounting to struct block_deviceChristoph Hellwig1-1/+0
2020-12-01block: remove the nr_sects field in struct hd_structChristoph Hellwig1-53/+0
2020-12-01block: simplify bdev/disk lookup in blkdev_getChristoph Hellwig1-1/+1
2020-12-01block: move blk_rq_bio_prep() to linux/blk-mq.hChaitanya Kulkarni1-12/+0
2020-10-06block: move blk_mq_sched_try_merge to blk-merge.cChristoph Hellwig1-19/+0
2020-10-06block: remove the unused blk_integrity_merge_bio exportChristoph Hellwig1-0/+7
2020-10-06block: remove the unused blk_integrity_merge_rq exportChristoph Hellwig1-0/+8
2020-09-01block: remove the disk argument to delete_partitionChristoph Hellwig1-1/+1
2020-09-01block: Add a new helper to attempt to merge a bioBaolin Wang1-6/+15
2020-09-01block: Move blk_mq_bio_list_merge() into blk-merge.cBaolin Wang1-0/+2
2020-07-17block: improve discard bio alignment in __blkdev_issue_discard()Coly Li1-0/+14
2020-07-08blk-mq: centralise related handling into blk_mq_get_driver_tagMing Lei1-5/+0
2020-07-01Revert "blk-mq: put driver tag when this request is completed"Jens Axboe1-0/+5
2020-07-01block: move ->make_request_fn to struct block_device_operationsChristoph Hellwig1-2/+0
2020-07-01block: remove the request_queue argument from blk_queue_splitChristoph Hellwig1-2/+1
2020-06-30blk-mq: centralise related handling into blk_mq_get_driver_tagMing Lei1-5/+0
2020-06-29blk-cgroup: remove blkcg_bio_issue_checkChristoph Hellwig1-0/+2
2020-06-24block: create the request_queue debugfs_dir on registrationLuis Chamberlain1-2/+0
2020-06-24blk-mq: move failure injection out of blk_mq_complete_requestChristoph Hellwig1-9/+0
2020-06-04block: nr_sects_write(): Disable preemption on seqcount writeAhmed S. Darwish1-0/+2
2020-05-29blk-throttle: remove blk_throtl_drainGuoqing Jiang1-2/+0
2020-05-27block: add a blk_account_io_merge_bio helperKonstantin Khlebnikov1-1/+1
2020-05-27block: always use a percpu variable for disk statsChristoph Hellwig1-1/+1
2020-05-27block: move update_io_ticks to blk-core.cChristoph Hellwig1-1/+0
2020-05-19block: Remove unused flush_queue_delayed in struct blk_flush_queueBaolin Wang1-1/+0
2020-05-19block: merge part_{inc,dev}_in_flight into their only callersChristoph Hellwig1-4/+0
2020-05-19block: mark blk_account_io_completion staticChristoph Hellwig1-1/+0
2020-05-19blk-mq: allow blk_mq_make_request to consume the q_usage_counter referenceChristoph Hellwig1-11/+0
2020-05-14block: Inline encryption support for blk-mqSatya Tangirala1-0/+2
2020-05-12block: rename __bio_add_pc_page to bio_add_hw_pageChristoph Hellwig1-2/+2
2020-05-12block: don't hold part0's refcount in IO pathMing Lei1-7/+6
2020-04-25block: remove create_io_contextChristoph Hellwig1-20/+0
2020-04-20block: remove hd_struct_killChristoph Hellwig1-5/+0
2020-04-20block: cleanup hd_struct freeingChristoph Hellwig1-9/+1
2020-04-20block: pass a hd_struct to delete_partitionChristoph Hellwig1-1/+1
2020-04-20block: refactor blkpg_ioctlChristoph Hellwig1-3/+5
2020-03-27block: move bio_map_* to blk-map.cChristoph Hellwig1-0/+4
2020-03-27block: simplify queue allocationChristoph Hellwig1-0/+2
2020-03-25block: move the part_stat* helpers from genhd.h to a new headerChristoph Hellwig1-0/+1
2020-03-25block: move block layer internals out of include/linux/genhd.hChristoph Hellwig1-0/+116
2020-03-24block: move sysfs methods shared by disks and partitions to genhd.cChristoph Hellwig1-0/+11
2020-03-12block: remove unneeded argument from blk_alloc_flush_queueGuoqing Jiang1-2/+2
2019-12-20block: Fix a lockdep complaint triggered by request queue flushingBart Van Assche1-0/+1
2019-12-05block: fix memleak of bio integrity dataJustin Tee1-0/+4
2019-10-10block: account statistics for passthrough requestsLogan Gunthorpe1-5/+2
2019-09-27block: fix null pointer dereference in blk_mq_rq_timed_out()Yufen Yu1-0/+7
2019-09-26blk-mq: move lockdep_assert_held() into elevator_exitMing Lei1-0/+2
2019-09-05block: Change elevator_init_mq() to always succeedDamien Le Moal1-1/+1
2019-08-27block: split .sysfs_lock into two locksMing Lei1-1/+1
2019-06-20block: mark blk_rq_bio_prep as inlineChristoph Hellwig1-1/+12
2019-06-20block: simplify blk_recalc_rq_segmentsChristoph Hellwig1-1/+1
2019-06-20block: remove the bi_phys_segments field in struct bioChristoph Hellwig1-11/+12
2019-06-06block: free sched's request pool in blk_cleanup_queueMing Lei1-1/+9