---
name: "blk_queue_flush"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_queue_flush"
---

# blk\_queue\_flush(9)

configure queue's cache flush capability

## NAME

blk\_queue\_flush - configure queue's cache flush capability

## SYNOPSIS

**void blk\_queue\_flush(struct request\_queue \*** *q***, unsigned int** *flush***);**

## ARGUMENTS

*q*

the request queue for the device

*flush*

0, REQ\_FLUSH or REQ\_FLUSH \| REQ\_FUA

## DESCRIPTION

Tell block layer cache flush capability of *q*. If it supports flushing, REQ\_FLUSH should be set. If it supports bypassing write cache for individual writes, REQ\_FUA should be set.

## COPYRIGHT
