aboutsummaryrefslogtreecommitdiffstats
path: root/block/bio.c
AgeCommit message (Expand)AuthorFilesLines
2026-06-16block: respect iov_iter::nofault flag in bio_iov_iter_bounce_write()Qu Wenruo1-1/+5
2026-06-16block: revert the iov_iter after a short copy in bio_iov_iter_bounce_write()Qu Wenruo1-3/+14
2026-06-16Merge tag 'for-7.2/block-20260615' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-30/+22
2026-05-29block: Add bvec_folio()Matthew Wilcox (Oracle)1-3/+3
2026-05-28block: mark biovec_init_pool staticChristoph Hellwig1-1/+1
2026-05-15block: unexport bio_{set,check}_pages_dirtyChristoph Hellwig1-2/+0
2026-05-15block: remove bio_copy_data_iterChristoph Hellwig1-21/+15
2026-05-15block: remove zero_fill_bio_iterChristoph Hellwig1-3/+3
2026-05-13block: align down bounces biosChristoph Hellwig1-2/+2
2026-05-13block: pass a minsize argument to bio_iov_iter_bounceChristoph Hellwig1-10/+13
2026-04-21block: only restrict bio allocation gfp mask asked to blockChristoph Hellwig1-1/+2
2026-04-17block: Add WQ_PERCPU to alloc_workqueue usersMarco Crivellari1-1/+1
2026-04-17block: relax pgmap check in bio_add_page for compatible zone device pagesNaman Jain1-3/+3
2026-04-07block: add a bio_submit_or_kill helperChristoph Hellwig1-9/+14
2026-04-07block: factor out a bio_await helperChristoph Hellwig1-16/+37
2026-04-07block: unify the synchronous bi_end_io callbacksChristoph Hellwig1-8/+3
2026-04-02bio: fix kmemleak false positives from percpu bio alloc cacheMing Lei1-0/+14
2026-03-23block: fix bio_alloc_bioset slowpath GFP handlingVasily Gorbik1-2/+2
2026-03-17block: reject zero length in bio_add_page()Qu Wenruo1-0/+2
2026-03-17block: remove bvec_freeChristoph Hellwig1-13/+7
2026-03-17block: split bio_alloc_bioset more clearly into a fast and slowpathChristoph Hellwig1-106/+72
2026-03-17block: mark bvec_{alloc,free} staticChristoph Hellwig1-2/+5
2026-03-09Merge branch 'for-7.1/block-integrity' into for-7.1/blockJens Axboe1-7/+10
2026-03-09block: Correct comments on bio_alloc_clone() and bio_init_clone()John Garry1-7/+6
2026-03-09block: pass a maxlen argument to bio_iov_iter_bounceChristoph Hellwig1-7/+10
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds1-1/+1
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-1/+1
2026-02-12block: fix folio leak in bio_iov_iter_bounce_read()Jens Axboe1-1/+3
2026-02-09Merge tag 'for-7.0/block-stable-pages-20260206' of git://git.kernel.org/pub/s...Linus Torvalds1-127/+205
2026-02-09Merge tag 'for-7.0/block-20260206' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+4
2026-01-28block: add helpers to bounce buffer an iov_iter into biosChristoph Hellwig1-0/+179
2026-01-28block: remove bio_release_pageChristoph Hellwig1-1/+3
2026-01-28iov_iter: extract a iov_iter_extract_bvecs helper from bio codeChristoph Hellwig1-102/+18
2026-01-28block: open code bio_add_page and fix handling of mismatching P2P rangesChristoph Hellwig1-24/+13
2026-01-28block: refactor get_contig_folio_lenChristoph Hellwig1-35/+27
2026-01-28block: add a BIO_MAX_SIZE constant and use itChristoph Hellwig1-5/+5
2026-01-21block: add a bio_reuse helperChristoph Hellwig1-0/+34
2026-01-07block: don't initialize bi_vcnt for cloned bio in bio_iov_bvec_set()Ming Lei1-1/+1
2026-01-07block: use bvec iterator helper for bio_may_need_split()Ming Lei1-0/+3
2025-12-09block: prohibit calls to bio_chain_endioShida Zhang1-1/+5
2025-12-04block: enable per-cpu bio cache by defaultFengnan Chang1-14/+12
2025-11-06block: accumulate memory segment gaps per bioKeith Busch1-0/+1
2025-10-07block: rename bio_iov_iter_get_pages_aligned to bio_iov_iter_get_pagesChristoph Hellwig1-3/+2
2025-09-10block: cleanup bio_issueYu Kuai1-1/+1
2025-09-09block: align the bio after building itKeith Busch1-25/+40
2025-09-09block: add size alignment to bio_iov_iter_get_pagesKeith Busch1-8/+11
2025-09-09block: remove the bi_inline_vecs variable sized array from struct bioChristoph Hellwig1-1/+2
2025-09-09block: add a bio_init_inline helperChristoph Hellwig1-2/+5
2025-08-25blk-mq: remove REQ_P2PDMA flagKeith Busch1-1/+1
2025-07-31Merge tag 'mm-stable-2025-07-30-15-25' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2025-07-09bio: use memzero_page() in bio_truncate()Matthew Wilcox (Oracle)1-2/+2
2025-06-30block: don't merge different kinds of P2P transfers in a single bioChristoph Hellwig1-7/+13
2025-05-26Merge tag 'for-6.16/block-20250523' of git://git.kernel.dk/linuxLinus Torvalds1-32/+126
2025-05-13block: remove the same_page output argument to bvec_try_merge_pageChristoph Hellwig1-32/+23
2025-05-12scsi: sd_zbc: block: Respect bio vector limits for REPORT ZONES bufferSteve Siwinski1-1/+1
2025-05-07block: add a bio_add_vmalloc helpersChristoph Hellwig1-0/+55
2025-05-07block: add a bdev_rw_virt helperChristoph Hellwig1-0/+30
2025-05-07block: add a bio_add_virt_nofail helperChristoph Hellwig1-0/+16
2025-05-06block: add a bi_write_stream fieldChristoph Hellwig1-0/+2
2025-03-26Merge tag 'for-6.15/block-20250322' of git://git.kernel.dk/linuxLinus Torvalds1-10/+7
2025-03-12block: fix adding folio to bioMing Lei1-4/+7
2025-03-03block: split struct bio_integrity_payloadChristoph Hellwig1-6/+0
2025-02-28block: fix 'kmem_cache of name 'bio-108' already exists'Ming Lei1-1/+1
2025-01-17block: Don't trim an atomic writeJohn Garry1-0/+4
2025-01-04block: remove bio_add_pc_pageChristoph Hellwig1-102/+5
2024-12-12block: Make bio_iov_bvec_set() accept pointer to const iov_iterJohn Garry1-1/+1
2024-11-11block: Error an attempt to split an atomic write in bio_split()John Garry1-0/+4
2024-11-11block: Rework bio_split() return valueJohn Garry1-4/+6
2024-10-31block: remove bio_add_zone_append_pageChristoph Hellwig1-33/+0
2024-10-31block: remove zone append special casing from the direct I/O pathChristoph Hellwig1-32/+2
2024-09-11block: unpin user pages belonging to a folio at onceKundan Kumar1-9/+5
2024-09-11block: introduce folio awareness and add a bigger size from folioKundan Kumar1-18/+61
2024-09-11block: Added folio-ized version of bio_add_hw_page()Kundan Kumar1-0/+23
2024-07-22Merge tag 'for-6.11/block-post-20240722' of git://git.kernel.dk/linuxLinus Torvalds1-3/+13
2024-07-08block: add a bvec_phys helperChristoph Hellwig1-1/+1
2024-07-03block: don't call bio_uninit from bio_endioChristoph Hellwig1-2/+12
2024-07-03block: split integrity support out of bio.hChristoph Hellwig1-1/+1
2024-05-14Merge tag 'for-6.10-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-0/+1
2024-05-09blk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOWYu Kuai1-1/+0
2024-05-07bio: Export bio_add_folio_nofail to modulesMatthew Wilcox (Oracle)1-0/+1
2024-05-07block: add a bio_await_chain helperKeith Busch1-0/+20
2024-05-07block: 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-22/+21
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-10/+13
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-19/+7
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