'\" t .\" Title: submit_bio_wait .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SUBMIT_BIO_WAIT" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "The Linux VFS" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" submit_bio_wait \- submit a bio, and wait until it completes .SH "SYNOPSIS" .HP \w'int\ submit_bio_wait('u .BI "int submit_bio_wait(struct\ bio\ *\ " "bio" ");" .SH "ARGUMENTS" .PP \fIbio\fR .RS 4 The struct bio which describes the I/O .RE .SH "DESCRIPTION" .PP Simple wrapper around \fBsubmit_bio\fR\&. Returns 0 on success, or the error from \fBbio_endio\fR on failure\&. .SH "COPYRIGHT" .br