'\" t .\" Title: blk_queue_flush .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "BLK_QUEUE_FLUSH" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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_queue_flush \- configure queue\*(Aqs cache flush capability .SH "SYNOPSIS" .HP \w'void\ blk_queue_flush('u .BI "void blk_queue_flush(struct\ request_queue\ *\ " "q" ", unsigned\ int\ " "flush" ");" .SH "ARGUMENTS" .PP \fIq\fR .RS 4 the request queue for the device .RE .PP \fIflush\fR .RS 4 0, REQ_FLUSH or REQ_FLUSH | REQ_FUA .RE .SH "DESCRIPTION" .PP Tell block layer cache flush capability of \fIq\fR\&. If it supports flushing, REQ_FLUSH should be set\&. If it supports bypassing write cache for individual writes, REQ_FUA should be set\&. .SH "COPYRIGHT" .br