Rechercher une page de manuel
end_request
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
end_request - end I/O on the current segment of the requestSYNOPSIS
- void end_request(struct request * req, int uptodate);
ARGUMENTS
req
- the request being processed
uptodate
- error value or 0/1 uptodate flag
DESCRIPTION
Ends I/O on the current segment of a request. If that is the only remaining segment, the request is also completed and freed.
This is a remnant of how older block drivers handled I/O completions. Modern drivers typically end I/O on the full request in one go, unless they have a residual value to account for. For that case this function isn't really useful, unless the residual just happens to be the full current segment. In other words, don't use this function in new code. Use blk_end_request or __blk_end_request to end a request.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre