.\" 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_CHUNK" "9" "09 October 2005" "" "" .SH NAME end_that_request_chunk \- end I/O on a request .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int end_that_request_chunk (struct request * \fIreq\fB, int \fIuptodate\fB, int \fInr_bytes\fB); \fR .SH "ARGUMENTS" .TP \fB\fIreq\fB\fR the request being processed .TP \fB\fIuptodate\fB\fR 1 for success, 0 for I/O error, < 0 for specific error .TP \fB\fInr_bytes\fB\fR number of bytes to complete .SH "DESCRIPTION" .PP Ends I/O on a number of bytes attached to \fIreq\fR, and sets it up for the next range of segments (if any). Like \fBend_that_request_first\fR, but deals with bytes instead of sectors. .SH "RETURN" .PP 0 - we are done with this request, call \fBend_that_request_last\fR 1 - still buffers pending for this request