blk_cleanup_queue
Prev | Chapter 14. Block Devices | Next

## Name

blk_cleanup_queue — shutdown a request queue

## Synopsis

`void blk_cleanup_queue (` | struct request_queue * q`)`;

## Arguments

`q`

  request 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.

Prev | Up | Next
blk_queue_bypass_end | Home | blk_init_queue