__blk_drain_queue(9)

__blk_drain_queue9

Drain requests from request_queue

Usage

void __blk_drain_queue(struct request_queue * q, bool drain_all);

Arguments

q

queue to drain

drain_all

whether to drain all requests or only the ones w/ ELVPRIV

Overview

Drain requests from q. If drain_all is set, all requests are drained. If not, only ELVPRIV requests are drained. The caller is responsible for ensuring that no new requests which need to be drained are queued.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

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