__end_that_request_first

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

__end_that_request_first - end I/O on a request

SYNOPSIS

int __end_that_request_first(struct request * req, int error, int nr_bytes);

ARGUMENTS

req

the request being processed

error

0 for success, < 0 for error

nr_bytes

number of bytes to complete

DESCRIPTION

Ends I/O on a number of bytes attached to req, and sets it up for the next range of segments (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