| /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 | 426 #define REQ_FUA (__force blk_opf_t)(1ULL << __REQ_FUA) macro 444 (REQ_NOMERGE | REQ_PREFLUSH | REQ_FUA) 471 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush() 482 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
|
| /linux/fs/jbd2/ |
| H A D | journal.c | 1068 ret = jbd2_journal_update_sb_log_tail(journal, tid, block, REQ_FUA); in __jbd2_update_log_tail() 1773 journal->j_tail, REQ_FUA); in journal_reset() 1801 write_flags &= ~(REQ_FUA | REQ_PREFLUSH); in jbd2_write_superblock() 2049 jbd2_write_superblock(journal, REQ_FUA); in jbd2_journal_update_sb_errno() 2164 jbd2_mark_journal_empty(journal, REQ_PREFLUSH | REQ_FUA); in jbd2_journal_destroy() 2463 jbd2_mark_journal_empty(journal, REQ_FUA); in jbd2_journal_flush() 2509 jbd2_mark_journal_empty(journal, REQ_FUA); in jbd2_journal_wipe()
|
| /linux/drivers/md/ |
| H A D | dm-integrity.c | 1135 rw_journal(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, commit_start, in write_journal() 1148 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, in write_journal() 1160 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, commit_start, to_end, &io_comp); in write_journal() 1166 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, commit_start, to_end, &io_comp); in write_journal() 1170 rw_journal(ic, REQ_OP_WRITE | REQ_FUA, 0, commit_sections - to_end, &io_comp); in write_journal() 2164 dio->fua = dio->op == REQ_OP_WRITE && bio->bi_opf & REQ_FUA; in dm_integrity_map() 2170 bio->bi_opf &= ~REQ_FUA; in dm_integrity_map() 3523 rw_journal_sectors(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, in bitmap_block_work() 3569 rw_journal_sectors(ic, REQ_OP_WRITE | REQ_FUA | REQ_SYNC, 0, in bitmap_flush_work() 3850 r = sync_rw_sb(ic, REQ_OP_WRITE | REQ_FUA); in dm_integrity_postsuspend() [all...] |
| H A D | raid5-ppl.c | 254 REQ_OP_WRITE | REQ_FUA); in ppl_new_iounit() 1061 REQ_FUA, false)) { in ppl_write_empty_header()
|
| H A D | dm-log-writes.c | 654 bool fua_bio = (bio->bi_opf & REQ_FUA); in log_writes_map()
|
| H A D | dm-clone-target.c | 424 if (!(bio->bi_opf & REQ_FUA)) { in complete_overwrite_bio()
|
| /linux/drivers/target/ |
| H A D | target_core_iblock.c | 773 opf |= REQ_FUA; in iblock_execute_rw() 775 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/fs/gfs2/ |
| H A D | recovery.c | 272 REQ_PREFLUSH | REQ_FUA | REQ_META | REQ_SYNC); in clean_journal()
|
| /linux/drivers/nvme/target/ |
| H A D | zns.c | 587 bio->bi_opf |= REQ_FUA; in nvmet_bdev_execute_zone_append()
|
| /linux/drivers/md/dm-vdo/ |
| H A D | vdo.c | 1041 REQ_OP_WRITE | REQ_PREFLUSH | REQ_FUA); in vdo_save_geometry_block() 1084 REQ_OP_WRITE | REQ_PREFLUSH | REQ_FUA); in vdo_save_super_block()
|
| /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() 2097 shadow[j].request->cmd_flags & REQ_FUA) { in blkfront_resume()
|
| /linux/drivers/nvdimm/ |
| H A D | pmem.c | 244 if ((bio->bi_opf & REQ_FUA) && !bio->bi_status) { in pmem_submit_bio()
|
| /linux/fs/iomap/ |
| H A D | direct-io.c | 499 bio_opf |= REQ_FUA; in iomap_dio_bio_iter()
|
| /linux/block/ |
| H A D | fops.c | 35 opf |= REQ_FUA; in dio_bio_write_op()
|
| H A D | blk-core.c | 859 bio->bi_opf &= ~(REQ_PREFLUSH | REQ_FUA); in submit_bio_noacct()
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_actlog.c | 139 op_flags |= REQ_FUA | REQ_PREFLUSH; in _drbd_md_sync_page_io()
|
| /linux/drivers/md/bcache/ |
| H A D | request.c | 202 bio->bi_opf &= ~(REQ_PREFLUSH|REQ_FUA); in CLOSURE_CALLBACK()
|
| /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()
|
| /linux/kernel/trace/ |
| H A D | blktrace.c | 2206 if (opf & REQ_FUA) in blk_fill_rwbs()
|
| /linux/fs/btrfs/ |
| H A D | disk-io.c | 3847 if (bio->bi_opf & REQ_FUA) in btrfs_end_super_write() 3940 bio->bi_opf |= REQ_FUA; in write_dev_supers()
|
| /linux/drivers/block/null_blk/ |
| H A D | main.c | 1310 rq->cmd_flags & REQ_FUA); in null_handle_data_transfer()
|
| /linux/fs/xfs/ |
| H A D | xfs_log.c | 1602 iclog->ic_bio.bi_opf |= REQ_FUA; in xlog_write_iclog()
|
| /linux/fs/ext4/ |
| H A D | fast_commit.c | 671 write_flags |= REQ_FUA | REQ_PREFLUSH; in ext4_fc_submit_bh()
|