'\" t .\" Title: blk_cleanup_queue .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "BLK_CLEANUP_QUEUE" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Block Devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" blk_cleanup_queue \- shutdown a request queue .SH "SYNOPSIS" .HP \w'void\ blk_cleanup_queue('u .BI "void blk_cleanup_queue(struct\ request_queue\ *\ " "q" ");" .SH "ARGUMENTS" .PP \fIstruct request_queue * q\fR .RS 4 request queue to shutdown .RE .SH "DESCRIPTION" .PP Mark \fIq\fR DYING, drain all pending requests, mark \fIq\fR DEAD, destroy and put it\&. All future requests will be failed immediately with \-ENODEV\&. .SH "COPYRIGHT" .br