---
name: "blk_queue_write_cache"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_queue_write_cache"
---

# blk\_queue\_write\_cache(9)

configure queue's write cache

## NAME

blk\_queue\_write\_cache - configure queue's write cache

## SYNOPSIS

**void blk\_queue\_write\_cache(struct request\_queue \*** *q***, bool** *wc***, bool** *fua***);**

## ARGUMENTS

*q*

the request queue for the device

*wc*

write back cache on or off

*fua*

device supports FUA writes, if true

## DESCRIPTION

Tell the block layer about the write cache of *q*.

## COPYRIGHT
