.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "END_THAT_REQUEST_FIRST" "" "06 October 2005" "" ""
.SH NAME
end_that_request_first \- end I/O on a request
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int end_that_request_first (struct request * \fIreq\fB, int \fIuptodate\fB, int \fInr_sectors\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIreq\fB\fR
the request being processed
.TP
\fB\fIuptodate\fB\fR
0 for I/O error
.TP
\fB\fInr_sectors\fB\fR
number of sectors to end I/O on
.SH "DESCRIPTION"
.PP
Ends I/O on a number of sectors attached to \fIreq\fR, and sets it up
for the next range of segments (if any) in the cluster.
.SH "RETURN"
.PP
0 - we are done with this request, call \fBend_that_request_last\fR
1 - still buffers pending for this request