Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/nvdimm/
Dpmem.c353 int nid = dev_to_node(dev), fua; in pmem_attach_disk() local
384 fua = nvdimm_has_flush(nd_region); in pmem_attach_disk()
385 if (!IS_ENABLED(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) || fua < 0) { in pmem_attach_disk()
387 fua = 0; in pmem_attach_disk()
439 blk_queue_write_cache(q, true, fua); in pmem_attach_disk()
/Linux-v4.19/Documentation/device-mapper/
Dwritecache.txt38 fua (by default on)
46 - some underlying devices perform better with fua, some
Dlog-writes.txt136 --fsck "btrfsck /dev/sdb" --check fua
/Linux-v4.19/block/
Dblk-settings.c890 void blk_queue_write_cache(struct request_queue *q, bool wc, bool fua) in blk_queue_write_cache() argument
897 if (fua) in blk_queue_write_cache()
/Linux-v4.19/drivers/scsi/aacraid/
Daachba.c1353 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
1371 writecmd2->flags = (fua && ((aac_cache & 5) != 1) && in aac_write_raw_io()
1390 writecmd->flags = (fua && ((aac_cache & 5) != 1) && in aac_write_raw_io()
1417 static int aac_write_block64(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_block64() argument
1452 static int aac_write_block(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua) in aac_write_block() argument
2525 int fua; in aac_write() local
2541 fua = 0; in aac_write()
2554 fua = scsicmd->cmnd[1] & 0x8; in aac_write()
2562 fua = scsicmd->cmnd[1] & 0x8; in aac_write()
2567 fua = scsicmd->cmnd[1] & 0x8; in aac_write()
[all …]
Daacraid.h927 int (*adapter_write)(struct fib * fib, struct scsi_cmnd * cmd, u64 lba, u32 count, int fua);
1724 #define aac_adapter_write(fib,cmd,lba,count,fua) \ argument
1725 ((fib)->dev)->a_ops.adapter_write(fib,cmd,lba,count,fua)
/Linux-v4.19/drivers/md/
Ddm-table.c1878 bool wc = false, fua = false; in dm_table_set_restrictions() local
1902 fua = true; in dm_table_set_restrictions()
1904 blk_queue_write_cache(q, wc, fua); in dm_table_set_restrictions()
Ddm-integrity.c265 bool fua; member
1216 if (unlikely(dio->fua) && likely(!bio->bi_status) && likely(!dm_integrity_failed(ic))) in do_endio_flush()
1435 dio->fua = dio->write && bio->bi_opf & REQ_FUA; in dm_integrity_map()
1436 if (unlikely(dio->fua)) { in dm_integrity_map()
Draid5.c1808 bool fua = false, sync = false, discard = false; in ops_complete_reconstruct() local
1814 fua |= test_bit(R5_WantFUA, &sh->dev[i].flags); in ops_complete_reconstruct()
1828 if (fua) in ops_complete_reconstruct()
/Linux-v4.19/drivers/ata/
Dlibata-core.c147 module_param_named(fua, libata_fua, int, 0444);
148 MODULE_PARM_DESC(fua, "FUA support (0=off [default], 1=on)");
659 int index, fua, lba48, write; in ata_rwcmd_protocol() local
661 fua = (tf->flags & ATA_TFLAG_FUA) ? 4 : 0; in ata_rwcmd_protocol()
677 cmd = ata_rw_cmds[index + fua + lba48 + write]; in ata_rwcmd_protocol()
/Linux-v4.19/drivers/scsi/
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()
/Linux-v4.19/include/linux/
Dblkdev.h1245 extern void blk_queue_write_cache(struct request_queue *q, bool enabled, bool fua);