aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk.h
AgeCommit message (Expand)AuthorFilesLines
2026-06-13block: check bio split for unaligned bvecKeith Busch1-0/+2
2026-06-12block: add a str_to_blk_op helperChristoph Hellwig1-0/+1
2026-06-12block: add a "tag" for block status codesChristoph Hellwig1-0/+2
2026-06-09block: propagate in_flight to whole disk on partition I/OTang Yizhou1-0/+21
2026-06-05block/blk-mq-debugfs: Improve lock context annotationsBart Van Assche1-0/+4
2026-05-15block: unexport blk_status_to_strChristoph Hellwig1-0/+2
2026-04-17block: relax pgmap check in bio_add_page for compatible zone device pagesNaman Jain1-0/+19
2026-04-17block: add pgmap check to biovec_phys_mergeableNaman Jain1-0/+2
2026-04-07block: add a bio_submit_or_kill helperChristoph Hellwig1-1/+1
2026-03-17block: mark bvec_{alloc,free} staticChristoph Hellwig1-5/+0
2026-03-09block: prepare generation / verification helpers for fs usageChristoph Hellwig1-2/+4
2026-02-16blk-mq: use NOIO context to prevent deadlock during debugfs creationYu Kuai1-0/+31
2026-02-09Merge tag 'for-7.0/block-stable-pages-20260206' of git://git.kernel.org/pub/s...Linus Torvalds1-11/+0
2026-02-04block: decouple secure erase size limit from discard size limitLuke Wang1-1/+5
2026-01-28block: remove bio_release_pageChristoph Hellwig1-11/+0
2026-01-10block: account for bi_bvec_done in bio_may_need_split()Ming Lei1-1/+1
2026-01-07block: use bvec iterator helper for bio_may_need_split()Ming Lei1-3/+9
2025-11-13block: unify elevator tags and type xarrays into struct elv_change_ctxNilay Shroff1-4/+3
2025-11-05block: handle zone management operations completionsDamien Le Moal1-0/+14
2025-10-22block: rename min_segment_sizeKeith Busch1-1/+1
2025-09-10block: fix ordering of recursive split IOYu Kuai1-1/+1
2025-09-10block: skip unnecessary checks for split bioYu Kuai1-0/+1
2025-09-10block: cleanup bio_issueYu Kuai1-42/+0
2025-09-08blk-mq: Defer freeing flush queue to SRCU callbackMing Lei1-0/+1
2025-08-11block: fix kobject double initialization in add_diskZheng Qixing1-0/+1
2025-07-30block: fix potential deadlock while running nr_hw_queue updateNilay Shroff1-1/+3
2025-07-25block: restore two stage elevator switch while running nr_hw_queue updateNilay Shroff1-1/+1
2025-07-15block: split blk_zone_update_request_bio into two functionsJohannes Thumshirn1-17/+14
2025-06-30block: Increase BLK_DEF_MAX_SECTORS_CAPDamien Le Moal1-0/+9
2025-05-16blk-mq: move the DMA mapping code to a separate fileChristoph Hellwig1-0/+21
2025-05-13block: remove the same_page output argument to bvec_try_merge_pageChristoph Hellwig1-2/+1
2025-05-10block: export API to get the number of bdev inflight IOYu Kuai1-1/+0
2025-05-06block: only update request sector if neededJohannes Thumshirn1-1/+2
2025-05-06block: unifying elevator changeMing Lei1-3/+2
2025-05-06block: simplify elevator reattachment for updating nr_hw_queuesMing Lei1-2/+1
2025-05-06block: look up the elevator type in elevator_switchChristoph Hellwig1-1/+1
2025-05-05block: remove bounce buffering supportChristoph Hellwig1-17/+0
2025-04-24block: don't autoload drivers on statChristoph Hellwig1-1/+1
2025-04-24block: move blkdev_{get,put} _no_open prototypes out of blkdev.hChristoph Hellwig1-0/+3
2025-03-26Merge tag 'for-6.15/block-20250322' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2025-03-03block: split struct bio_integrity_payloadChristoph Hellwig1-1/+1
2025-02-25block: make segment size limit workable for > 4K PAGE_SIZEMing Lei1-2/+7
2025-01-15block: limit disk max sectors to (LLONG_MAX >> 9)Ming Lei1-0/+2
2025-01-04block: remove bio_add_pc_pageChristoph Hellwig1-8/+0
2024-12-23block: track queue dying state automatically for modeling queue freeze lockdepMing Lei1-6/+6
2024-12-23block: track disk DEAD state automatically for modeling queue freeze lockdepMing Lei1-6/+13
2024-11-11block: lift bio_is_zone_append to bio.hChristoph Hellwig1-9/+0
2024-11-07block: always verify unfreeze lock on the owner taskMing Lei1-1/+2
2024-11-07block: remove blk_freeze_queue()Ming Lei1-1/+0
2024-10-26block: model freeze & enter queue as lock for supporting lockdepMing Lei1-3/+26
2024-10-22block: add support for defining read-only partitionsChristian Marangi1-0/+1
2024-10-22block: kill blk_do_io_stat() helperJens Axboe1-11/+0
2024-10-22block: move iostat check into blk_acount_io_start()Jens Axboe1-1/+1
2024-09-11block: implement async io_uring discard cmdPavel Begunkov1-0/+1
2024-09-11block: Added folio-ized version of bio_add_hw_page()Kundan Kumar1-0/+4
2024-08-29block: don't use bio_split_rw on misc operationsChristoph Hellwig1-1/+6
2024-08-29block: properly handle REQ_OP_ZONE_APPEND in __bio_split_to_limitsChristoph Hellwig1-0/+4
2024-08-29block: rework bio splittingChristoph Hellwig1-19/+44
2024-07-22Merge tag 'for-6.11/block-post-20240722' of git://git.kernel.dk/linuxLinus Torvalds1-2/+12
2024-07-08block: add a bvec_phys helperChristoph Hellwig1-2/+2
2024-07-03block: don't free submitter owned integrity payload on I/O completionChristoph Hellwig1-2/+11
2024-07-03block: split integrity support out of bio.hChristoph Hellwig1-0/+1
2024-06-28block: remove bio_integrity_processChristoph Hellwig1-5/+2
2024-06-26block: remove disk_update_readaheadChristoph Hellwig1-0/+2
2024-06-20block: Add core atomic write supportJohn Garry1-0/+3
2024-06-20block: Pass blk_queue_get_max_sectors() a request pointerJohn Garry1-2/+4
2024-06-19block: move the bounce flag into the features fieldChristoph Hellwig1-1/+1
2024-06-14block: remove the blk_integrity_profile structureChristoph Hellwig1-0/+8
2024-05-21Merge tag 'pull-bd_inode-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+2
2024-05-09blk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOWYu Kuai1-11/+0
2024-05-09block: support to account io_ticks preciselyYu Kuai1-0/+1
2024-05-07block: add a bio_await_chain helperKeith Busch1-0/+1
2024-05-03missing helpers: bdev_unhash(), bdev_drop()Al Viro1-0/+2
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