Home
last modified time | relevance | path

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

/linux/drivers/nvdimm/
A Dpmem.c394 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 Dwritecache.rst43 fua (by default on)
52 - some underlying devices perform better with fua, some
A Dlog-writes.rst141 --fsck "btrfsck /dev/sdb" --check fua
/linux/drivers/block/rnbd/
A Drnbd-clt.h123 bool fua; member
A Drnbd-clt.c92 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 Dsd.c143 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 Dmyrs.h590 unsigned char fua:1; /* Byte 0 Bit 0 */ member
A Dmyrs.c1656 mbox->SCSI_10.control.fua = true; in myrs_queuecommand()
1702 mbox->SCSI_255.control.fua = true; in myrs_queuecommand()
/linux/drivers/scsi/aacraid/
A Daachba.c1352 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 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)
/linux/block/
A Dblk-settings.c792 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 Ddm-table.c1978 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 Ddm-integrity.c300 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 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()
/linux/drivers/ata/
A Dlibata-core.c130 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 Dblkdev.h721 extern void blk_queue_write_cache(struct request_queue *q, bool enabled, bool fua);
/linux/Documentation/block/
A Dqueue-sysfs.rst61 fua (RO)
/linux/
A Dmodules.builtin.modinfo13 …sk)�libata.parmtype=ignore_hpa:int�libata.parm=fua:FUA support (0=off [default], 1=on)�libata.parm…

Completed in 91 milliseconds