1. NAME

blk_cleanup_queue - shutdown a request queue

2. SYNOPSIS

void blk_cleanup_queue(struct request_queue *  q );

3. ARGUMENTS

q
    request queue to shutdown

4. DESCRIPTION

Mark q DYING, drain all pending requests, mark q DEAD, destroy and put it. All future requests will be failed immediately with -ENODEV.

5. COPYRIGHT