aboutsummaryrefslogtreecommitdiffstats
path: root/block/bio.c
AgeCommit message (Expand)AuthorFilesLines
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
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-314/+249
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-81/+84
2021-01-26block: inherit BIO_REMAPPED when cloning biosChristoph Hellwig1-0/+2
2021-01-25bio: don't copy bvec for direct IOPavel Begunkov1-36/+27
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-66/+48
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
2019-06-20block: remove the bi_phys_segments field in struct bioChristoph Hellwig1-14/+1
2019-06-17block: fix page leak when merging to same pageChristoph Hellwig1-2/+10
2019-06-17block: return from __bio_try_merge_page if merging occured in the same pageChristoph Hellwig1-15/+11
2019-06-15block: bio: Use struct_size() in kmalloc()Gustavo A. R. Silva1-2/+1
2019-04-30block: switch all files cleared marked as GPLv2 to SPDX tagsChristoph Hellwig1-14/+1
2019-04-30block: clean up __bio_add_pc_page a bitChristoph Hellwig1-6/+5
2019-04-30block: remove bogus comments in __bio_add_pc_pageChristoph Hellwig1-9/+0
2019-04-30block: remove the __bio_add_pc_page exportChristoph Hellwig1-2/+1
2019-04-30block: remove the i argument to bio_for_each_segment_allChristoph Hellwig1-19/+10
2019-04-24block: don't run get_page() on pages from non-bvec iov iterMing Lei1-1/+1
2019-04-23block: clarify that bio_add_page() and related helpers can add multi pagesMing Lei1-11/+15
2019-04-22Merge tag 'v5.1-rc6' into for-5.2/blockJens Axboe1-1/+4
2019-04-12block: only allow contiguous page structs in a bio_vecChristoph Hellwig1-2/+7
2019-04-12block: change how we get page references in bio_iov_iter_get_pagesChristoph Hellwig1-26/+25
2019-04-12block: don't allow multiple bio_iov_iter_get_pages calls per bioChristoph Hellwig1-9/+6
2019-04-12block: refactor __bio_iov_bvec_add_pagesChristoph Hellwig1-10/+9
2019-04-10block: do not leak memory in bio_copy_user_iov()Jérôme Glisse1-1/+4
2019-04-04block: bio: ensure newly added bio flags don't override BVEC_POOL_IDXJohannes Thumshirn1-0/+3
2019-04-01block: enable multi-page bvec for passthrough IOMing Lei1-29/+31
2019-04-01block: put the same page when adding it to bioMing Lei1-12/+16
2019-04-01block: check if page is mergeable in one helperMing Lei1-13/+23
2019-04-01block: cleanup bio_add_pc_pageMing Lei1-7/+7
2019-04-01block: avoid to break XEN by multi-page bvecMing Lei1-0/+2
2019-03-18block: add BIO_NO_PAGE_REF flagJens Axboe1-19/+24
2019-02-28block: implement bio helper to add iter bvec pages to bioJens Axboe1-8/+54
2019-02-15block: enable multipage bvecsMing Lei1-7/+15
2019-02-15block: allow bio_for_each_segment_all() to iterate over multi-page bvecMing Lei1-9/+18
2019-01-02Merge tag 'for-4.21/block-20190102' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+4
2018-12-28Merge tag 'for-4.21/block-20181221' of git://git.kernel.dk/linux-blockLinus Torvalds1-77/+125
2018-12-21blkcg: clean up blkg_tryget_closest()Dennis Zhou1-0/+4
2018-12-14block: remove the unused bio_set_pages_dirty and bio_check_pages_dirty exportsChristoph Hellwig1-2/+0
2018-12-14block: remove the unused bio_iov_iter_get_pages exportChristoph Hellwig1-1/+0
2018-12-14block: remove the bio_phys_segments exportChristoph Hellwig1-2/+1
2018-12-10block/bio: Do not zero user pagesKeith Busch1-1/+2
2018-12-10block: delete part_round_stats and switch to less precise countingMikulas Patocka1-3/+21
2018-12-10block: stop passing 'cpu' to all percpu stats methodsMike Snitzer1-7/+9
2018-12-07blkcg: rename blkg_try_get() to blkg_tryget()Dennis Zhou1-1/+1
2018-12-07blkcg: remove bio_disassociate_task()Dennis Zhou1-10/+1
2018-12-07blkcg: remove additional reference to the cssDennis Zhou1-38/+28
2018-12-07blkcg: remove bio->bi_css and instead use bio->bi_blkgDennis Zhou1-46/+13
2018-12-07blkcg: associate writeback bios with a blkgDennis Zhou1-0/+18
2018-12-07blkcg: associate a blkg for pages being evicted by swapDennis Zhou1-24/+38
2018-12-07blkcg: consolidate bio_issue_init() to be a part of coreDennis Zhou1-0/+1
2018-12-07blkcg: associate blkg when associating a deviceDennis Zhou1-0/+1
2018-12-07dm: set the static flush bio device on demandDennis Zhou1-0/+1
2018-12-07blkcg: introduce common blkg association logicDennis Zhou1-9/+53
2018-12-07blkcg: convert blkg_lookup_create() to find closest blkgDennis Zhou1-7/+10
2018-12-07blkcg: fix ref count issue with bio_blkcg() using task_cssDennis Zhou1-2/+8
2018-11-19block: Remove bio->bi_iocDamien Le Moal1-4/+0
2018-11-12block: copy ioprio in __bio_clone_fast() and bounceHannes Reinecke1-0/+1
2018-11-09Merge tag 'for-linus-20181109' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2018-11-07block: Clear kernel memory before copying to userKeith Busch1-0/+1
2018-11-02Merge tag 'for-linus-20181102' of git://git.kernel.dk/linux-blockLinus Torvalds1-127/+47
2018-11-01Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-1/+1
2018-11-01blkcg: revert blkcg cleanups seriesDennis Zhou1-127/+47
2018-10-24iov_iter: Use accessor functionDavid Howells1-1/+1