/linux-6.3-rc2/Documentation/block/ |
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 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-6.3-rc2/include/linux/ |
A D | blk_types.h | 442 #define REQ_PREFLUSH (__force blk_opf_t)(1ULL << __REQ_PREFLUSH) macro 459 (REQ_NOMERGE | REQ_PREFLUSH | REQ_FUA) 486 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush() 497 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
|
/linux-6.3-rc2/block/ |
A D | blk-flush.c | 113 if (rq->cmd_flags & REQ_PREFLUSH) in blk_flush_policy() 342 flush_rq->cmd_flags = REQ_OP_FLUSH | REQ_PREFLUSH; in blk_kick_flush() 404 rq->cmd_flags &= ~REQ_PREFLUSH; in blk_insert_flush() 466 bio_init(&bio, bdev, NULL, 0, REQ_OP_WRITE | REQ_PREFLUSH); in blkdev_issue_flush()
|
/linux-6.3-rc2/Documentation/admin-guide/device-mapper/ |
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-6.3-rc2/drivers/nvdimm/ |
A D | nd_virtio.c | 108 struct bio *child = bio_alloc(bio->bi_bdev, 0, REQ_PREFLUSH, in async_pmem_flush()
|
/linux-6.3-rc2/drivers/block/rnbd/ |
A D | rnbd-proto.h | 244 bio_opf = REQ_OP_FLUSH | REQ_PREFLUSH; in rnbd_to_bio_flags()
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-raid1.c | 268 .bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC, in mirror_flush() 659 blk_opf_t op_flags = bio->bi_opf & (REQ_FUA | REQ_PREFLUSH); in do_write() 708 if ((bio->bi_opf & REQ_PREFLUSH) || in do_writes() 1259 if (!(bio->bi_opf & REQ_PREFLUSH) && in mirror_end_io()
|
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()
|
A D | md-linear.c | 213 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in linear_make_request()
|
A D | dm-snap-persistent.c | 742 if (ps->valid && area_io(ps, REQ_OP_WRITE | REQ_PREFLUSH | REQ_FUA | in persistent_commit_exception() 820 r = area_io(ps, REQ_OP_WRITE | REQ_PREFLUSH | REQ_FUA); in persistent_commit_merge()
|
A D | dm-delay.c | 291 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) in delay_map()
|
A D | md-multipath.c | 106 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in multipath_make_request()
|
A D | dm-ebs-target.c | 198 else if (bio_op(bio) == REQ_OP_WRITE && !(bio->bi_opf & REQ_PREFLUSH)) { in __ebs_process_bios()
|
A D | dm-io.c | 402 if (where[i].count || (opf & REQ_PREFLUSH)) in dispatch_io()
|
A D | dm-stripe.c | 277 if (bio->bi_opf & REQ_PREFLUSH) { in stripe_map()
|
A D | dm.c | 492 return ((bio->bi_opf & REQ_PREFLUSH) && bio->bi_iter.bi_size); in bio_is_flush_with_data() 981 bio->bi_opf &= ~REQ_PREFLUSH; in __dm_io_complete() 1540 REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC); in __send_empty_flush() 1755 if (bio->bi_opf & REQ_PREFLUSH) { in dm_split_and_process_bio()
|
A D | raid5-cache.c | 645 io->split_bio->bi_opf |= REQ_PREFLUSH; in r5l_do_submit_io() 652 io->current_bio->bi_opf |= REQ_PREFLUSH; in r5l_do_submit_io() 1112 bio->bi_opf &= ~REQ_PREFLUSH; in r5l_handle_flush_request() 1307 REQ_OP_WRITE | REQ_PREFLUSH); in r5l_flush_stripe_to_raid()
|
A D | raid5-ppl.c | 633 REQ_OP_WRITE | REQ_PREFLUSH, in ppl_do_flush() 688 bio->bi_opf &= ~REQ_PREFLUSH; in ppl_handle_flush_request()
|
A D | dm-snap.c | 1961 if (bio->bi_opf & REQ_PREFLUSH) { in snapshot_map() 2127 if (bio->bi_opf & REQ_PREFLUSH) { in snapshot_merge_map() 2676 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) in origin_map()
|
A D | dm-log.c | 314 lc->io_req.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in flush_header()
|
A D | raid0.c | 525 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in raid0_make_request()
|
/linux-6.3-rc2/drivers/md/bcache/ |
A D | request.c | 202 bio->bi_opf &= ~(REQ_PREFLUSH|REQ_FUA); in bch_data_insert_start() 653 bio->bi_opf & REQ_PREFLUSH)) { in backing_request_endio() 1019 if (bio->bi_opf & REQ_PREFLUSH) { in cached_dev_write() 1027 REQ_OP_WRITE | REQ_PREFLUSH, in cached_dev_write()
|
/linux-6.3-rc2/drivers/block/xen-blkback/ |
A D | blkback.c | 1229 operation_flags = REQ_PREFLUSH; in dispatch_rw_block_io() 1241 if (unlikely(nseg == 0 && operation_flags != REQ_PREFLUSH) || in dispatch_rw_block_io() 1344 BUG_ON(operation_flags != REQ_PREFLUSH); in dispatch_rw_block_io()
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | io-cmd-bdev.c | 345 ARRAY_SIZE(req->inline_bvec), REQ_OP_WRITE | REQ_PREFLUSH); in nvmet_bdev_execute_flush()
|
/linux-6.3-rc2/fs/gfs2/ |
A D | recovery.c | 271 REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC); in clean_journal()
|