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

struct request_queue * q
the request queue for the device

bool wc

write back cache on or off

bool fua

device supports FUA writes, if true

DESCRIPTION

Tell the block layer about the write cache of q.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11