aboutsummaryrefslogtreecommitdiffstats
path: root/block/bio.c
AgeCommit message (Expand)AuthorFilesLines
4 daysMerge tag 'for-6.10-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-0/+1
9 daysblk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOWYu Kuai1-1/+0
11 daysbio: Export bio_add_folio_nofail to modulesMatthew Wilcox (Oracle)1-0/+1
11 daysblock: add a bio_await_chain helperKeith Busch1-0/+20
11 daysblock: add a bio_chain_and_submit helperChristoph Hellwig1-8/+19
2024-04-17block: Introduce zone write pluggingDamien Le Moal1-0/+2
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-26/+19
2024-03-06block: Fix page refcounts for unaligned buffers in __bio_release_pages()Tony Battersby1-3/+4
2024-02-24block: io wait hang check helperKeith Busch1-11/+1
2024-02-08block: optimise in irq bio put cachingPavel Begunkov1-11/+12
2024-02-08block: extend bio caching to task contextPavel Begunkov1-1/+2
2024-02-06block, fs: Restore the per-bio/request data lifetime fieldsBart Van Assche1-0/+2
2023-12-15block: support adding less than len in bio_add_hw_pageChristoph Hellwig1-1/+4
2023-12-15block: prevent an integer overflow in bvec_try_merge_hw_pageChristoph Hellwig1-1/+1
2023-12-07block: Remove special-casing of compound pagesMatthew Wilcox (Oracle)1-22/+24
2023-08-14block: Bring back zero_fill_bio_iterKent Overstreet1-3/+3
2023-08-14block: Allow bio_iov_iter_get_pages() with bio->bi_bdev unsetKent Overstreet1-4/+6
2023-08-14block: Add some exports for bcachefsKent Overstreet1-0/+2
2023-08-09block: make bvec_try_merge_hw_page() non-staticJinyoung Choi1-1/+1
2023-07-24block: don't pass a bio to bio_try_merge_hw_segChristoph Hellwig1-9/+7
2023-07-24block: move the bi_size update out of __bio_try_merge_pageChristoph Hellwig1-37/+20
2023-07-24block: downgrade a bio_full call in bio_add_pageChristoph Hellwig1-1/+1
2023-07-24block: move the bi_size overflow check in __bio_try_merge_pageChristoph Hellwig1-4/+5
2023-07-24block: move the bi_vcnt check out of __bio_try_merge_pageChristoph Hellwig1-23/+22
2023-07-24block: move the BIO_CLONED checks out of __bio_try_merge_pageChristoph Hellwig1-3/+6
2023-07-24block: use SECTOR_SHIFT bio_add_hw_pageChristoph Hellwig1-1/+1
2023-07-24block: tidy up the bio full checks in bio_add_hw_pageChristoph Hellwig1-6/+4
2023-06-01block: add bio_add_folio_nofailJohannes Thumshirn1-0/+8
2023-05-24block: Convert bio_iov_iter_get_pages to use iov_iter_extract_pagesDavid Howells1-11/+12
2023-05-24block: Add BIO_PAGE_PINNED and associated infrastructureDavid Howells1-3/+3
2023-05-24block: Replace BIO_NO_PAGE_REF with BIO_PAGE_REFFED with inverted logicChristoph Hellwig1-1/+1
2023-04-06ext4: Convert ext4_bio_write_page() to use a folioMatthew Wilcox1-0/+1
2023-03-03Merge tag 'block-6.3-2023-03-03' of git://git.kernel.dk/linuxLinus Torvalds1-0/+1
2023-02-24block: clear bio->bi_bdev when putting a bio back in the cacheJens Axboe1-0/+1
2023-02-22Merge tag '6.3-rc-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds1-3/+3
2023-02-20iov_iter: Define flags to qualify page extraction.David Howells1-3/+3
2023-02-09block: Remove the ALLOC_CACHE_SLACK constantBart Van Assche1-1/+0
2023-02-03block: factor out a bvec_set_page helperChristoph Hellwig1-10/+2
2023-01-29block: add a BUILD_BUG_ON() for adding more bio flags than we have spaceJens Axboe1-0/+2
2023-01-04Revert "block: bio_copy_data_iter"Jens Axboe1-15/+22
2022-12-06block: bio_copy_data_iterChristoph Hellwig1-22/+15
2022-11-16bio: shrink max number of pcpu cached biosPavel Begunkov1-1/+1
2022-11-16bio: add pcpu caching for non-polling bio_putPavel Begunkov1-16/+54
2022-11-16bio: split pcpu cache part of bio_put into a helperPavel Begunkov1-13/+25
2022-11-16bio: don't rob starving biosets of biosPavel Begunkov1-0/+2
2022-11-09block: set FOLL_PCI_P2PDMA in __bio_iov_iter_get_pages()Logan Gunthorpe1-2/+7
2022-11-09block: add check when merging zone device pagesLogan Gunthorpe1-0/+2
2022-10-21Merge tag 'block-6.1-2022-10-20' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2022-10-20bio: safeguard REQ_ALLOC_CACHE bio putPavel Begunkov1-1/+1
2022-10-13Merge tag 'block-6.1-2022-10-13' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+2
2022-10-06block: Remove the repeat word 'can'Deming Wang1-1/+1
2022-10-03block: kmsan: skip bio block merging logic for KMSANAlexander Potapenko1-0/+2
2022-09-20block: remove PSI accounting from the bio layerChristoph Hellwig1-8/+0
2022-09-12blk-throttle: fix that io throttle can only work for single bioYu Kuai1-2/+0
2022-09-02block: enable per-cpu bio caching for the fs bio setJens Axboe1-1/+2
2022-08-08block: convert to advancing variants of iov_iter_get_pages{,_alloc}()Al Viro1-11/+14
2022-08-02block: fix leaking page ref on truncated direct ioKeith Busch1-15/+15
2022-08-02block: ensure bio_iov_add_page can't failKeith Busch1-10/+9
2022-08-02block: ensure iov_iter advances for added pagesKeith Busch1-4/+4
2022-08-02block: pass struct queue_limits to the bio splitting helpersChristoph Hellwig1-1/+1
2022-07-14block: Use the new blk_opf_t typeBart Van Assche1-5/+5
2022-07-06block: use bdev_is_zoned instead of open coding itChristoph Hellwig1-1/+1
2022-06-27block: relax direct io memory alignmentKeith Busch1-0/+9
2022-06-27block/bio: remove duplicate append pages codeKeith Busch1-60/+42
2022-06-27block: fix infinite loop for invalid zone appendKeith Busch1-3/+0
2022-06-08block: remove bioset_init_from_srcChristoph Hellwig1-20/+0
2022-05-29block: make bioset_exit() fully resilient against being called twiceJens Axboe1-0/+1
2022-05-27block: take destination bvec offsets into account in bio_copy_data_iterChristoph Hellwig1-3/+5
2022-05-04block: allow passing a NULL bdev to bio_alloc_clone/bio_init_cloneChristoph Hellwig1-4/+6
2022-05-04block: remove superfluous calls to blkcg_bio_issue_initChristoph Hellwig1-1/+0
2022-04-17block: turn bio_kmalloc into a simple kmalloc wrapperChristoph Hellwig1-29/+18
2022-04-17block: allow use of per-cpu bio alloc cache by block driversMike Snitzer1-0/+2
2022-04-17block: allow using the per-cpu bio cache from bio_alloc_biosetMike Snitzer1-45/+41
2022-04-14block: fix offset/size check in bio_trim()Ming Lei1-1/+1
2022-03-26Merge tag 'for-5.18/write-streams-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+0
2022-03-14block: fix rq-qos breakage from skipping rq_qos_done_bio()Tejun Heo1-2/+1
2022-03-07block: remove the per-bio/request write hintChristoph Hellwig1-2/+0
2022-03-07block: remove bio_devnameChristoph Hellwig1-6/+0
2022-02-11block: partition include/linux/blk-cgroup.hMing Lei1-1/+1
2022-02-04block: pass a block_device to bio_clone_fastChristoph Hellwig1-13/+18
2022-02-04block: initialize the target bio in __bio_clone_fastChristoph Hellwig1-35/+40
2022-02-04block: clone crypto and integrity data in __bio_clone_fastChristoph Hellwig1-13/+13
2022-02-04block: call bio_associate_blkg from bio_resetChristoph Hellwig1-0/+2
2022-02-02block: fix boolreturn.cocci warningJiapeng Chong1-1/+1
2022-02-02block: pass a block_device and opf to bio_resetChristoph Hellwig1-1/+5
2022-02-02block: pass a block_device and opf to bio_initChristoph Hellwig1-14/+13
2022-02-02block: pass a block_device and opf to bio_allocChristoph Hellwig1-4/+1
2022-02-02block: pass a block_device and opf to bio_alloc_kiocbChristoph Hellwig1-4/+8
2022-02-02block: pass a block_device and opf to bio_alloc_biosetChristoph Hellwig1-12/+18
2022-02-02block: pass a block_device and opf to blk_next_bioChaitanya Kulkarni1-1/+5
2022-02-02block: move blk_next_bio to bio.cChristoph Hellwig1-0/+13
2022-01-20block: Fix wrong offset in bio_truncate()OGAWA Hirofumi1-1/+2
2022-01-12Merge tag 'iomap-5.17' of git://git.infradead.org/users/willy/linuxLinus Torvalds1-0/+22
2021-12-16block: Add bio_add_folio()Matthew Wilcox (Oracle)1-0/+22
2021-12-16block: use singly linked list for bio cacheJens Axboe1-5/+8
2021-10-27block: avoid extra iter advance with async iocbPavel Begunkov1-1/+1
2021-10-25block: refactor bio_iov_bvec_set()Pavel Begunkov1-23/+14
2021-10-20block: inline a part of bio_release_pages()Pavel Begunkov1-5/+2
2021-10-18block: don't bother iter advancing a fully done bioJens Axboe1-13/+2
2021-10-18block: use bdev_get_queue() in bio.cPavel Begunkov1-5/+5
2021-10-18block: switch polling to be bio basedChristoph Hellwig1-0/+1
2021-10-18block: use SLAB_TYPESAFE_BY_RCU for the bio slabChristoph Hellwig1-1/+2
2021-10-18block: mark bio_truncate staticChristoph Hellwig1-1/+1
2021-10-18block: mark __bio_try_merge_page staticChristoph Hellwig1-39/+38
2021-10-18block: move bio_full out of bio.hChristoph Hellwig1-0/+17
2021-10-18block: remove BIO_BUG_ONChristoph Hellwig1-2/+2
2021-09-24block: don't call rq_qos_ops->done_bio if the bio isn't trackedMing Lei1-1/+1
2021-09-03bio: fix kerneldoc documentation for bio_alloc_kiocb()Jens Axboe1-1/+1
2021-08-31Merge tag 'for-5.15-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-5/+7
2021-08-30Merge tag 'io_uring-bio-cache.5-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds1-16/+153
2021-08-24bio: fix page leak bio_add_hw_page failurePavel Begunkov1-2/+13
2021-08-23bio: improve kerneldoc documentation for bio_alloc_kiocb()Jens Axboe1-1/+4
2021-08-23bio: add allocation cache abstractionJens Axboe1-14/+120
2021-08-23bio: optimize initialization of a bioJens Axboe1-2/+30
2021-08-23block: fix argument type of bio_trim()Chaitanya Kulkarni1-5/+7
2021-08-02block: rewrite bio_copy_data_iter to use bvec_kmap_local and memcpy_to_bvecChristoph Hellwig1-20/+8
2021-08-02block: use memzero_page in zero_fill_bioChristoph Hellwig1-7/+2
2021-06-24block: fix trace completion for chained bioEdward Hsieh1-7/+6
2021-05-08Revert "bio: limit bio max size"Jens Axboe1-11/+2
2021-05-03bio: limit bio max sizeChangheun Lee1-2/+11
2021-04-28Merge tag 'for-5.13/block-2021-04-27' of git://git.kernel.dk/linux-blockLinus Torvalds1-40/+3
2021-04-12block: move bio_list_copy_data to pktcdvdChristoph Hellwig1-37/+0
2021-04-12block: remove zero_fill_bio_iterChristoph Hellwig1-3/+3
2021-03-31block: only update parent bi_status when bio failYufen Yu1-1/+1
2021-03-24block: support zone append bvecsJohannes Thumshirn1-3/+18
2021-03-11block: rename BIO_MAX_PAGES to BIO_MAX_VECSChristoph Hellwig1-7/+7
2021-02-21Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-blockLinus Torvalds1-318/+253
2021-02-09block: add bio_add_zone_append_pageJohannes Thumshirn1-0/+33
2021-02-08block: use bi_max_vecs to find the bvec poolChristoph Hellwig1-61/+43
2021-02-08block: mark the bio as cloned in bio_iov_bvec_setChristoph Hellwig1-1/+1
2021-02-08block: set BIO_NO_PAGE_REF in bio_iov_bvec_setChristoph Hellwig1-3/+2
2021-02-08block: remove a layer of indentation in bio_iov_iter_get_pagesChristoph Hellwig1-7/+7
2021-02-08block: turn the nr_iovecs argument to bio_alloc* into an unsigned shortChristoph Hellwig1-2/+2
2021-02-08block: remove the 1 and 4 vec bvec_slabs entriesChristoph Hellwig1-37/+16
2021-02-08block: streamline bvec_allocChristoph Hellwig1-16/+10
2021-02-08block: factor out a bvec_alloc_gfp helperChristoph Hellwig1-9/+11
2021-02-08block: move struct biovec_slab to bio.cChristoph Hellwig1-0/+6
2021-02-08block: reuse BIO_INLINE_VECS for integrity bvecsChristoph Hellwig1-6/+0
2021-02-02block: fix memory leak of bvecMing Lei1-1/+1
2021-01-27block: split bio_kmalloc from bio_alloc_biosetChristoph Hellwig1-82/+85
2021-01-26block: inherit BIO_REMAPPED when cloning biosChristoph Hellwig1-0/+2
2021-01-25bio: don't copy bvec for direct IOPavel Begunkov1-38/+29
2021-01-25block/psi: remove PSI annotations from direct IOPavel Begunkov1-0/+6
2021-01-24block: set .bi_max_vecs as actual allocated vector numberMing Lei1-1/+2
2021-01-24block: don't allocate inline bvecs if this bioset needn't bvecsMing Lei1-2/+5
2021-01-24block: manage bio slab cache by xarrayMing Lei1-67/+49
2021-01-24block: store a block_device pointer in struct bioChristoph Hellwig1-20/+11
2020-12-02bio: optimise bvec iterationPavel Begunkov1-2/+2
2020-12-01block: switch partition lookup to use struct block_deviceChristoph Hellwig1-2/+2
2020-12-01block: remove the nr_sects field in struct hd_structChristoph Hellwig1-2/+2
2020-10-28block: advance iov_iter on bio_add_hw_page failureNaohiro Aota1-4/+7
2020-10-15docs: bio: fix a kerneldoc markupMauro Carvalho Chehab1-1/+1
2020-10-15block: bio: fix a warning at the kernel-doc markupsMauro Carvalho Chehab1-1/+1
2020-10-13Merge tag 'block-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds1-11/+9
2020-10-05block: make bio_crypt_clone() able to failEric Biggers1-11/+9
2020-09-09block: Set same_page to false in __bio_try_merge_page if ret is falseRitesh Harjani1-1/+3
2020-08-17block: Fix page_is_mergeable() for compound pagesMatthew Wilcox (Oracle)1-5/+5
2020-07-31block: bio: delete duplicated wordsRandy Dunlap1-2/+2
2020-07-01block: rename generic_make_request to submit_bio_noacctChristoph Hellwig1-7/+7
2020-06-29block: move the bio cgroup associatation helpers to blk-cgroup.cChristoph Hellwig1-75/+0
2020-06-29block: move bio_associate_blkg_from_page to mm/page_io.cChristoph Hellwig1-26/+0
2020-06-29block: merge __bio_associate_blkg into bio_associate_blkg_from_cssChristoph Hellwig1-32/+13
2020-06-29block: really clone the block cgroup in bio_clone_blkg_associationChristoph Hellwig1-6/+6
2020-06-29block: remove bio_disassociate_blkgChristoph Hellwig1-19/+8
2020-06-24block: bio: Use struct_size() in kmalloc()Gustavo A. R. Silva1-3/+1
2020-06-04block: remove the error argument to the block_bio_complete tracepointChristoph Hellwig1-2/+1
2020-05-27block: move update_io_ticks to blk-core.cChristoph Hellwig1-16/+0
2020-05-27block: remove generic_{start,end}_io_acctChristoph Hellwig1-39/+0
2020-05-19block: merge part_{inc,dev}_in_flight into their only callersChristoph Hellwig1-2/+8
2020-05-14block: Inline encryption support for blk-mqSatya Tangirala1-0/+6
2020-05-12block: export bio_release_pages and bio_iov_iter_get_pagesJohannes Thumshirn1-0/+2
2020-05-12block: Introduce REQ_OP_ZONE_APPENDKeith Busch1-4/+58
2020-05-12block: rename __bio_add_pc_page to bio_add_hw_pageChristoph Hellwig1-25/+40
2020-03-27block: move bio_map_* to blk-map.cChristoph Hellwig1-509/+1
2020-03-25block: move guard_bio_eod to bio.cChristoph Hellwig1-0/+43
2020-03-25block/diskstats: replace time_in_queue with sum of request timesKonstantin Khlebnikov1-1/+0
2020-03-25block/diskstats: more accurate approximation of io_ticks for slow disksKonstantin Khlebnikov1-4/+4
2020-03-24block: move disk_name and related helpers out of partition-generic.cChristoph Hellwig1-0/+6
2020-03-18block: Prevent hung_check firing during long sync IOMing Lei1-1/+11
2020-01-09fs: move guard_bio_eod() after bio_set_op_attrsMing Lei1-1/+11
2019-12-28block: add bio_truncate to fix guard_bio_eodMing Lei1-0/+39
2019-12-09block: fix "check bi_size overflow before merge"Andreas Gruenbacher1-1/+3
2019-12-05block: fix memleak of bio integrity dataJustin Tee1-0/+3
2019-11-12block: check bi_size overflow before mergeJunichi Nomura1-1/+1
2019-08-22block: move same page handling from __bio_add_pc_page to the callersChristoph Hellwig1-10/+10
2019-08-22block: create a bio_try_merge_pc_page helperChristoph Hellwig1-24/+10
2019-08-22block: improve the gap check in __bio_add_pc_pageChristoph Hellwig1-7/+7
2019-08-14block: annotate refault stalls from IO submissionJohannes Weiner1-0/+3
2019-08-06block: stop exporting bio_map_kernHans Holmberg1-1/+0
2019-08-04block: Document the bio splitting functionsBart Van Assche1-2/+2
2019-07-11block: Allow mapping of vmalloc-ed buffersDamien Le Moal1-1/+27
2019-07-01block: fix .bi_size overflowMing Lei1-5/+5
2019-07-01Merge tag 'v5.2-rc6' into for-5.3/blockJens Axboe1-17/+21
2019-06-29block: never take page references for ITER_BVECChristoph Hellwig1-13/+1
2019-06-29block: use bio_release_pages in bio_map_user_iovChristoph Hellwig1-5/+1
2019-06-29block: use bio_release_pages in bio_unmap_userChristoph Hellwig1-19/+2
2019-06-29block: optionally mark pages dirty in bio_release_pagesChristoph Hellwig1-5/+7
2019-06-29block: move the BIO_NO_PAGE_REF check into bio_release_pagesChristoph Hellwig1-5/+6
2019-06-27block: Remove unused codeDamien Le Moal1-12/+0