| /OK3568_Linux_fs/kernel/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 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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | blk_types.h | 433 #define REQ_PREFLUSH (1ULL << __REQ_PREFLUSH) macro 449 (REQ_NOMERGE | REQ_PREFLUSH | REQ_FUA) 483 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush() 494 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-flush.c | 107 if (rq->cmd_flags & REQ_PREFLUSH) in blk_flush_policy() 335 flush_rq->cmd_flags = REQ_OP_FLUSH | REQ_PREFLUSH; in blk_kick_flush() 396 rq->cmd_flags &= ~REQ_PREFLUSH; in blk_insert_flush() 462 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in blkdev_issue_flush()
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/drivers/lightnvm/ |
| H A D | pblk-cache.c | 51 if (bio->bi_opf & REQ_PREFLUSH) { in pblk_write_to_cache()
|
| /OK3568_Linux_fs/kernel/drivers/nvdimm/ |
| H A D | nd_virtio.c | 113 child->bi_opf = REQ_PREFLUSH; in async_pmem_flush()
|
| /OK3568_Linux_fs/kernel/drivers/block/rnbd/ |
| H A D | rnbd-proto.h | 237 bio_opf = REQ_OP_FLUSH | REQ_PREFLUSH; in rnbd_to_bio_flags()
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A 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() 1247 if (!(bio->bi_opf & REQ_PREFLUSH) && in mirror_end_io()
|
| H A 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()
|
| H A D | dm-snap-persistent.c | 738 REQ_PREFLUSH | REQ_FUA | REQ_SYNC)) in persistent_commit_exception() 815 r = area_io(ps, REQ_OP_WRITE, REQ_PREFLUSH | REQ_FUA); in persistent_commit_merge()
|
| H A D | md-linear.c | 224 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in linear_make_request()
|
| H A D | dm-user.c | 432 if (opf & REQ_PREFLUSH) { in bio_flags_to_user_flags() 433 opf &= ~REQ_PREFLUSH; in bio_flags_to_user_flags()
|
| H A D | dm-delay.c | 289 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) in delay_map()
|
| H A D | dm.c | 944 if ((bio->bi_opf & REQ_PREFLUSH) && bio->bi_iter.bi_size) { in dec_pending() 949 bio->bi_opf &= ~REQ_PREFLUSH; in dec_pending() 1271 BUG_ON(bio->bi_opf & REQ_PREFLUSH); in dm_accept_partial_bio() 1484 flush_bio.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH | REQ_SYNC; in __send_empty_flush() 1643 if (bio->bi_opf & REQ_PREFLUSH) { in __split_and_process_bio()
|
| H A D | dm-snap.c | 1136 flush_bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in flush_data() 1978 if (bio->bi_opf & REQ_PREFLUSH) { in snapshot_map() 2144 if (bio->bi_opf & REQ_PREFLUSH) { in snapshot_merge_map() 2684 if (unlikely(bio->bi_opf & REQ_PREFLUSH)) in origin_map()
|
| H A D | dm-clone-target.c | 1160 clone->flush_bio.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in commit_metadata() 1276 if ((bio->bi_opf & REQ_PREFLUSH) && dest_dev_flushed) { in process_deferred_flush_bios() 1345 if (bio->bi_opf & REQ_PREFLUSH) { in clone_map()
|
| H A D | dm-ebs-target.c | 196 else if (bio_op(bio) == REQ_OP_WRITE && !(bio->bi_opf & REQ_PREFLUSH)) { in __ebs_process_bios()
|
| H A D | md-multipath.c | 107 if (unlikely(bio->bi_opf & REQ_PREFLUSH) in multipath_make_request()
|
| H A D | dm-io.c | 408 if (where[i].count || (op_flags & REQ_PREFLUSH)) in dispatch_io()
|
| H A D | dm-stripe.c | 279 if (bio->bi_opf & REQ_PREFLUSH) { in stripe_map()
|
| H 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() 1113 bio->bi_opf &= ~REQ_PREFLUSH; in r5l_handle_flush_request() 1308 log->flush_bio.bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in r5l_flush_stripe_to_raid()
|
| /OK3568_Linux_fs/kernel/drivers/md/bcache/ |
| H 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() 1024 if (bio->bi_opf & REQ_PREFLUSH) { in cached_dev_write() 1040 flush->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in cached_dev_write()
|
| /OK3568_Linux_fs/kernel/drivers/block/xen-blkback/ |
| H A D | blkback.c | 1228 operation_flags = REQ_PREFLUSH; in dispatch_rw_block_io() 1240 if (unlikely(nseg == 0 && operation_flags != REQ_PREFLUSH) || in dispatch_rw_block_io() 1348 BUG_ON(operation_flags != REQ_PREFLUSH); in dispatch_rw_block_io()
|
| /OK3568_Linux_fs/kernel/drivers/nvme/target/ |
| H A D | io-cmd-bdev.c | 328 bio->bi_opf = REQ_OP_WRITE | REQ_PREFLUSH; in nvmet_bdev_execute_flush()
|
| /OK3568_Linux_fs/kernel/fs/gfs2/ |
| H A D | recovery.c | 272 REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC); in clean_journal()
|