1BLK_CLEANUP_QUEUE(9) Block Devices BLK_CLEANUP_QUEUE(9)
23
4
NAME
6blk_cleanup_queue - shutdown a request queue
7
SYNOPSIS
9void blk_cleanup_queue(struct request_queue * q);
10
ARGUMENTS
12q
13request queue to shutdown
14
DESCRIPTION
16Mark q DYING, drain all pending requests, mark q REALLY_DEAD, destroy
17and put it. All future requests will be failed immediately with
18-ENODEV.
19
COPYRIGHT
21Kernel Hackers Manual 2.6. June 2019 BLK_CLEANUP_QUEUE(9)