SUBMIT_BIO_WAIT(9) The Linux VFS SUBMIT_BIO_WAIT(9)NAMEsubmit_bio_wait - submit a bio, and wait until it completes
SYNOPSIS
int submit_bio_wait(int rw, struct bio * bio);
ARGUMENTS
rw
whether to READ or WRITE, or maybe to READA (read ahead)
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.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 SUBMIT_BIO_WAIT(9)