submit_bio_wait(9)
π NAME π
submit_bio_wait β submit a bio, and wait until it completes. Welcome to the submit_bio_wait(9) page in the Kernel API Manual, bestie β¨
β¨ SYNOPSIS β¨
int submit_bio_wait (struct bio *bio );
πΈ ARGUMENTS πΈ
bioβ thestruct biothat describes the I/O π«Ά
π¦ DESCRIPTION π¦
Okay so this one is literally a simple wrapper around submit_bio. It returns 0 on success, or the error from bio_endio on failure. No cap. π
β οΈ WARNING: unlike how submit_bio is usually used, this function does not result in the bio reference being consumed. The caller must drop the reference on their own. This is important, bestie β do not let that ref just vibe there unattended π
π SEE ALSO π
Kernel file ./block/bio.c β and here are all the other function besties you can go visit:
bio_reset(9)bio_reuse(9)bio_chain(9)bio_chain_and_submit(9)bio_alloc_bioset(9)bio_kmalloc(9)bio_truncate(9)guard_bio_eod(9)bio_put(9)bio_alloc_clone(9)bio_init_clone(9)bio_full(9)__bio_add_page(9)bio_add_virt_nofail(9)bio_add_page(9)bio_add_folio(9)bio_add_vmalloc_chunk(9)bio_add_vmalloc(9)bio_iov_iter_get_pages(9)bio_iov_iter_bounce(9)bio_iov_iter_unbounce(9)bio_await(9)bdev_rw_virt(9)bio_copy_data(9)bio_endio(9)bio_split(9)bio_trim(9)bioset_init(9)
Thatβs the whole submit_bio_wait(9) tea, bestie β source/version ./block, dated October 2026. Mwah πβ¨π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms