submit_bio_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the struct bio that 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:


That’s the whole submit_bio_wait(9) tea, bestie β€” source/version ./block, dated October 2026. Mwah πŸ’‹βœ¨πŸ«Ά

πŸ“¦ where this page comes from