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 to the request queue to be released
15

DESCRIPTION

17       blk_release_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

NOTE

24       The low level driver must have finished any outstanding requests first
25       via blk_cleanup_queue.
26
28Kernel Hackers Manual 3.10         June 2019              BLK_RELEASE_QUEUE(9)
Impressum