Scroll to navigation

SUBMIT_BIO(9) Block Devices SUBMIT_BIO(9)

NAME

submit_bio - submit a bio to the block device layer for I/O

SYNOPSIS

blk_qc_t submit_bio(struct bio * bio);

ARGUMENTS

bio

The struct bio which describes the I/O

DESCRIPTION

submit_bio is very similar in purpose to generic_make_request, and uses that function to do most of the work. Both are fairly rough interfaces; bio must be presetup and ready for I/O.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.