table of contents
other versions
BIO_CHAIN(9) | The Linux VFS | BIO_CHAIN(9) |
NAME¶
bio_chain - chain bio completions
SYNOPSIS¶
void bio_chain(struct bio * bio, struct bio * parent);
ARGUMENTS¶
struct bio * bio
the target bio
struct bio * parent
the bio's parent bio
DESCRIPTION¶
The caller won't have a bi_end_io called when bio completes - instead, parent's bi_end_io won't be called until both parent and bio have completed; the chained bio will also be freed when it completes.
The caller must not set bi_private or bi_end_io in bio.
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.12 |