/linux/Documentation/block/ |
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 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/include/linux/ |
A D | blk_types.h | 426 #define REQ_FUA (1ULL << __REQ_FUA) macro 443 (REQ_NOMERGE | REQ_PREFLUSH | REQ_FUA) 475 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush() 486 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
|
/linux/block/ |
A D | blk-flush.c | 109 (rq->cmd_flags & REQ_FUA)) in blk_flush_policy() 395 rq->cmd_flags &= ~REQ_FUA; in blk_insert_flush()
|
A D | fops.c | 41 op |= REQ_FUA; in dio_bio_write_op()
|
/linux/drivers/block/rnbd/ |
A D | rnbd-proto.h | 265 bio_opf |= REQ_FUA; in rnbd_to_bio_flags()
|
/linux/drivers/md/ |
A D | dm-integrity.c | 1883 dio->fua = dio->op == REQ_OP_WRITE && bio->bi_opf & REQ_FUA; in dm_integrity_map() 1889 bio->bi_opf &= ~REQ_FUA; in dm_integrity_map() 2800 rw_journal_sectors(ic, REQ_OP_WRITE, REQ_FUA | REQ_SYNC, in bitmap_block_work() 2846 rw_journal_sectors(ic, REQ_OP_WRITE, REQ_FUA | REQ_SYNC, 0, in bitmap_flush_work() 3112 r = sync_rw_sb(ic, REQ_OP_WRITE, REQ_FUA); in dm_integrity_postsuspend() 3139 rw_journal_sectors(ic, REQ_OP_WRITE, REQ_FUA | REQ_SYNC, 0, in dm_integrity_resume() 3144 r = sync_rw_sb(ic, REQ_OP_WRITE, REQ_FUA); in dm_integrity_resume() 3186 r = sync_rw_sb(ic, REQ_OP_WRITE, REQ_FUA); in dm_integrity_resume() 3198 r = sync_rw_sb(ic, REQ_OP_WRITE, REQ_FUA); in dm_integrity_resume() 3214 rw_journal_sectors(ic, REQ_OP_WRITE, REQ_FUA | REQ_SYNC, 0, in dm_integrity_resume() [all …]
|
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()
|
A D | raid5-cache.c | 647 io->split_bio->bi_opf |= REQ_FUA; in r5l_do_submit_io() 654 io->current_bio->bi_opf |= REQ_FUA; in r5l_do_submit_io() 1795 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()
|
A D | raid5-ppl.c | 468 bio->bi_opf = REQ_OP_WRITE | REQ_FUA; in ppl_submit_iounit() 1070 REQ_FUA, 0, false)) { in ppl_write_empty_header()
|
A D | dm-writecache.c | 565 req.bi_op_flags = REQ_SYNC | REQ_FUA; in ssd_commit_superblock() 1477 if (unlikely(bio->bi_opf & REQ_FUA || wc->uncommitted_blocks >= wc->autocommit_blocks)) in writecache_map_write() 1855 bio_set_op_attrs(bio, REQ_OP_WRITE, WC_MODE_FUA(wc) * REQ_FUA); in __writecache_writeback_pmem()
|
A D | dm-log-writes.c | 675 bool fua_bio = (bio->bi_opf & REQ_FUA); in log_writes_map()
|
/linux/fs/jbd2/ |
A D | journal.c | 1108 REQ_SYNC | REQ_FUA); in __jbd2_update_log_tail() 1589 REQ_SYNC | REQ_FUA); in journal_reset() 1613 write_flags &= ~(REQ_FUA | REQ_PREFLUSH); in jbd2_write_superblock() 1865 jbd2_write_superblock(journal, REQ_SYNC | REQ_FUA); in jbd2_journal_update_sb_errno() 2174 REQ_SYNC | REQ_PREFLUSH | REQ_FUA); in jbd2_journal_destroy() 2483 jbd2_mark_journal_empty(journal, REQ_SYNC | REQ_FUA); in jbd2_journal_flush() 2533 jbd2_mark_journal_empty(journal, REQ_SYNC | REQ_FUA); in jbd2_journal_wipe()
|
A D | commit.c | 157 REQ_SYNC | REQ_PREFLUSH | REQ_FUA, bh); in journal_submit_commit_record()
|
/linux/drivers/target/ |
A D | target_core_iblock.c | 743 opf |= REQ_FUA; in iblock_execute_rw() 745 opf |= REQ_FUA; in iblock_execute_rw()
|
/linux/drivers/nvme/target/ |
A D | io-cmd-bdev.c | 256 op |= REQ_FUA; in nvmet_bdev_execute_rw()
|
A D | zns.c | 565 bio->bi_opf |= REQ_FUA; in nvmet_bdev_execute_zone_append()
|
/linux/Documentation/admin-guide/device-mapper/ |
A D | log-writes.rst | 39 Any REQ_FUA requests bypass this flushing mechanism and are logged as soon as
|
/linux/drivers/block/ |
A D | xen-blkfront.c | 763 BUG_ON(req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA); in blkif_queue_rw_req() 775 if (req_op(req) == REQ_OP_FLUSH || req->cmd_flags & REQ_FUA) { in blkif_queue_rw_req() 887 ((req->cmd_flags & REQ_FUA) && in blkif_request_flush_invalid() 2087 shadow[j].request->cmd_flags & REQ_FUA) { in blkfront_resume()
|
/linux/fs/gfs2/ |
A D | recovery.c | 273 REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC); in clean_journal()
|
/linux/fs/iomap/ |
A D | direct-io.c | 218 opflags |= REQ_FUA; in iomap_dio_bio_opflags()
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-fs-f2fs | 373 | REQ_META | REQ_FUA | 387 | REQ_META | REQ_FUA |
|
/linux/drivers/nvdimm/ |
A D | pmem.c | 225 if (bio->bi_opf & REQ_FUA) in pmem_submit_bio()
|
/linux/drivers/block/null_blk/ |
A D | main.c | 1224 rq->cmd_flags & REQ_FUA); in null_handle_rq() 1251 bio->bi_opf & REQ_FUA); in null_handle_bio()
|
/linux/drivers/md/bcache/ |
A D | journal.c | 784 REQ_SYNC|REQ_META|REQ_PREFLUSH|REQ_FUA); in journal_write_unlocked()
|
/linux/include/trace/events/ |
A D | f2fs.h | 76 REQ_PREFLUSH | REQ_FUA) 91 { REQ_FUA, "FUA" })
|