Home
last modified time | relevance | path

Searched refs:REQ_FUA (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v4.19/Documentation/block/
Dwriteback_cache_control.txt36 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
53 These drivers will always see the REQ_PREFLUSH and REQ_FUA bits as they sit
54 directly below the submit_bio interface. For remapping drivers the REQ_FUA
57 drivers that do not have a volatile cache the REQ_PREFLUSH and REQ_FUA bits
69 entering the driver and strips off the REQ_PREFLUSH and REQ_FUA bits from
80 to be told to pass through the REQ_FUA bit using:
84 and the driver must handle write requests that have the REQ_FUA bit set
/Linux-v4.19/include/linux/
Dblk_types.h343 #define REQ_FUA (1ULL << __REQ_FUA) 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/
Dblk-flush.c110 (rq->cmd_flags & REQ_FUA)) in blk_flush_policy()
455 rq->cmd_flags &= ~REQ_FUA; in blk_insert_flush()
/Linux-v4.19/fs/jbd2/
Djournal.c952 REQ_SYNC | REQ_FUA); in __jbd2_update_log_tail()
1353 REQ_SYNC | REQ_FUA); in journal_reset()
1367 write_flags &= ~(REQ_FUA | REQ_PREFLUSH); in jbd2_write_superblock()
1499 jbd2_write_superblock(journal, REQ_SYNC | REQ_FUA); in jbd2_journal_update_sb_errno()
1766 REQ_SYNC | REQ_PREFLUSH | REQ_FUA); in jbd2_journal_destroy()
2025 jbd2_mark_journal_empty(journal, REQ_SYNC | REQ_FUA); in jbd2_journal_flush()
2071 jbd2_mark_journal_empty(journal, REQ_SYNC | REQ_FUA); in jbd2_journal_wipe()
Dcommit.c157 REQ_SYNC | REQ_PREFLUSH | REQ_FUA, bh); in journal_submit_commit_record()
/Linux-v4.19/drivers/nvme/target/
Dio-cmd-bdev.c76 op_flags |= REQ_FUA; in nvmet_bdev_execute_rw()
/Linux-v4.19/drivers/target/
Dtarget_core_iblock.c706 op_flags = REQ_FUA; in iblock_execute_rw()
708 op_flags = REQ_FUA; in iblock_execute_rw()
/Linux-v4.19/drivers/md/
Ddm-snap-persistent.c745 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()
Ddm-integrity.c830 rw_journal(ic, REQ_OP_WRITE, REQ_FUA | REQ_SYNC, commit_start, in write_journal()
842 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
853 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
859 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, commit_start, to_end, &io_comp); in write_journal()
863 rw_journal(ic, REQ_OP_WRITE, REQ_FUA, 0, commit_sections - to_end, &io_comp); in write_journal()
1435 dio->fua = dio->write && bio->bi_opf & REQ_FUA; in dm_integrity_map()
1441 bio->bi_opf &= ~REQ_FUA; in dm_integrity_map()
3499 r = sync_rw_sb(ic, REQ_OP_WRITE, REQ_FUA); in dm_integrity_ctr()
Draid5-cache.c658 io->split_bio->bi_opf |= REQ_FUA; in r5l_do_submit_io()
665 io->current_bio->bi_opf |= REQ_FUA; in r5l_do_submit_io()
1806 REQ_SYNC | REQ_FUA, false)) { in r5l_log_write_empty_meta_block()
2412 REQ_OP_WRITE, REQ_SYNC | REQ_FUA, false); in r5c_recovery_rewrite_data_only_stripes()
Draid5-ppl.c475 bio->bi_opf = REQ_OP_WRITE | REQ_FUA; in ppl_submit_iounit()
1075 REQ_FUA, 0, false)) { in ppl_write_empty_header()
Ddm-log-writes.c656 bool fua_bio = (bio->bi_opf & REQ_FUA); in log_writes_map()
Ddm-raid1.c653 .bi_op_flags = bio->bi_opf & (REQ_FUA | REQ_PREFLUSH), in do_write()
/Linux-v4.19/Documentation/device-mapper/
Dlog-writes.txt38 Any REQ_FUA requests bypass this flushing mechanism and are logged as soon as
/Linux-v4.19/fs/gfs2/
Drecovery.c383 REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC); in clean_journal()
Dlog.c749 int op_flags = REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC; in log_write_header()
/Linux-v4.19/drivers/block/
Dxen-blkfront.c758 BUG_ON(req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA); in blkif_queue_rw_req()
770 if (req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA) { in blkif_queue_rw_req()
877 ((req->cmd_flags & REQ_FUA) && in blkif_request_flush_invalid()
2097 shadow[j].request->cmd_flags & REQ_FUA) { in blkfront_resume()
Dnull_blk_main.c1087 req_op(rq) & REQ_FUA); in null_handle_rq()
1122 bio_op(bio) & REQ_FUA); in null_handle_bio()
/Linux-v4.19/drivers/nvdimm/
Dpmem.c218 if (bio->bi_opf & REQ_FUA) in pmem_make_request()
/Linux-v4.19/drivers/scsi/
Dsd.c1157 SCpnt->cmnd[10] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_setup_read_write_cmnd()
1182 SCpnt->cmnd[1] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_setup_read_write_cmnd()
1200 SCpnt->cmnd[1] = protect | ((rq->cmd_flags & REQ_FUA) ? 0x8 : 0); in sd_setup_read_write_cmnd()
1209 if (unlikely(rq->cmd_flags & REQ_FUA)) { in sd_setup_read_write_cmnd()
/Linux-v4.19/include/trace/events/
Df2fs.h73 REQ_PREFLUSH | REQ_FUA)
98 { REQ_FUA, "FUA" })
/Linux-v4.19/drivers/md/bcache/
Djournal.c663 REQ_SYNC|REQ_META|REQ_PREFLUSH|REQ_FUA); in journal_write_unlocked()
/Linux-v4.19/drivers/block/drbd/
Ddrbd_actlog.c150 op_flags |= REQ_FUA | REQ_PREFLUSH; in _drbd_md_sync_page_io()
/Linux-v4.19/fs/nilfs2/
Dsuper.c182 REQ_SYNC | REQ_PREFLUSH | REQ_FUA); in nilfs_sync_super()
/Linux-v4.19/drivers/mmc/core/
Dblock.c77 #define mmc_req_rel_wr(req) ((req->cmd_flags & REQ_FUA) && \
1333 do_rel_wr = (req->cmd_flags & REQ_FUA) && in mmc_blk_data_prep()

12