Rechercher une page de manuel
blk_update_request
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
blk_update_request - Special helper function for request stacking driversSYNOPSIS
- void blk_update_request(struct request * rq, int error, unsigned int nr_bytes);
ARGUMENTS
rq
- the request being processed
error
0 for success, < 0 for error
nr_bytes
- number of bytes to complete rq
DESCRIPTION
Ends I/O on a number of bytes attached to rq, but doesn't complete the request structure even if rq doesn't have leftover. If rq has leftover, sets it up for the next range of segments.
This special helper function is only for request stacking drivers (e.g. request-based dm) so that they can handle partial completion. Actual device drivers should use blk_end_request instead.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre