1BLK_RELEASE_QUEUE(9)             Block Devices            BLK_RELEASE_QUEUE(9)
2
3
4

NAME

6       blk_release_queue - release a struct request_queue when it is no longer
7       needed
8

SYNOPSIS

10       void blk_release_queue(struct kobject * kobj);
11

ARGUMENTS

13       kobj
14           the kobj belonging of the request queue to be released
15

DESCRIPTION

17       blk_cleanup_queue is the pair to blk_init_queue or
18       blk_queue_make_request. It should be called when a request queue is
19       being released; typically when a block device is being de-registered.
20       Currently, its primary task it to free all the struct request
21       structures that were allocated to the queue and the queue itself.
22

CAVEAT

24       Hopefully the low level driver will have finished any outstanding
25       requests first...
26
28Kernel Hackers Manual 2.6.         June 2019              BLK_RELEASE_QUEUE(9)
Impressum