1__BLK_DRAIN_QUEUE(9) Block Devices __BLK_DRAIN_QUEUE(9)
2
3
4
6 __blk_drain_queue - drain requests from request_queue
7
9 void __blk_drain_queue(struct request_queue * q, bool drain_all);
10
12 q
13 queue to drain
14
15 drain_all
16 whether to drain all requests or only the ones w/ ELVPRIV
17
19 Drain requests from q. If drain_all is set, all requests are drained.
20 If not, only ELVPRIV requests are drained. The caller is responsible
21 for ensuring that no new requests which need to be drained are queued.
22
24Kernel Hackers Manual 3.10 June 2019 __BLK_DRAIN_QUEUE(9)