/linux/Documentation/block/ |
H A D | writeback_cache_control.rst | 36 The REQ_FUA flag can be OR ed into the r/w flags of a bio submitted from the 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 54 entering the driver and strips off the REQ_PREFLUSH and REQ_FUA bits from 63 bit the block layer needs to be told to pass on the REQ_FUA bit by also setting 73 For bio based drivers the REQ_PREFLUSH and REQ_FUA bit are simply passed on to 77 *NOTE*: The REQ_FUA bit also gets passed on when the BLK_FEAT_FUA flags is 79 handle REQ_FUA. 81 For remapping drivers the REQ_FUA bits need to be propagated to underlying 92 When the BLK_FEAT_FUA flags is set, the REQ_FUA bit is simply passed on for the [all …]
|
/linux/include/linux/ |
H A D | blk_types.h | 402 #define REQ_FUA (__force blk_opf_t)(1ULL << __REQ_FUA) macro 420 (REQ_NOMERGE | REQ_PREFLUSH | REQ_FUA) 447 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush() 458 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
|
/linux/block/ |
H A D | blk-flush.c | 401 if ((rq->cmd_flags & REQ_FUA) && !supports_fua) in blk_insert_flush() 411 rq->cmd_flags &= ~REQ_FUA; in blk_insert_flush()
|
H A D | blk-core.c | 800 bio->bi_opf &= ~(REQ_PREFLUSH | REQ_FUA); in submit_bio_noacct()
|
H A D | fops.c | 34 opf |= REQ_FUA; in dio_bio_write_op()
|
/linux/drivers/block/rnbd/ |
H A D | rnbd-proto.h | 252 bio_opf |= REQ_FUA; in rnbd_to_bio_flags()
|
/linux/fs/jbd2/ |
H A D | journal.c | 1061 ret = jbd2_journal_update_sb_log_tail(journal, tid, block, REQ_FUA); in __jbd2_update_log_tail() 1776 journal->j_tail, REQ_FUA); in journal_reset() 1804 write_flags &= ~(REQ_FUA | REQ_PREFLUSH); in jbd2_write_superblock() 2057 jbd2_write_superblock(journal, REQ_FUA); in jbd2_journal_update_sb_errno() 2178 jbd2_mark_journal_empty(journal, REQ_PREFLUSH | REQ_FUA); in jbd2_journal_destroy() 2475 jbd2_mark_journal_empty(journal, REQ_FUA); in jbd2_journal_flush() 2521 jbd2_mark_journal_empty(journal, REQ_FUA); in jbd2_journal_wipe()
|
/linux/drivers/md/ |
H A D | dm-integrity.c | 1117 rw_journal(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, commit_start, in write_journal() 1130 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, in write_journal() 1142 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, commit_start, to_end, &io_comp); in write_journal() 1148 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, commit_start, to_end, &io_comp); in write_journal() 1152 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, 0, commit_sections - to_end, &io_comp); in write_journal() 1982 dio->fua = dio->op == REQ_OP_WRITE && bio->bi_opf & REQ_FUA; in dm_integrity_map() 1988 bio->bi_opf &= ~REQ_FUA; in dm_integrity_map() 3314 rw_journal_sectors(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, in bitmap_block_work() 3360 rw_journal_sectors(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, 0, in bitmap_flush_work() 3641 r = sync_rw_sb(ic, REQ_OP_WRITE | REQ_FUA); in dm_integrity_postsuspend() [all …]
|
H 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()
|
H A D | raid5-cache.c | 650 io->split_bio->bi_opf |= REQ_FUA; in r5l_do_submit_io() 657 io->current_bio->bi_opf |= REQ_FUA; in r5l_do_submit_io() 1790 REQ_SYNC | REQ_FUA, false)) { in r5l_log_write_empty_meta_block() 2402 REQ_OP_WRITE | REQ_SYNC | REQ_FUA, false); in r5c_recovery_rewrite_data_only_stripes()
|
H A D | dm-writecache.c | 564 req.bi_opf = REQ_OP_WRITE | REQ_SYNC | REQ_FUA; in ssd_commit_superblock() 1495 if (unlikely(bio->bi_opf & REQ_FUA || wc->uncommitted_blocks >= wc->autocommit_blocks)) in writecache_map_write() 1879 bio->bi_opf |= REQ_FUA; in __writecache_writeback_pmem()
|
H A D | dm-raid1.c | 659 blk_opf_t op_flags = bio->bi_opf & (REQ_FUA | REQ_PREFLUSH); in do_write()
|
/linux/drivers/target/ |
H A D | target_core_iblock.c | 761 opf |= REQ_FUA; in iblock_execute_rw() 763 opf |= REQ_FUA; in iblock_execute_rw()
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | log-writes.rst | 39 Any REQ_FUA requests bypass this flushing mechanism and are logged as soon as
|
/linux/drivers/nvme/target/ |
H A D | io-cmd-bdev.c | 268 opf |= REQ_FUA; in nvmet_bdev_execute_rw()
|
/linux/fs/gfs2/ |
H A D | recovery.c | 271 REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC); in clean_journal()
|
H A D | log.c | 907 blk_opf_t op_flags = REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC; in log_write_header()
|
/linux/fs/iomap/ |
H A D | direct-io.c | 283 opflags |= REQ_FUA; in iomap_dio_bio_opflags()
|
/linux/drivers/block/ |
H A D | xen-blkfront.c | 771 BUG_ON(req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA); in blkif_queue_rw_req() 784 (req_op(req) == REQ_OP_WRITE && (req->cmd_flags & REQ_FUA))) { in blkif_queue_rw_req() 2089 shadow[j].request->cmd_flags & REQ_FUA) { in blkfront_resume()
|
/linux/fs/exfat/ |
H A D | super.c | 115 __sync_dirty_buffer(sbi->boot_bh, REQ_SYNC | REQ_FUA | REQ_PREFLUSH); in exfat_set_vol_flags()
|
/linux/drivers/md/bcache/ |
H A D | journal.c | 795 REQ_SYNC | REQ_META | REQ_PREFLUSH | REQ_FUA);
|
/linux/drivers/block/drbd/ |
H A D | drbd_actlog.c | 139 op_flags |= REQ_FUA | REQ_PREFLUSH; in _drbd_md_sync_page_io()
|
/linux/fs/nilfs2/ |
H A D | super.c | 187 REQ_SYNC | REQ_PREFLUSH | REQ_FUA); in nilfs_sync_super()
|
/linux/include/trace/events/ |
H A D | f2fs.h | 70 REQ_PREFLUSH | REQ_FUA) 85 { (__force u32)REQ_FUA, "FUA" })
|
/linux/drivers/scsi/ |
H A D | myrs.c | 1653 if (rq->cmd_flags & REQ_FUA) in myrs_queuecommand() 1699 if (rq->cmd_flags & REQ_FUA) in myrs_queuecommand()
|