other versions
- wheezy 3.2.78-1
BLK_RELEASE_QUEUE(9) | Block Devices | BLK_RELEASE_QUEUE(9) |
NAME¶
blk_release_queue - release a struct request_queue when it is no longer neededSYNOPSIS¶
void
blk_release_queue(struct kobject * kobj);
ARGUMENTS¶
kobjthe kobj belonging to the request queue to be
released
DESCRIPTION¶
blk_release_queue is the pair to blk_init_queue or blk_queue_make_request. It should be called when a request queue is being released; typically when a block device is being de-registered. Currently, its primary task it to free all the struct request structures that were allocated to the queue and the queue itself.CAVEAT¶
Hopefully the low level driver will have finished any outstanding requests first...COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |