'\" t .\" Title: submit_bio_wait .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SUBMIT_BIO_WAIT" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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(int\ " "rw" ", struct\ bio\ *\ " "bio" ");" .SH "ARGUMENTS" .PP \fIrw\fR .RS 4 whether to \fBREAD\fR or \fBWRITE\fR, or maybe to \fBREADA\fR (read ahead) .RE .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