Scroll to navigation

BIO_ENDIO(9) The Linux VFS BIO_ENDIO(9)

NAME

bio_endio - end I/O on a bio

SYNOPSIS

void bio_endio(struct bio * bio);

ARGUMENTS

struct bio * bio
bio

DESCRIPTION

bio_endio will end I/O on the whole bio. bio_endio is the preferred way to end I/O on a bio. No one should call bi_end_io directly on a bio unless they own it and thus know that it has an end_io function.

bio_endio can be called several times on a bio that has been chained using bio_chain. The ->bi_end_io function will only be called the last time. At this point the BLK_TA_COMPLETE tracing event will be generated if BIO_TRACE_COMPLETION is set.

COPYRIGHT

September 2017 Kernel Hackers Manual 4.12