centos man page for generic_make_request

Query: generic_make_request

OS: centos

Section: 9

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

GENERIC_MAKE_REQUEST(9) 					   Block Devices					   GENERIC_MAKE_REQUEST(9)

NAME
generic_make_request - hand a buffer to its device driver for I/O
SYNOPSIS
void generic_make_request(struct bio * bio);
ARGUMENTS
bio The bio describing the location in memory and on the device.
DESCRIPTION
generic_make_request is used to make I/O requests of block devices. It is passed a struct bio, which describes the I/O that needs to be done. generic_make_request does not return any status. The success/failure status of the request, along with notification of completion, is delivered asynchronously through the bio->bi_end_io function described (one day) else where. The caller of generic_make_request must make sure that bi_io_vec are set to describe the memory buffer, and that bi_dev and bi_sector are set to describe the device address, and the bi_end_io and optionally bi_private are set to describe how completion notification should be signaled. generic_make_request and the drivers it calls may use bi_next if this bio happens to be merged with someone else, and may resubmit the bio to a lower device by calling into generic_make_request recursively, which means the bio should NOT be touched after the call to ->make_request_fn.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 GENERIC_MAKE_REQUEST(9)
Related Man Pages
bio_alloc_bioset(9) - centos
blk_make_request(9) - centos
bio_f_base64(3) - centos
bio_f_base64(3openssl) - opensolaris
probe::ioblock_trace.request(3stap) - centos
Similar Topics in the Unix Linux Community
How to increment version inside a file?
DB2 convert digits to binary format
Docker learning Phase-I
Shopt -s histappend
[TIP] Processing YAML files with yq