Home
last modified time | relevance | path

Searched refs:fua (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/nvdimm/
Dpmem.c376 int nid = dev_to_node(dev), fua; in pmem_attach_disk() local
412 fua = nvdimm_has_flush(nd_region); in pmem_attach_disk()
413 if (!IS_ENABLED(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) || fua < 0) { in pmem_attach_disk()
415 fua = 0; in pmem_attach_disk()
464 blk_queue_write_cache(q, true, fua); in pmem_attach_disk()
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Dwritecache.rst45 fua (by default on)
54 - some underlying devices perform better with fua, some
Dlog-writes.rst141 --fsck "btrfsck /dev/sdb" --check fua
/kernel/linux/linux-5.10/drivers/scsi/
Dsd.c144 bool wc = false, fua = false; in sd_set_flush_flag() local
149 fua = true; in sd_set_flush_flag()
152 blk_queue_write_cache(sdkp->disk->queue, wc, fua); in sd_set_flush_flag()
1226 unsigned char protect, fua; in sd_setup_read_write_cmnd() local
1273 fua = rq->cmd_flags & REQ_FUA ? 0x8 : 0; in sd_setup_read_write_cmnd()
1284 protect | fua); in sd_setup_read_write_cmnd()
1287 protect | fua); in sd_setup_read_write_cmnd()
1291 protect | fua); in sd_setup_read_write_cmnd()
1294 protect | fua); in sd_setup_read_write_cmnd()
Dmyrs.h590 unsigned char fua:1; /* Byte 0 Bit 0 */ member
Dmyrs.c1658 mbox->SCSI_10.control.fua = true; in myrs_queuecommand()
1704 mbox->SCSI_255.control.fua = true; in myrs_queuecommand()
/kernel/linux/linux-5.10/block/
Dblk-settings.c782 void blk_queue_write_cache(struct request_queue *q, bool wc, bool fua) in blk_queue_write_cache() argument
788 if (fua) in blk_queue_write_cache()
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
Daachba.c1343 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
1361 writecmd2->flags = (fua && ((aac_cache & 5) != 1) && in aac_write_raw_io()
1380 writecmd->flags = (fua && ((aac_cache & 5) != 1) && in aac_write_raw_io()
1407 static int aac_write_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_block64() argument
1442 static int aac_write_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_block() argument
2514 int fua; in aac_write() local
2530 fua = 0; in aac_write()
2543 fua = scsicmd->cmnd[1] & 0x8; in aac_write()
2551 fua = scsicmd->cmnd[1] & 0x8; in aac_write()
2556 fua = scsicmd->cmnd[1] & 0x8; in aac_write()
[all …]
Daacraid.h916 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)
/kernel/linux/linux-5.10/drivers/md/
Ddm-table.c1798 bool wc = false, fua = false; in dm_table_set_restrictions() local
1828 fua = true; in dm_table_set_restrictions()
1830 blk_queue_write_cache(q, wc, fua); in dm_table_set_restrictions()
Ddm-integrity.c291 bool fua; member
1497 if (unlikely(dio->fua) && likely(!bio->bi_status) && likely(!dm_integrity_failed(ic))) in do_endio_flush()
1768 dio->fua = dio->op == REQ_OP_WRITE && bio->bi_opf & REQ_FUA; in dm_integrity_map()
1769 if (unlikely(dio->fua)) { in dm_integrity_map()
Draid5.c1934 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()
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-core.c130 module_param_named(fua, libata_fua, int, 0444);
131 MODULE_PARM_DESC(fua, "FUA support (0=off [default], 1=on)");
578 int index, fua, lba48, write; in ata_rwcmd_protocol() local
580 fua = (tf->flags & ATA_TFLAG_FUA) ? 4 : 0; in ata_rwcmd_protocol()
596 cmd = ata_rw_cmds[index + fua + lba48 + write]; in ata_rwcmd_protocol()
/kernel/linux/linux-5.10/Documentation/block/
Dqueue-sysfs.rst60 fua (RO)
/kernel/linux/linux-5.10/include/linux/
Dblkdev.h1195 extern void blk_queue_write_cache(struct request_queue *q, bool enabled, bool fua);