Home
last modified time | relevance | path

Searched refs:writethrough (Results 1 – 25 of 27) sorted by relevance

12

/qemu/tests/qemu-iotests/
H A D157.out13 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 D03946 _default_cache_mode writethrough
47 _supported_cache_modes writethrough
H A D02646 _default_cache_mode writethrough
47 _supported_cache_modes writethrough none
H A D30796 name='export1', writable=True, writethrough=True,
108 name='export1', writable=True, writethrough=True,
H A D05244 _supported_cache_modes writeback writethrough unsafe
H A D22143 _supported_cache_modes writeback writethrough unsafe
H A D09150 _supported_cache_modes writethrough none writeback
H A D307.out65 …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 D142.out20 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 D051251 run_qemu -drive driver=null-co,read-zeroes=on,cache=writethrough
258 for cache in writeback writethrough unsafe invalid_value; do
H A D14279 run_qemu -drive file="$TEST_IMG",cache=writethrough
H A D051.out164 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 D051.pc.out244 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 D172.out1245 Cache mode: writethrough
/qemu/
H A Dqemu-io.c85 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 Dqemu-img.c381 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 Dqemu-nbd.c600 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 Dblockdev.c486 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 Dqemu-io-cmds.c2357 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 Dblock.c1173 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 Dexport.c168 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 Dblock-common.h554 int bdrv_parse_cache_mode(const char *mode, int *flags, bool *writethrough);
/qemu/qapi/
H A Dblock-export.json361 # @writethrough: If true, caches are flushed after every write request
384 '*writethrough': 'bool' },
/qemu/docs/tools/
H A Dqemu-nbd.rst103 ``none``, ``writeback`` (the default), ``writethrough``,
/qemu/docs/system/
H A Dqemu-block-drivers.rst.inc147 particularly interesting with :option:`cache=writethrough` which doesn't batch

12