blk_queue_end_tag(9)

blk_queue_end_tag9

End tag operations for a request

Usage

void blk_queue_end_tag(struct request_queue * q, struct request * rq);

Arguments

q

the request queue for the device

rq

the request that has completed

Overview

Typically called when end_that_request_first returns 0, meaning all transfers have been done for a request. It's important to call this function before end_that_request_last, as that will put the request back on the free list thus corrupting the internal tag list.

Notes

queue lock must be held.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

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