centos man page for bio_endio

Query: bio_endio

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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, int error);
ARGUMENTS
bio bio error error, if any
DESCRIPTION
bio_endio will end I/O on the whole bio. bio_endio is the preferred way to end I/O on a bio, it takes care of clearing BIO_UPTODATE on error. error is 0 on success, and and one of the established -Exxxx (-EIO, for instance) error values in case something went wrong. 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.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 BIO_ENDIO(9)
Related Man Pages
bio_alloc_bioset(9) - centos
blk_make_request(9) - centos
bio_f_base64(3ssl) - debian
blk_make_request(9) - suse
bio_f_base64(3openssl) - opensolaris
Similar Topics in the Unix Linux Community
CentOS7 restoring file capabilities
Shopt -s histappend
Unsure why access time on a directory change isn't changing
Controlling user input
[TIP] Processing YAML files with yq