Home
last modified time | relevance | path

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

12

/openbmc/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
/openbmc/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()
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 Dqemu-img.c360 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 Dqemu-nbd.c603 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 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.c2403 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 Dexport.c168 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 Dcache.rst81 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 Ddm-ima.rst348 … <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 Dera.rst92 - Cache returns to writeback/writethrough mode
H A Ddm-raid.rst205 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 Dblock-common.h556 int bdrv_parse_cache_mode(const char *mode, int *flags, bool *writethrough);
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-block-bcache65 writethrough mode; reads and writes will be added to the
75 writes transparently revert to writethrough mode. Intended only
/openbmc/qemu/qapi/
H A Dblock-export.json361 # @writethrough: If true, caches are flushed after every write request
384 '*writethrough': 'bool' },
/openbmc/linux/Documentation/admin-guide/
H A Dbcache.rst23 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.

12