end_that_request_first

Section: Kernel Hacker's Manual (9)
Updated: end_that_request_first
Index Return to Main Contents
 

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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURN
CAVEAT

This document was created by man2html, using the manual pages.
Time: 03:15:44 GMT, June 12, 2005