1BLK_QUEUE_FLUSH(9) Block Devices BLK_QUEUE_FLUSH(9)
2
3
4
6 blk_queue_flush - configure queue's cache flush capability
7
9 void blk_queue_flush(struct request_queue * q, unsigned int flush);
10
12 q
13 the request queue for the device
14
15 flush
16 0, REQ_FLUSH or REQ_FLUSH | REQ_FUA
17
19 Tell block layer cache flush capability of q. If it supports flushing,
20 REQ_FLUSH should be set. If it supports bypassing write cache for
21 individual writes, REQ_FUA should be set.
22
24Kernel Hackers Manual 3.10 June 2019 BLK_QUEUE_FLUSH(9)