table of contents
other versions
BLK_CLEANUP_QUEUE(9) | Block Devices | BLK_CLEANUP_QUEUE(9) |
NAME¶
blk_cleanup_queue - shutdown a request queueSYNOPSIS¶
void
blk_cleanup_queue(struct request_queue * q);
ARGUMENTS¶
qrequest queue to shutdown
DESCRIPTION¶
Mark q DYING, drain all pending requests, mark q DEAD, destroy and put it. All future requests will be failed immediately with -ENODEV.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |