/Linux-v4.19/Documentation/block/ |
D | writeback_cache_control.txt | 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 These drivers will always see the REQ_PREFLUSH and REQ_FUA bits as they sit 56 to be implemented for bios with the REQ_PREFLUSH bit set. For real device 57 drivers that do not have a volatile cache the REQ_PREFLUSH and REQ_FUA bits 58 on non-empty bios can simply be ignored, and REQ_PREFLUSH requests without 68 support required, the block layer completes empty REQ_PREFLUSH requests before 69 entering the driver and strips off the REQ_PREFLUSH and REQ_FUA bits from [all …]
|
/Linux-v4.19/include/linux/ |
D | blk_types.h | 344 #define REQ_PREFLUSH (1ULL << __REQ_PREFLUSH) macro 358 (REQ_NOMERGE | REQ_PREFLUSH | REQ_FUA) 391 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush() 402 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
|
/Linux-v4.19/block/ |
D | blk-flush.c | 107 if (rq->cmd_flags & REQ_PREFLUSH) in blk_flush_policy() 352 flush_rq->cmd_flags = REQ_OP_FLUSH | REQ_PREFLUSH; in blk_kick_flush() 453 rq->cmd_flags &= ~REQ_PREFLUSH; in blk_insert_flush() 551 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in blkdev_issue_flush()
|
/Linux-v4.19/Documentation/device-mapper/ |
D | log-writes.txt | 17 next REQ_PREFLUSH request. This is to make it easier for userspace to replay 22 Once we see a REQ_PREFLUSH request we splice this list onto the request and once 24 completed WRITEs, at the time the REQ_PREFLUSH is issued, are added in order to
|
/Linux-v4.19/drivers/lightnvm/ |
D | pblk-cache.c | 50 if (bio->bi_opf & REQ_PREFLUSH) { in pblk_write_to_cache()
|
/Linux-v4.19/drivers/md/ |
D | dm-raid1.c | 264 .bi_op_flags = REQ_PREFLUSH | REQ_SYNC, in mirror_flush() 653 .bi_op_flags = bio->bi_opf & (REQ_FUA | REQ_PREFLUSH), in do_write() 700 if ((bio->bi_opf & REQ_PREFLUSH) || in do_writes() 1249 if (!(bio->bi_opf & REQ_PREFLUSH) && in mirror_end_io()
|
D | dm-region-hash.c | 403 if (bio->bi_opf & REQ_PREFLUSH) { in dm_rh_mark_nosync() 531 if (bio->bi_opf & REQ_PREFLUSH || bio_op(bio) == REQ_OP_DISCARD) in dm_rh_inc_pending()
|
D | md-linear.c | 255 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) { in linear_make_request()
|
D | dm-snap-persistent.c | 745 REQ_PREFLUSH | REQ_FUA | REQ_SYNC)) in persistent_commit_exception() 822 r = area_io(ps, REQ_OP_WRITE, REQ_PREFLUSH | REQ_FUA); in persistent_commit_merge()
|
D | dm.c | 897 if ((bio->bi_opf & REQ_PREFLUSH) && bio->bi_iter.bi_size) { in dec_pending() 902 bio->bi_opf &= ~REQ_PREFLUSH; in dec_pending() 1149 BUG_ON(bio->bi_opf & REQ_PREFLUSH); in dm_accept_partial_bio() 1597 if (bio->bi_opf & REQ_PREFLUSH) { in __split_and_process_bio() 1656 if (bio->bi_opf & REQ_PREFLUSH) { in __process_bio() 1951 md->flush_bio.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC; in alloc_dev()
|
D | dm-delay.c | 288 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) in delay_map()
|
D | md-multipath.c | 115 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) { in multipath_make_request()
|
D | dm-io.c | 408 if (where[i].count || (op_flags & REQ_PREFLUSH)) in dispatch_io()
|
D | dm-stripe.c | 292 if (bio->bi_opf & REQ_PREFLUSH) { in stripe_map()
|
D | dm-snap.c | 1698 if (bio->bi_opf & REQ_PREFLUSH) { in snapshot_map() 1816 if (bio->bi_opf & REQ_PREFLUSH) { in snapshot_merge_map() 2303 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) in origin_map()
|
D | raid5-cache.c | 656 io->split_bio->bi_opf |= REQ_PREFLUSH; in r5l_do_submit_io() 663 io->current_bio->bi_opf |= REQ_PREFLUSH; in r5l_do_submit_io() 1124 bio->bi_opf &= ~REQ_PREFLUSH; in r5l_handle_flush_request() 1319 log->flush_bio.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in r5l_flush_stripe_to_raid()
|
D | raid5-ppl.c | 648 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in ppl_do_flush() 702 bio->bi_opf &= ~REQ_PREFLUSH; in ppl_handle_flush_request()
|
D | dm-log.c | 311 lc->io_req.bi_op_flags = REQ_PREFLUSH; in flush_header()
|
/Linux-v4.19/drivers/md/bcache/ |
D | request.c | 214 bio->bi_opf &= ~(REQ_PREFLUSH|REQ_FUA); in bch_data_insert_start() 655 bio->bi_opf & REQ_PREFLUSH)) { in backing_request_endio() 1010 if (bio->bi_opf & REQ_PREFLUSH) { in cached_dev_write() 1026 flush->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in cached_dev_write()
|
/Linux-v4.19/drivers/nvme/target/ |
D | io-cmd-bdev.c | 122 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in nvmet_bdev_execute_flush()
|
/Linux-v4.19/drivers/block/xen-blkback/ |
D | blkback.c | 1265 operation_flags = REQ_PREFLUSH; in dispatch_rw_block_io() 1277 if (unlikely(nseg == 0 && operation_flags != REQ_PREFLUSH) || in dispatch_rw_block_io() 1385 BUG_ON(operation_flags != REQ_PREFLUSH); in dispatch_rw_block_io()
|
/Linux-v4.19/fs/gfs2/ |
D | recovery.c | 383 REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC); in clean_journal()
|
/Linux-v4.19/drivers/nvdimm/ |
D | pmem.c | 203 if (bio->bi_opf & REQ_PREFLUSH) in pmem_make_request()
|
/Linux-v4.19/fs/btrfs/ |
D | check-integrity.c | 2129 if (block->submit_bio_bh_rw & REQ_PREFLUSH) { in btrfsic_bio_end_io() 2163 if (block->submit_bio_bh_rw & REQ_PREFLUSH) { in btrfsic_bh_end_io() 2757 } else if (NULL != dev_state && (op_flags & REQ_PREFLUSH)) { in btrfsic_submit_bh() 2843 } else if (NULL != dev_state && (bio->bi_opf & REQ_PREFLUSH)) { in __btrfsic_submit_bio()
|
/Linux-v4.19/drivers/target/ |
D | target_core_iblock.c | 397 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in iblock_execute_sync_cache()
|