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 DEAD, destroy and put
17it. All future requests will be failed immediately with -ENODEV.
18
COPYRIGHT
20Kernel Hackers Manual 3.10 June 2019 BLK_CLEANUP_QUEUE(9)