/linux/drivers/nvdimm/ |
A D | pmem.c | 394 int nid = dev_to_node(dev), fua; in pmem_attach_disk() local 429 fua = nvdimm_has_flush(nd_region); in pmem_attach_disk() 430 if (!IS_ENABLED(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) || fua < 0) { in pmem_attach_disk() 432 fua = 0; in pmem_attach_disk() 480 blk_queue_write_cache(q, true, fua); in pmem_attach_disk()
|
/linux/Documentation/admin-guide/device-mapper/ |
A D | writecache.rst | 43 fua (by default on) 52 - some underlying devices perform better with fua, some
|
A D | log-writes.rst | 141 --fsck "btrfsck /dev/sdb" --check fua
|
/linux/drivers/block/rnbd/ |
A D | rnbd-clt.h | 123 bool fua; member
|
A D | rnbd-clt.c | 92 dev->fua = !!(rsp->cache_policy & RNBD_FUA); in rnbd_clt_set_dev_attr() 1384 blk_queue_write_cache(dev->queue, dev->wc, dev->fua); in setup_request_queue() 1619 dev->max_hw_sectors, dev->rotational, dev->wc, dev->fua); in rnbd_clt_map_device()
|
/linux/drivers/scsi/ |
A D | sd.c | 143 bool wc = false, fua = false; in sd_set_flush_flag() local 148 fua = true; in sd_set_flush_flag() 151 blk_queue_write_cache(sdkp->disk->queue, wc, fua); in sd_set_flush_flag() 1224 unsigned char protect, fua; in sd_setup_read_write_cmnd() local 1271 fua = rq->cmd_flags & REQ_FUA ? 0x8 : 0; in sd_setup_read_write_cmnd() 1282 protect | fua); in sd_setup_read_write_cmnd() 1285 protect | fua); in sd_setup_read_write_cmnd() 1289 protect | fua); in sd_setup_read_write_cmnd() 1292 protect | fua); in sd_setup_read_write_cmnd()
|
A D | myrs.h | 590 unsigned char fua:1; /* Byte 0 Bit 0 */ member
|
A D | myrs.c | 1656 mbox->SCSI_10.control.fua = true; in myrs_queuecommand() 1702 mbox->SCSI_255.control.fua = true; in myrs_queuecommand()
|
/linux/drivers/scsi/aacraid/ |
A D | aachba.c | 1352 static int aac_write_raw_io(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_raw_io() argument 1370 writecmd2->flags = (fua && ((aac_cache & 5) != 1) && in aac_write_raw_io() 1389 writecmd->flags = (fua && ((aac_cache & 5) != 1) && in aac_write_raw_io() 1416 static int aac_write_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_block64() argument 1451 static int aac_write_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_block() argument 2513 int fua; in aac_write() local 2529 fua = 0; in aac_write() 2542 fua = scsicmd->cmnd[1] & 0x8; in aac_write() 2550 fua = scsicmd->cmnd[1] & 0x8; in aac_write() 2555 fua = scsicmd->cmnd[1] & 0x8; in aac_write() [all …]
|
A D | aacraid.h | 916 int (*adapter_write)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua); 1715 #define aac_adapter_write(fib,cmd,lba,count,fua) \ argument 1716 ((fib)->dev)->a_ops.adapter_write(fib,cmd,lba,count,fua)
|
/linux/block/ |
A D | blk-settings.c | 792 void blk_queue_write_cache(struct request_queue *q, bool wc, bool fua) in blk_queue_write_cache() argument 798 if (fua) in blk_queue_write_cache()
|
/linux/drivers/md/ |
A D | dm-table.c | 1978 bool wc = false, fua = false; in dm_table_set_restrictions() local 2009 fua = true; in dm_table_set_restrictions() 2011 blk_queue_write_cache(q, wc, fua); in dm_table_set_restrictions()
|
A D | dm-integrity.c | 300 bool fua; member 1599 if (unlikely(dio->fua) && likely(!bio->bi_status) && likely(!dm_integrity_failed(ic))) in do_endio_flush() 1883 dio->fua = dio->op == REQ_OP_WRITE && bio->bi_opf & REQ_FUA; in dm_integrity_map() 1884 if (unlikely(dio->fua)) { in dm_integrity_map()
|
A D | raid5.c | 1934 bool fua = false, sync = false, discard = false; in ops_complete_reconstruct() local 1940 fua |= test_bit(R5_WantFUA, &sh->dev[i].flags); in ops_complete_reconstruct() 1954 if (fua) in ops_complete_reconstruct()
|
/linux/drivers/ata/ |
A D | libata-core.c | 130 module_param_named(fua, libata_fua, int, 0444); 131 MODULE_PARM_DESC(fua, "FUA support (0=off [default], 1=on)"); 584 int index, fua, lba48, write; in ata_rwcmd_protocol() local 586 fua = (tf->flags & ATA_TFLAG_FUA) ? 4 : 0; in ata_rwcmd_protocol() 602 cmd = ata_rw_cmds[index + fua + lba48 + write]; in ata_rwcmd_protocol()
|
/linux/include/linux/ |
A D | blkdev.h | 721 extern void blk_queue_write_cache(struct request_queue *q, bool enabled, bool fua);
|
/linux/Documentation/block/ |
A D | queue-sysfs.rst | 61 fua (RO)
|
/linux/ |
A D | modules.builtin.modinfo | 13 …sk)libata.parmtype=ignore_hpa:intlibata.parm=fua:FUA support (0=off [default], 1=on)libata.parm…
|