'\" t .\" Title: bio_chain .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "BIO_CHAIN" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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" bio_chain \- chain bio completions .SH "SYNOPSIS" .HP \w'void\ bio_chain('u .BI "void bio_chain(struct\ bio\ *\ " "bio" ", struct\ bio\ *\ " "parent" ");" .SH "ARGUMENTS" .PP \fIbio\fR .RS 4 the target bio .RE .PP \fIparent\fR .RS 4 the \fIbio\fR\*(Aqs parent bio .RE .SH "DESCRIPTION" .PP The caller won\*(Aqt have a bi_end_io called when \fIbio\fR completes \- instead, \fIparent\fR\*(Aqs bi_end_io won\*(Aqt be called until both \fIparent\fR and \fIbio\fR have completed; the chained bio will also be freed when it completes\&. .PP The caller must not set bi_private or bi_end_io in \fIbio\fR\&. .SH "COPYRIGHT" .br