end_that_request_first
Name
end_that_request_first -- end I/O on one buffer.
Synopsis
int end_that_request_first (struct request * req, int uptodate, char * name);
Arguments
req the request being processed
uptodate 0 for I/O error
name the name printed for an I/O error
Description
Ends I/O on the first buffer attached to req, and sets it up
for the next buffer_head (if any) in the cluster.
Return
0 - we are done with this request, call end_that_request_last
1 - still buffers pending for this request
Caveat
Drivers implementing their own end_request handling must call
blk_finished_io appropriately.