Home
last modified time | relevance | path

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

123

/openbmc/linux/Documentation/block/
H A Dwriteback_cache_control.rst36 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
/openbmc/linux/include/linux/
H A Dblk_types.h447 #define REQ_FUA (__force blk_opf_t)(1ULL << __REQ_FUA) macro
464 (REQ_NOMERGE | REQ_PREFLUSH | REQ_FUA)
491 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush()
502 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
/openbmc/linux/block/
H A Dblk-flush.c114 (rq->cmd_flags & REQ_FUA)) in blk_flush_policy()
420 rq->cmd_flags &= ~REQ_FUA; in blk_insert_flush()
H A Dblk-core.c765 bio->bi_opf &= ~(REQ_PREFLUSH | REQ_FUA); in submit_bio_noacct()
H A Dfops.c33 opf |= REQ_FUA; in dio_bio_write_op()
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-proto.h249 bio_opf |= REQ_FUA; in rnbd_to_bio_flags()
/openbmc/linux/drivers/md/
H A Ddm-integrity.c1144 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, in write_journal()
1959 dio->fua = dio->op == REQ_OP_WRITE && bio->bi_opf & REQ_FUA; in dm_integrity_map()
1965 bio->bi_opf &= ~REQ_FUA; in dm_integrity_map()
2918 rw_journal_sectors(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, in bitmap_block_work()
2964 rw_journal_sectors(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, 0, in bitmap_flush_work()
3245 r = sync_rw_sb(ic, REQ_OP_WRITE | REQ_FUA); in dm_integrity_postsuspend()
3274 rw_journal_sectors(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, 0, in dm_integrity_resume()
3279 r = sync_rw_sb(ic, REQ_OP_WRITE | REQ_FUA); in dm_integrity_resume()
3321 r = sync_rw_sb(ic, REQ_OP_WRITE | REQ_FUA); in dm_integrity_resume()
3333 r = sync_rw_sb(ic, REQ_OP_WRITE | REQ_FUA); in dm_integrity_resume()
[all …]
H A Ddm-snap-persistent.c742 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 Draid5-cache.c650 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()
1791 REQ_SYNC | REQ_FUA, false)) { in r5l_log_write_empty_meta_block()
2409 REQ_OP_WRITE | REQ_SYNC | REQ_FUA, false); in r5c_recovery_rewrite_data_only_stripes()
H A Draid5-ppl.c254 REQ_OP_WRITE | REQ_FUA); in ppl_new_iounit()
1065 REQ_FUA, false)) { in ppl_write_empty_header()
H A Ddm-writecache.c564 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 Ddm-log-writes.c653 bool fua_bio = (bio->bi_opf & REQ_FUA); in log_writes_map()
/openbmc/linux/fs/jbd2/
H A Djournal.c1104 ret = jbd2_journal_update_sb_log_tail(journal, tid, block, REQ_FUA); in __jbd2_update_log_tail()
1811 journal->j_tail, REQ_FUA); in journal_reset()
1839 write_flags &= ~(REQ_FUA | REQ_PREFLUSH); in jbd2_write_superblock()
2092 jbd2_write_superblock(journal, REQ_FUA); in jbd2_journal_update_sb_errno()
2213 jbd2_mark_journal_empty(journal, REQ_PREFLUSH | REQ_FUA); in jbd2_journal_destroy()
2510 jbd2_mark_journal_empty(journal, REQ_FUA); in jbd2_journal_flush()
2556 jbd2_mark_journal_empty(journal, REQ_FUA); in jbd2_journal_wipe()
H A Dcommit.c154 write_flags |= REQ_PREFLUSH | REQ_FUA; in journal_submit_commit_record()
/openbmc/linux/drivers/target/
H A Dtarget_core_iblock.c755 opf |= REQ_FUA; in iblock_execute_rw()
757 opf |= REQ_FUA; in iblock_execute_rw()
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Dlog-writes.rst39 Any REQ_FUA requests bypass this flushing mechanism and are logged as soon as
/openbmc/linux/drivers/nvme/target/
H A Dio-cmd-bdev.c264 opf |= REQ_FUA; in nvmet_bdev_execute_rw()
H A Dzns.c581 bio->bi_opf |= REQ_FUA; in nvmet_bdev_execute_zone_append()
/openbmc/linux/fs/gfs2/
H A Drecovery.c271 REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC); in clean_journal()
/openbmc/linux/drivers/block/
H A Dxen-blkfront.c771 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()
896 ((req->cmd_flags & REQ_FUA) && in blkif_request_flush_invalid()
2086 shadow[j].request->cmd_flags & REQ_FUA) { in blkfront_resume()
/openbmc/linux/fs/iomap/
H A Ddirect-io.c268 opflags |= REQ_FUA; in iomap_dio_bio_opflags()
/openbmc/linux/fs/exfat/
H A Dsuper.c115 __sync_dirty_buffer(sbi->boot_bh, REQ_SYNC | REQ_FUA | REQ_PREFLUSH); in exfat_set_vol_flags()
/openbmc/linux/drivers/nvdimm/
H A Dpmem.c233 if (bio->bi_opf & REQ_FUA) in pmem_submit_bio()
/openbmc/linux/drivers/md/bcache/
H A Djournal.c795 REQ_SYNC | REQ_META | REQ_PREFLUSH | REQ_FUA); in journal_write_unlocked()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-fs-f2fs419 | REQ_META | REQ_FUA |
433 | REQ_META | REQ_FUA |

123