/openbmc/qemu/tests/qemu-iotests/ |
H A D | 157.out | 13 Cache mode: writethrough 14 Testing: cache='writethrough' wce='' 15 Cache mode: writethrough 16 Testing: cache='writethrough' wce=',write-cache=auto' 17 Cache mode: writethrough 18 Testing: cache='writethrough' wce=',write-cache=on' 20 Testing: cache='writethrough' wce=',write-cache=off' 21 Cache mode: writethrough
|
H A D | 039 | 46 _default_cache_mode writethrough 47 _supported_cache_modes writethrough
|
H A D | 026 | 46 _default_cache_mode writethrough 47 _supported_cache_modes writethrough none
|
H A D | 307 | 96 name='export1', writable=True, writethrough=True, 108 name='export1', writable=True, writethrough=True,
|
H A D | 052 | 44 _supported_cache_modes writeback writethrough unsafe
|
H A D | 221 | 43 _supported_cache_modes writeback writethrough unsafe
|
H A D | 091 | 50 _supported_cache_modes writethrough none writeback
|
H A D | 307.out | 65 …t1", "name": "export1", "node-name": "fmt", "type": "nbd", "writable": true, "writethrough": true}} 72 …t1", "name": "export1", "node-name": "fmt", "type": "nbd", "writable": true, "writethrough": true}}
|
H A D | 142.out | 20 Testing: -drive file=TEST_DIR/t.qcow2,cache=writethrough 67 Cache mode: writethrough 143 Cache mode: writethrough 295 Cache mode: writethrough, direct 533 Cache mode: writethrough 700 Cache mode: writethrough
|
H A D | 051 | 251 run_qemu -drive driver=null-co,read-zeroes=on,cache=writethrough 258 for cache in writeback writethrough unsafe invalid_value; do
|
H A D | 142 | 79 run_qemu -drive file="$TEST_IMG",cache=writethrough
|
/openbmc/qemu/ |
H A D | qemu-io.c | 85 static int openfile(char *name, int flags, bool writethrough, bool force_share, in openfile() argument 115 blk_set_enable_write_cache(qemuio_blk, !writethrough); in openfile() 171 bool writethrough = true; in open_f() local 185 writethrough = false; in open_f() 197 if (bdrv_parse_cache_mode(optarg, &flags, &writethrough) < 0) { in open_f() 255 ret = openfile(argv[optind], flags, writethrough, force_share, opts); in open_f() 257 ret = openfile(NULL, flags, writethrough, force_share, opts); in open_f() 524 bool writethrough = true; in main() local 551 writethrough = false; in main() 584 if (bdrv_parse_cache_mode(optarg, &flags, &writethrough) < 0) { in main() [all …]
|
H A D | qemu-img.c | 360 QemuOpts *opts, int flags, bool writethrough, in img_open_opts() argument 381 blk_set_enable_write_cache(blk, !writethrough); in img_open_opts() 389 bool writethrough, bool quiet, in img_open_file() argument 410 blk_set_enable_write_cache(blk, !writethrough); in img_open_file() 432 const char *fmt, int flags, bool writethrough, in img_open() argument 447 blk = img_open_opts(filename, opts, flags, writethrough, quiet, in img_open() 450 blk = img_open_file(filename, NULL, fmt, flags, writethrough, quiet, in img_open() 728 bool writethrough; in img_check() local 814 ret = bdrv_parse_cache_mode(cache, &flags, &writethrough); in img_check() 820 blk = img_open(image_opts, filename, fmt, flags, writethrough, quiet, in img_check() [all …]
|
H A D | qemu-nbd.c | 603 bool writethrough = false; /* Client will flush as needed. */ in main() local 646 if (bdrv_parse_cache_mode(optarg, &flags, &writethrough) == -1) { in main() 1137 blk_set_enable_write_cache(blk, !writethrough); in main() 1163 .writethrough = writethrough, in main()
|
H A D | blockdev.c | 486 bool writethrough, read_only; in blockdev_init() local 522 writethrough = !qemu_opt_get_bool(opts, BDRV_OPT_CACHE_WB, true); in blockdev_init() 638 blk_set_enable_write_cache(blk, !writethrough); in blockdev_init() 832 bool writethrough; in drive_new() local 834 if (bdrv_parse_cache_mode(value, &flags, &writethrough) != 0) { in drive_new() 842 !writethrough, &error_abort); in drive_new()
|
H A D | qemu-io-cmds.c | 2403 bool writethrough = !blk_enable_write_cache(blk); in reopen_f() local 2411 if (bdrv_parse_cache_mode(optarg, &flags, &writethrough) < 0) { in reopen_f() 2452 if (!writethrough != blk_enable_write_cache(blk) && in reopen_f() 2505 blk_set_enable_write_cache(blk, !writethrough); in reopen_f()
|
/openbmc/qemu/block/export/ |
H A D | export.c | 168 export->writethrough = false; in blk_exp_add() 170 blk_set_enable_write_cache(blk, !export->writethrough); in blk_exp_add()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | cache.rst | 81 The cache has three operating modes: writeback, writethrough and 88 If writethrough is selected then a write to a cached block will not 102 writethrough or writeback mode while still warm. Otherwise, the cache 192 feature args writethrough or passthrough (The default is writeback.) 206 writethrough write through caching that prohibits cache block 270 feature args 'writethrough' (optional)
|
H A D | dm-ima.rst | 348 … <cache_device> "," <cache_origin_device> "," <writethrough> "," <writeback> "," 357 writethrough := "writethrough=" <yes_no> 371 …cache_metadata_device=253:4,cache_device=253:3,cache_origin_device=253:5,writethrough=y,writeback=… 589 journal_dev_mode_str := "writethrough" | "writeback" | "invalid"
|
H A D | era.rst | 92 - Cache returns to writeback/writethrough mode
|
H A D | dm-raid.rst | 205 The journal device is used as writethrough thus causing writes to 212 (see 'journal_dev <dev>' above) to 'writethrough' or 'writeback'.
|
/openbmc/qemu/include/block/ |
H A D | block-common.h | 556 int bdrv_parse_cache_mode(const char *mode, int *flags, bool *writethrough);
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-block-bcache | 65 writethrough mode; reads and writes will be added to the 75 writes transparently revert to writethrough mode. Intended only
|
/openbmc/qemu/qapi/ |
H A D | block-export.json | 361 # @writethrough: If true, caches are flushed after every write request 384 '*writethrough': 'bool' },
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | bcache.rst | 23 Both writethrough and writeback caching are supported. Writeback defaults to 138 - For writethrough writes, if the write to the cache errors we just switch to 206 If your cache is in writethrough mode, then you can safely discard the 413 Can be one of either writethrough, writeback, writearound or none.
|