---
name: "__blk_end_request_cur"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/__blk_end_request_cur"
---

# \_\_blk\_end\_request\_cur(9)

Helper function to finish the current request chunk.

## NAME

\_\_blk\_end\_request\_cur - Helper function to finish the current request chunk.

## SYNOPSIS

**bool \_\_blk\_end\_request\_cur(struct request \*** *rq***, int** *error***);**

## ARGUMENTS

*rq*

the request to finish the current chunk for

*error*

**0** for success, \< **0** for error

## DESCRIPTION

Complete the current consecutively mapped chunk from *rq*. Must be called with queue lock held.

## RETURN

**false** - we are done with this request **true** - still buffers pending for this request

## COPYRIGHT
