| /linux/Documentation/block/ |
| H A D | writeback_cache_control.rst | 23 The REQ_PREFLUSH flag can be OR ed into the r/w flags of a bio submitted from 27 storage before the flagged bio starts. In addition the REQ_PREFLUSH flag can be 44 Filesystems can simply set the REQ_PREFLUSH and REQ_FUA bits and do not have to 46 the Forced Unit Access is implemented. The REQ_PREFLUSH and REQ_FUA flags 53 support required, the block layer completes empty REQ_PREFLUSH requests before 54 entering the driver and strips off the REQ_PREFLUSH and REQ_FUA bits from 73 For bio based drivers the REQ_PREFLUSH and REQ_FUA bit are simply passed on to 83 REQ_PREFLUSH bit set. 88 When the BLK_FEAT_WRITE_CACHE flag is set, REQ_OP_WRITE | REQ_PREFLUSH requests
|
| /linux/include/linux/ |
| H A D | blk_types.h | 427 #define REQ_PREFLUSH (__force blk_opf_t)(1ULL << __REQ_PREFLUSH) macro 444 (REQ_NOMERGE | REQ_PREFLUSH | REQ_FUA) 471 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush() 482 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | log-writes.rst | 18 next REQ_PREFLUSH request. This is to make it easier for userspace to replay 23 Once we see a REQ_PREFLUSH request we splice this list onto the request and once 25 completed WRITEs, at the time the REQ_PREFLUSH is issued, are added in order to
|
| /linux/drivers/md/bcache/ |
| H A D | request.c | 202 bio->bi_opf &= ~(REQ_PREFLUSH|REQ_FUA); in CLOSURE_CALLBACK() 667 bio->bi_opf & REQ_PREFLUSH)) { in backing_request_endio() 1033 if (bio->bi_opf & REQ_PREFLUSH) { in cached_dev_write() 1041 REQ_OP_WRITE | REQ_PREFLUSH, in cached_dev_write()
|
| /linux/drivers/md/ |
| H A D | dm-region-hash.c | 406 if (bio->bi_opf & REQ_PREFLUSH) { in dm_rh_mark_nosync() 534 if (bio->bi_opf & REQ_PREFLUSH || bio_op(bio) == REQ_OP_DISCARD) in dm_rh_inc_pending()
|
| H A D | md-linear.c | 242 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in linear_make_request()
|
| H A D | dm-delay.c | 371 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) in delay_map()
|
| H A D | dm-ebs-target.c | 198 else if (bio_op(bio) == REQ_OP_WRITE && !(bio->bi_opf & REQ_PREFLUSH)) { in __ebs_process_bios()
|
| H A D | dm-stripe.c | 278 if (bio->bi_opf & REQ_PREFLUSH) { in stripe_map()
|
| H A D | raid5-ppl.c | 631 REQ_OP_WRITE | REQ_PREFLUSH, in ppl_do_flush() 688 bio->bi_opf &= ~REQ_PREFLUSH; in ppl_handle_flush_request()
|
| H A D | dm.c | 991 bio->bi_opf &= ~REQ_PREFLUSH; in __dm_io_complete() 1541 blk_opf_t opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC; in __send_empty_flush() 1998 if (bio->bi_opf & REQ_PREFLUSH) { in dm_split_and_process_bio() 2013 if (unlikely((bio->bi_opf & REQ_PREFLUSH) != 0)) { in dm_split_and_process_bio()
|
| H A D | dm-clone-target.c | 1262 if ((bio->bi_opf & REQ_PREFLUSH) && dest_dev_flushed) { in process_deferred_flush_bios() 1331 if (bio->bi_opf & REQ_PREFLUSH) { in clone_map()
|
| H A D | dm-log.c | 314 lc->io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in flush_header()
|
| H A D | raid0.c | 602 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in raid0_make_request()
|
| H A D | dm-log-writes.c | 653 bool flush_bio = (bio->bi_opf & REQ_PREFLUSH); in log_writes_map()
|
| /linux/drivers/md/dm-vdo/ |
| H A D | vdo.c | 885 REQ_OP_WRITE | REQ_PREFLUSH); in vdo_synchronous_flush() 1041 REQ_OP_WRITE | REQ_PREFLUSH | REQ_FUA); in vdo_save_geometry_block() 1084 REQ_OP_WRITE | REQ_PREFLUSH | REQ_FUA); in vdo_save_super_block()
|
| /linux/drivers/block/xen-blkback/ |
| H A D | blkback.c | 1332 operation_flags = REQ_PREFLUSH; in dispatch_rw_block_io() 1344 if (unlikely(nseg == 0 && operation_flags != REQ_PREFLUSH) || in dispatch_rw_block_io() 1447 BUG_ON(operation_flags != REQ_PREFLUSH); in dispatch_rw_block_io()
|
| /linux/fs/gfs2/ |
| H A D | recovery.c | 272 REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC); in clean_journal()
|
| /linux/drivers/nvdimm/ |
| H A D | pmem.c | 211 if (bio->bi_opf & REQ_PREFLUSH) { in pmem_submit_bio()
|
| /linux/block/ |
| H A D | blk-core.c | 859 bio->bi_opf &= ~(REQ_PREFLUSH | REQ_FUA); in submit_bio_noacct()
|
| /linux/drivers/target/ |
| H A D | target_core_iblock.c | 427 bio = bio_alloc(ib_dev->ibd_bd, 0, REQ_OP_WRITE | REQ_PREFLUSH, in iblock_execute_sync_cache()
|
| /linux/fs/jbd2/ |
| H A D | journal.c | 1801 write_flags &= ~(REQ_FUA | REQ_PREFLUSH); in jbd2_write_superblock() 2164 jbd2_mark_journal_empty(journal, REQ_PREFLUSH | REQ_FUA); in jbd2_journal_destroy()
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_actlog.c | 139 op_flags |= REQ_FUA | REQ_PREFLUSH; in _drbd_md_sync_page_io()
|
| H A D | drbd_req.c | 1122 D_ASSERT(device, req->master_bio->bi_opf & REQ_PREFLUSH); in drbd_process_write_request()
|
| /linux/include/trace/events/ |
| H A D | f2fs.h | 73 REQ_PREFLUSH | REQ_FUA) 87 { (__force u32)REQ_PREFLUSH, "PF" }, \
|