Home
last modified time | relevance | path

Searched refs:REQ_PREFLUSH (Results 1 – 25 of 44) sorted by relevance

12

/linux/Documentation/block/
H A Dwriteback_cache_control.rst23 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 Dblk_types.h427 #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 Dlog-writes.rst18 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 Drequest.c202 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 Ddm-region-hash.c406 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 Dmd-linear.c242 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in linear_make_request()
H A Ddm-delay.c371 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) in delay_map()
H A Ddm-ebs-target.c198 else if (bio_op(bio) == REQ_OP_WRITE && !(bio->bi_opf & REQ_PREFLUSH)) { in __ebs_process_bios()
H A Ddm-stripe.c278 if (bio->bi_opf & REQ_PREFLUSH) { in stripe_map()
H A Draid5-ppl.c631 REQ_OP_WRITE | REQ_PREFLUSH, in ppl_do_flush()
688 bio->bi_opf &= ~REQ_PREFLUSH; in ppl_handle_flush_request()
H A Ddm.c991 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 Ddm-clone-target.c1262 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 Ddm-log.c314 lc->io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in flush_header()
H A Draid0.c602 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in raid0_make_request()
H A Ddm-log-writes.c653 bool flush_bio = (bio->bi_opf & REQ_PREFLUSH); in log_writes_map()
/linux/drivers/md/dm-vdo/
H A Dvdo.c885 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 Dblkback.c1332 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 Drecovery.c272 REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC); in clean_journal()
/linux/drivers/nvdimm/
H A Dpmem.c211 if (bio->bi_opf & REQ_PREFLUSH) { in pmem_submit_bio()
/linux/block/
H A Dblk-core.c859 bio->bi_opf &= ~(REQ_PREFLUSH | REQ_FUA); in submit_bio_noacct()
/linux/drivers/target/
H A Dtarget_core_iblock.c427 bio = bio_alloc(ib_dev->ibd_bd, 0, REQ_OP_WRITE | REQ_PREFLUSH, in iblock_execute_sync_cache()
/linux/fs/jbd2/
H A Djournal.c1801 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 Ddrbd_actlog.c139 op_flags |= REQ_FUA | REQ_PREFLUSH; in _drbd_md_sync_page_io()
H A Ddrbd_req.c1122 D_ASSERT(device, req->master_bio->bi_opf & REQ_PREFLUSH); in drbd_process_write_request()
/linux/include/trace/events/
H A Df2fs.h73 REQ_PREFLUSH | REQ_FUA)
87 { (__force u32)REQ_PREFLUSH, "PF" }, \

12