void generic_make_request
(struct bio * bio);make I/O requests of block devices.
It is passed a &struct bio, which describes the I/O that needs to be done.
the success/failure status of the request, along with notification of completion,
is delivered asynchronously through the bio->bi_end_io function
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.
沒有留言:
張貼留言