/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
|
H A D | 051.out | 164 Testing: -drive driver=null-co,read-zeroes=on,cache=writethrough 195 Testing: -drive file=TEST_DIR/t.qcow2,cache=writethrough,backing.file.filename=TEST_DIR/t.qcow2.bas… 200 Cache mode: writethrough
|
H A D | 051.pc.out | 244 Testing: -drive driver=null-co,read-zeroes=on,cache=writethrough 275 Testing: -drive file=TEST_DIR/t.qcow2,cache=writethrough,backing.file.filename=TEST_DIR/t.qcow2.bas… 280 Cache mode: writethrough
|
H A D | 172.out | 1245 Cache mode: writethrough
|
/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() 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() 660 if (openfile(NULL, flags, writethrough, force_share, opts)) { in main() [all …]
|
H A D | qemu-img.c | 381 blk_set_enable_write_cache(blk, !writethrough); in img_open_opts() 410 blk_set_enable_write_cache(blk, !writethrough); in img_open_file() 728 bool writethrough; in img_check() local 814 ret = bdrv_parse_cache_mode(cache, &flags, &writethrough); in img_check() 959 bool writethrough; in img_commit() local 1036 ret = bdrv_parse_cache_mode(cache, &flags, &writethrough); in img_commit() 1370 bool writethrough; in img_compare() local 2249 bool writethrough, src_writethrough, image_opts = false, in img_convert() local 3546 bool writethrough, src_writethrough; in img_rebase() local 4249 bool writethrough; in img_amend() local [all …]
|
H A D | qemu-nbd.c | 600 bool writethrough = false; /* Client will flush as needed. */ in main() local 643 if (bdrv_parse_cache_mode(optarg, &flags, &writethrough) == -1) { in main() 1134 blk_set_enable_write_cache(blk, !writethrough); in main() 1160 .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 | 2357 bool writethrough = !blk_enable_write_cache(blk); in reopen_f() local 2365 if (bdrv_parse_cache_mode(optarg, &flags, &writethrough) < 0) { in reopen_f() 2406 if (!writethrough != blk_enable_write_cache(blk) && in reopen_f() 2459 blk_set_enable_write_cache(blk, !writethrough); in reopen_f()
|
H A D | block.c | 1173 int bdrv_parse_cache_mode(const char *mode, int *flags, bool *writethrough) in bdrv_parse_cache_mode() argument 1178 *writethrough = false; in bdrv_parse_cache_mode() 1181 *writethrough = true; in bdrv_parse_cache_mode() 1184 *writethrough = false; in bdrv_parse_cache_mode() 1186 *writethrough = false; in bdrv_parse_cache_mode() 1189 *writethrough = true; in bdrv_parse_cache_mode()
|
/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()
|
/qemu/include/block/ |
H A D | block-common.h | 554 int bdrv_parse_cache_mode(const char *mode, int *flags, bool *writethrough);
|
/qemu/qapi/ |
H A D | block-export.json | 361 # @writethrough: If true, caches are flushed after every write request 384 '*writethrough': 'bool' },
|
/qemu/docs/tools/ |
H A D | qemu-nbd.rst | 103 ``none``, ``writeback`` (the default), ``writethrough``,
|
/qemu/docs/system/ |
H A D | qemu-block-drivers.rst.inc | 147 particularly interesting with :option:`cache=writethrough` which doesn't batch
|