__blk_end_bidi_request(9)

__blk_end_bidi_request9

Complete a bidi request with queue lock held

Usage

bool __blk_end_bidi_request(struct request * rq, int error, unsigned int nr_bytes, unsigned int bidi_bytes);

Arguments

rq

the request to complete

error

0 for success, < 0 for error

nr_bytes

number of bytes to complete rq

bidi_bytes

number of bytes to complete rq->next_rq

Overview

Identical to blk_end_bidi_request except that queue lock is assumed to be locked on entry and remains so on return.

Return

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

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.