Scroll to navigation

BLK_QUEUE_WRITE_CACH(9) Block Devices BLK_QUEUE_WRITE_CACH(9)

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

May 2018 Kernel Hackers Manual 4.9.