BLK_DRAIN_QUEUE(9) Block Devices BLK_DRAIN_QUEUE(9)NAMEblk_drain_queue - drain requests from request_queue
void blk_drain_queue(struct request_queue * q, bool drain_all);
queue to drain
whether to drain all requests or only the ones w/ ELVPRIV
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.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 BLK_DRAIN_QUEUE(9)