---
name: "end_queued_request"
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_queued_request"
---

# end\_queued\_request(9)

end all I/O on a queued request

## NAME

end\_queued\_request - end all I/O on a queued request

## SYNOPSIS

**void end\_queued\_request(struct request \*** *rq***, int** *uptodate***);**

## ARGUMENTS

*rq*

the request being processed

*uptodate*

error value or 0/1 uptodate flag

## DESCRIPTION

Ends all I/O on a request, and removes it from the block layer queues. Not suitable for normal IO completion, unless the driver still has the request attached to the block layer.

## COPYRIGHT
