---
name: "__end_that_request_first"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/__end_that_request_first"
---

# \_\_end\_that\_request\_first(9)

end I/O on a request

## 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

## COPYRIGHT
