SysTutorials

Linux Manual Pages › Section 9

submit_bio_wait(9)

submit_bio_wait – submit a bio, and wait until it completes

Synopsis

int submit_bio_wait(struct bio *bio);

Arguments

bio

The struct bio which describes the I/O

Description

Simple wrapper around submit_bio. Returns 0 on success, or the error from bio_endio on failure.

Copyright