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.