aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/bio.h
AgeCommit message (Expand)AuthorFilesLines
11 daysblock: add a blk_alloc_discard_bio helperChristoph Hellwig1-0/+3
11 daysblock: add a bio_chain_and_submit helperChristoph Hellwig1-0/+1
2024-04-01block: add a bio_list_merge_init helperChristoph Hellwig1-0/+7
2024-01-16block: Fix iterating over an empty bio with bio_for_each_folio_allMatthew Wilcox (Oracle)1-3/+6
2023-12-01block: bio-integrity: directly map user buffersKeith Busch1-0/+9
2023-08-29Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds1-1/+6
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+5
2023-08-18mm/page_io: introduce bio_first_folio_all()ZhangPeng1-0/+5
2023-08-14block: Bring back zero_fill_bio_iterKent Overstreet1-1/+6
2023-08-09block: don't make REQ_POLLED imply REQ_NOWAITJens Axboe1-1/+1
2023-06-16block: remove BIO_PAGE_REFFEDChristoph Hellwig1-2/+1
2023-06-01block: mark bio_add_folio as __must_checkJohannes Thumshirn1-1/+2
2023-06-01block: add bio_add_folio_nofailJohannes Thumshirn1-0/+2
2023-06-01block: mark bio_add_page as __must_checkJohannes Thumshirn1-1/+2
2023-05-24block: Add BIO_PAGE_PINNED and associated infrastructureDavid Howells1-1/+2
2023-05-24block: Replace BIO_NO_PAGE_REF with BIO_PAGE_REFFED with inverted logicChristoph Hellwig1-1/+1
2023-05-24block: Fix bio_flagged() so that gcc can better optimise itDavid Howells1-1/+1
2023-04-17btrfs, block: move REQ_CGROUP_PUNT to btrfsChristoph Hellwig1-0/+5
2023-02-15block: export bio_split_rwChristoph Hellwig1-0/+4
2023-01-04Revert "block: bio_copy_data_iter"Jens Axboe1-0/+2
2022-12-16block: don't clear REQ_ALLOC_CACHE for non-polled requestsJens Axboe1-2/+1
2022-12-06block: bio_copy_data_iterChristoph Hellwig1-2/+0
2022-09-12blk-throttle: fix that io throttle can only work for single bioYu Kuai1-1/+1
2022-07-14block: Use the new blk_opf_t typeBart Van Assche1-5/+5
2022-06-08block: remove bioset_init_from_srcChristoph Hellwig1-1/+0
2022-05-23Merge tag 'for-5.19/block-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+7
2022-05-05block: Do not call folio_next() on an unreferenced folioMatthew Wilcox (Oracle)1-1/+4
2022-04-17block: turn bio_kmalloc into a simple kmalloc wrapperChristoph Hellwig1-1/+1
2022-04-17block: allow use of per-cpu bio alloc cache by block driversMike Snitzer1-0/+6
2022-04-17block: allow using the per-cpu bio cache from bio_alloc_biosetMike Snitzer1-2/+0
2022-03-24Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-3/+0
2022-03-07block: remove bio_devnameChristoph Hellwig1-2/+0
2022-02-22scsi: block: Remove REQ_OP_WRITE_SAME supportChristoph Hellwig1-3/+0
2022-02-04block: pass a block_device to bio_clone_fastChristoph Hellwig1-2/+4
2022-02-04block: clone crypto and integrity data in __bio_clone_fastChristoph Hellwig1-1/+1
2022-02-02block: pass a block_device and opf to bio_resetChristoph Hellwig1-8/+1
2022-02-02block: pass a block_device and opf to bio_initChristoph Hellwig1-2/+2
2022-02-02block: pass a block_device and opf to bio_allocChristoph Hellwig1-2/+3
2022-02-02block: pass a block_device and opf to bio_alloc_kiocbChristoph Hellwig1-2/+2
2022-02-02block: pass a block_device and opf to bio_alloc_biosetChristoph Hellwig1-3/+4
2022-02-02block: pass a block_device and opf to blk_next_bioChaitanya Kulkarni1-1/+2
2022-01-12Merge tag 'iomap-5.17' of git://git.infradead.org/users/willy/linuxLinus Torvalds1-2/+54
2021-12-22bio.h: fix kernel-doc warningsRandy Dunlap1-2/+2
2021-12-16block: Add bio_for_each_folio_all()Matthew Wilcox (Oracle)1-1/+52
2021-12-16block: Add bio_add_folio()Matthew Wilcox (Oracle)1-1/+2
2021-10-27block: avoid extra iter advance with async iocbPavel Begunkov1-0/+1
2021-10-20block: inline a part of bio_release_pages()Pavel Begunkov1-1/+7
2021-10-20block: turn macro helpers into inline functionsPavel Begunkov1-16/+16
2021-10-18block: don't bother iter advancing a fully done bioJens Axboe1-2/+22
2021-10-18block: switch polling to be bio basedChristoph Hellwig1-1/+1
2021-10-18block: rename REQ_HIPRI to REQ_POLLEDChristoph Hellwig1-1/+1
2021-10-18block: mark bio_truncate staticChristoph Hellwig1-1/+0
2021-10-18block: move bio_get_{first,last}_bvec out of bio.hChristoph Hellwig1-31/+0
2021-10-18block: mark __bio_try_merge_page staticChristoph Hellwig1-2/+0
2021-10-18block: move bio_full out of bio.hChristoph Hellwig1-19/+0
2021-10-18block: fold bio_cur_bytes into blk_rq_cur_bytesChristoph Hellwig1-8/+0
2021-10-18block: move bio_mergeable out of bio.hChristoph Hellwig1-8/+0
2021-10-18block: don't include <linux/ioprio.h> in <linux/bio.h>Christoph Hellwig1-1/+0
2021-10-18block: remove BIO_BUG_ONChristoph Hellwig1-8/+0
2021-08-31Merge tag 'for-5.15-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-1/+1
2021-08-30Merge tag 'io_uring-bio-cache.5-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+13
2021-08-23bio: add allocation cache abstractionJens Axboe1-0/+13
2021-08-23block: fix argument type of bio_trim()Chaitanya Kulkarni1-1/+1
2021-08-02block: remove bvec_kmap_irq and bvec_kunmap_irqChristoph Hellwig1-42/+0
2021-06-30Merge tag 'for-5.14/drivers-2021-06-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+2
2021-06-17block: export blk_next_bio()Chaitanya Kulkarni1-0/+2
2021-06-08block: return the correct bvec when checking for gapsLong Li1-8/+4
2021-05-08Revert "bio: limit bio max size"Jens Axboe1-3/+1
2021-05-03bio: limit bio max sizeChangheun Lee1-1/+3
2021-04-12block: move bio_list_copy_data to pktcdvdChristoph Hellwig1-1/+0
2021-04-12block: remove zero_fill_bio_iterChristoph Hellwig1-6/+1
2021-03-11block: rename BIO_MAX_PAGES to BIO_MAX_VECSChristoph Hellwig1-2/+2
2021-02-26block: Add bio_max_segsMatthew Wilcox (Oracle)1-1/+6
2021-02-21Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-blockLinus Torvalds1-27/+28
2021-02-09block: add bio_add_zone_append_pageJohannes Thumshirn1-0/+2
2021-02-08block: use bi_max_vecs to find the bvec poolChristoph Hellwig1-1/+0
2021-02-08block: turn the nr_iovecs argument to bio_alloc* into an unsigned shortChristoph Hellwig1-3/+4
2021-02-08block: move struct biovec_slab to bio.cChristoph Hellwig1-6/+0
2021-01-27block: split bio_kmalloc from bio_alloc_biosetChristoph Hellwig1-5/+1
2021-01-25bio: don't copy bvec for direct IOPavel Begunkov1-1/+4
2021-01-25bio: add a helper calculating nr segments to allocPavel Begunkov1-0/+10
2021-01-24block: move three bvec helpers declaration into private helperMing Lei1-3/+0
2021-01-24block: don't allocate inline bvecs if this bioset needn't bvecsMing Lei1-0/+1
2021-01-24block: do not reassig ->bi_bdev when partition remappingChristoph Hellwig1-0/+2
2021-01-24block: store a block_device pointer in struct bioChristoph Hellwig1-10/+8
2020-12-02bio: optimise bvec iterationPavel Begunkov1-2/+15
2020-11-25block: remove unused BIO_SPLIT_ENTRIESJeffle Xu1-6/+0
2020-06-29block: move bio_associate_blkg_from_page to mm/page_io.cChristoph Hellwig1-7/+0
2020-06-29block: remove bio_disassociate_blkgChristoph Hellwig1-2/+0
2020-06-24block: reduce ifdef CONFIG_BLOCK madness in headersChristoph Hellwig1-3/+0
2020-06-02Merge tag 'for-5.8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-0/+8
2020-06-01block: mark bio_wouldblock_error() bio with BIO_QUIETJens Axboe1-0/+1
2020-05-27block: remove generic_{start,end}_io_acctChristoph Hellwig1-6/+0
2020-05-25block: add bio_for_each_bvec_all()Omar Sandoval1-0/+8
2020-05-19bio.h: Declare the arguments of the bio iteration functions constBart Van Assche1-3/+3
2020-04-18bio: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-03-27block: move bio_map_* to blk-map.cChristoph Hellwig1-14/+0
2020-03-25block: move guard_bio_eod to bio.cChristoph Hellwig1-0/+1
2019-12-28block: add bio_truncate to fix guard_bio_eodMing Lei1-0/+1
2019-07-01block: fix .bi_size overflowMing Lei1-2/+16
2019-07-01Merge tag 'v5.2-rc6' into for-5.3/blockJens Axboe1-1/+1
2019-06-29block: optionally mark pages dirty in bio_release_pagesChristoph Hellwig1-1/+1
2019-06-29block: move the BIO_NO_PAGE_REF check into bio_release_pagesChristoph Hellwig1-0/+1
2019-06-27block: Remove unused codeDamien Le Moal1-11/+0
2019-06-20block: remove the bi_phys_segments field in struct bioChristoph Hellwig1-1/+0
2019-06-17block: return from __bio_try_merge_page if merging occured in the same pageChristoph Hellwig1-1/+1
2019-05-23bio: fix improper use of smp_mb__before_atomic()Andrea Parri1-1/+1
2019-04-30block: switch all files cleared marked as GPLv2 to SPDX tagsChristoph Hellwig1-14/+1
2019-04-30block: remove the __bio_add_pc_page exportChristoph Hellwig1-3/+0
2019-04-30block: remove the i argument to bio_for_each_segment_allChristoph Hellwig1-3/+2
2019-04-22Merge tag 'v5.1-rc6' into for-5.2/blockJens Axboe1-8/+12
2019-04-08block: don't use for-inside-for in bio_for_each_segment_allMing Lei1-8/+12
2019-04-01block: put the same page when adding it to bioMing Lei1-0/+3
2019-02-24block: add bio_set_polled() helperJens Axboe1-0/+14
2019-02-15block: always define BIO_MAX_PAGES as 256Ming Lei1-8/+0
2019-02-15block: enable multipage bvecsMing Lei1-1/+1
2019-02-15block: allow bio_for_each_segment_all() to iterate over multi-page bvecMing Lei1-2/+9
2019-02-15block: introduce bio_for_each_bvec() and rq_for_each_bvec()Ming Lei1-0/+10
2019-02-15btrfs: look at bi_size for repair decisionsChristoph Hellwig1-6/+0
2018-12-07blkcg: remove bio_disassociate_task()Dennis Zhou1-2/+0
2018-12-07blkcg: remove bio->bi_css and instead use bio->bi_blkgDennis Zhou1-7/+4
2018-12-07blkcg: associate writeback bios with a blkgDennis Zhou1-0/+5
2018-12-07blkcg: associate a blkg for pages being evicted by swapDennis Zhou1-3/+3
2018-12-07blkcg: associate blkg when associating a deviceDennis Zhou1-0/+2
2018-12-07blkcg: introduce common blkg association logicDennis Zhou1-1/+4
2018-11-01blkcg: revert blkcg cleanups seriesDennis Zhou1-17/+9
2018-10-20blkcg: reassociate bios when make_request() is called recursivelyDennis Zhou1-0/+3
2018-09-24block: don't include bug.h from bio.hChristoph Hellwig1-1/+0
2018-09-24block: don't include io.h from bio.hChristoph Hellwig1-3/+0
2018-09-24block: remove bvec_to_physChristoph Hellwig1-5/+0
2018-09-24block: merge BIOVEC_SEG_BOUNDARY into biovec_phys_mergeableChristoph Hellwig1-8/+0
2018-09-24block: simplify BIOVEC_PHYS_MERGEABLEChristoph Hellwig1-13/+0
2018-09-21blkcg: remove bio->bi_css and instead use bio->bi_blkgDennis Zhou (Facebook)1-6/+3
2018-09-21blkcg: associate a blkg for pages being evicted by swapDennis Zhou (Facebook)1-3/+8
2018-09-21blkcg: always associate a bio with a blkgDennis Zhou (Facebook)1-0/+3
2018-09-06block: remove bio_rewind_iter()Ming Lei1-18/+4
2018-07-24block: unexport bio_clone_biosetChristoph Hellwig1-1/+0
2018-07-24block: remove bio_clone_kmallocChristoph Hellwig1-6/+0
2018-07-18block: Add and use op_stat_group() for indexing disk_stat fields.Michael Callahan1-2/+2
2018-07-09swap,blkcg: issue swap io with the appropriate contextTejun Heo1-0/+7
2018-07-09block: add bi_blkg to the bio for cgroupsJosef Bacik1-0/+1
2018-06-08Merge tag 'for-linus-20180608' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+1
2018-06-08block: add bioset_init_from_src() helperJens Axboe1-0/+1
2018-06-05Merge tag 'xfs-4.18-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-0/+9
2018-06-01block: add a lower-level bio_add_page interfaceChristoph Hellwig1-0/+9
2018-05-30block: Drop bioset_create()Kent Overstreet1-4/+2
2018-05-30block: convert bounce, q->bio_split to bioset_init()/mempool_init()Kent Overstreet1-0/+5
2018-05-14block: Split out bio_list_copy_data()Kent Overstreet1-2/+3
2018-05-14block: Add bio_copy_data_iter(), zero_fill_bio_iter()Kent Overstreet1-3/+15
2018-05-14block: Use bioset_init() for fs_bio_setKent Overstreet1-2/+2
2018-05-14block: Add bioset_init()/bioset_exit()Kent Overstreet1-0/+2
2018-05-14block: Convert bio_set to mempool_init()Kent Overstreet1-5/+5
2018-03-01block: display the correct diskname for bioJiufei Xue1-3/+1
2018-01-29Merge branch 'for-4.16/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+23
2018-01-06block: move bio_alloc_pages() to bcacheMing Lei1-1/+0
2018-01-06block: introduce bio helpers for converting to multipage bvecMing Lei1-0/+23
2017-12-20block-throttle: avoid double chargeShaohua Li1-0/+2
2017-11-17Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+2
2017-11-10block: remove __bio_kmap_atomicChristoph Hellwig1-12/+0
2017-11-10block: kill bio_kmap/kunmap_irq()Jens Axboe1-11/+0
2017-10-11blk_rq_map_user_iov(): move iov_iter_advance() downAl Viro1-2/+2
2017-09-26blkcg: delete unused APIsShaohua Li1-2/+0
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+23
2017-09-06mm: test code to write THP to swap device as a wholeHuang Ying1-0/+8
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-0/+18
2017-08-09block: pass in queue to inflight accountingJens Axboe1-4/+5
2017-07-03bio-integrity: stop abusing bi_end_ioChristoph Hellwig1-9/+0
2017-07-03bio: add bvec_iter rewind APIDmitry Monakhov1-2/+17
2017-07-03block: guard bvec iteration logicDmitry Monakhov1-1/+3
2017-07-03bio-integrity: fold bio_integrity_enabled to bio_integrity_prepDmitry Monakhov1-9/+3
2017-07-03bio-integrity: fix interface for bio_integrity_trimDmitry Monakhov1-3/+2
2017-07-03Merge branch 'for-4.13/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-9/+12
2017-06-28block: provide bio_uninit() free freeing integrity/task associationsJens Axboe1-0/+1
2017-06-20block: remove the unused bio_to_phys macroChristoph Hellwig1-1/+0
2017-06-20block: return on congested block deviceGoldwyn Rodrigues1-0/+6
2017-06-18block: remove bio_clone() and all references.NeilBrown1-5/+0
2017-06-18blk: make the bioset rescue_workqueue optional.NeilBrown1-0/+1
2017-06-18blk: replace bioset_create_nobvec() with a flags arg to bioset_create()NeilBrown1-2/+4
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-1/+1
2017-05-01Merge branch 'md-next' into md-linusShaohua Li1-9/+2
2017-04-11Revert "block: introduce bio_copy_data_partial"NeilBrown1-2/+0
2017-03-25block: remove bio_clone_bioset_partial()Shaohua Li1-9/+2
2017-03-24block: introduce bio_copy_data_partialMing Lei1-0/+2
2017-03-23block: make nr_iovecs unsigned in bio_alloc_bioset()Dan Carpenter1-1/+1
2017-02-15block: introduce bio_clone_bioset_partial()Ming Lei1-2/+9
2016-12-09block: improve handling of the magic discard payloadChristoph Hellwig1-1/+2
2016-12-01block: add support for REQ_OP_WRITE_ZEROESChaitanya Kulkarni1-11/+14
2016-11-22block: bio: pass bvec table to bio_init()Ming Lei1-1/+2
2016-11-02block: add bio_iov_iter_get_pages()Kent Overstreet1-0/+1
2016-11-01block, fs: move submit_bio to bio.hChristoph Hellwig1-0/+2
2016-11-01fs: decouple READ and WRITE from the block layer opsChristoph Hellwig1-0/+6
2016-10-28block: remove bio_is_rwChristoph Hellwig1-11/+0
2016-09-22block: export bio_free_pages to other modulesGuoqing Jiang1-0/+1
2016-09-14bio.h: remove a very outdated commentChristoph Hellwig1-2/+0
2016-08-16block: Fix secure eraseAdrian Hunter1-2/+8
2016-08-07block: rename bio bi_rw to bi_opfJens Axboe1-2/+2
2016-08-04block: add missing group association in bio-cloning functionsPaolo Valente1-0/+3
2016-07-26Merge branch 'for-4.8/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+0
2016-07-20block: simplify and cleanup bvec pool handlingChristoph Hellwig1-2/+0
2016-06-09block: bio: kill BIO_MAX_SIZEMing Lei1-1/+0