Home
last modified time | relevance | path

Searched +full:data +full:- +full:mirror (Results 1 – 25 of 511) sorted by relevance

12345678910>>...21

/openbmc/qemu/tests/qemu-iotests/
H A D218.out2 === Cancel mirror job before convergence ===
4 --- force=false ---
8 {"data": {"device": "mirror", "len": 1048576, "offset": 65536, "speed": 65536, "type": "mirror"}, "…
10 --- force=true ---
14 {"data": {"device": "mirror", "len": 1048576, "offset": 65536, "speed": 65536, "type": "mirror"}, "…
16 === Cancel mirror job after convergence ===
18 --- force=false ---
20 {"data": {"device": "mirror", "len": 1048576, "offset": 1048576, "speed": 0, "type": "mirror"}, "ev…
23 {"data": {"device": "mirror", "len": 1048576, "offset": 1048576, "speed": 0, "type": "mirror"}, "ev…
25 --- force=true ---
[all …]
H A D127.out9 { 'execute': 'drive-mirror',
11 'job-id': 'mirror',
17 …oseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "mirror"…
18 …oseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "mirror"…
20 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready", "id": "mirror"}}
21 …P}, "event": "BLOCK_JOB_READY", "data": {"device": "mirror", "len": 65536, "offset": 65536, "speed…
22 { 'execute': 'block-job-complete',
23 'arguments': { 'device': 'mirror' } }
25 …oseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "mirror"…
26 …oseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "mirror"…
[all …]
H A D109.out9 {'execute':'drive-mirror', 'arguments':{
15 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "creat…
16 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "runni…
18 …s": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_ERROR", "data": {"device": "src",…
19 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "abort…
20 …MP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "src", "len": LEN, "offset": 0, "speed": 0…
21 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concl…
22 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null"…
23 {"execute":"query-block-jobs"}
26 …P, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-
[all …]
H A D04130 target_backing_img = os.path.join(iotests.test_dir, 'target-backing.img')
44 qmp_cmd = 'drive-mirror'
49 qemu_img('create', '-f', iotests.imgfmt,
50 '-o', 'backing_file=%s' % backing_img, '-F', 'raw', test_img)
51 self.vm = iotests.VM().add_drive(test_img, "node-name=top,backing.node-name=base")
72 result = self.vm.qmp('query-block')
85 result = self.vm.qmp('query-block')
95 result = self.vm.qmp('query-block')
109 result = self.vm.qmp('query-block-jobs')
113 result = self.vm.qmp('query-block-jobs')
[all …]
H A D194.out2 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0"}}
7 Starting `drive-mirror` on source...
9 Waiting for `drive-mirror` to complete...
10 {"data": {"device": "mirror-job0", "len": 1073741824, "offset": 1073741824, "speed": 0, "type": "mi…
13 {"execute": "migrate-start-postcopy", "arguments": {}}
15 {"data": {"status": "setup"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "seconds…
16 {"data": {"status": "active"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "second…
17 {"data": {"status": "completed"}, "event": "MIGRATION", "timestamp": {"microseconds": "USECS", "sec…
18 Gracefully ending the `drive-mirror` job on source...
20 {"data": {"device": "mirror-job0", "len": 1073741824, "offset": 1073741824, "speed": 0, "type": "mi…
[all …]
H A D185.out11 { 'execute': 'blockdev-snapshot-sync',
13 'snapshot-file': 'TEST_DIR/t.IMGFMT.mid',
15 'mode': 'absolute-paths' } }
18 { 'execute': 'human-monitor-command',
19 'arguments': { 'command-line':
20 'qemu-io disk "write 0 4M"' } }
24 { 'execute': 'blockdev-snapshot-sync',
26 'snapshot-file': 'TEST_DIR/t.IMGFMT',
28 'mode': 'absolute-paths' } }
34 { 'execute': 'block-commit',
[all …]
H A D19421 # Non-shared storage migration test using NBD server and drive-mirror
36 iotests.qemu_img_create('-f', iotests.imgfmt, source_img_path, img_size)
37 iotests.qemu_img_create('-f', iotests.imgfmt, dest_img_path, img_size)
46 source_vm.qmp_log('block-dirty-bitmap-add', node='drive0', name='bitmap0')
49 …iotests.log(dest_vm.qmp('nbd-server-start', addr={'type': 'unix', 'data': {'path': nbd_sock_path}}…
50 iotests.log(dest_vm.qmp('nbd-server-add', device='drive0', writable=True))
52 iotests.log('Starting `drive-mirror` on source...')
54 'drive-mirror',
60 job_id='mirror-job0'))
62 iotests.log('Waiting for `drive-mirror` to complete...')
[all …]
H A D219.out4 Starting block job: drive-mirror (auto-finalize: True; auto-dismiss: True)
6 {"return": [{"current-progress": "FILTERED", "id": "job0", "status": "running", "total-progress": "…
7 {"data": {"id": "job0", "status": "created"}, "event": "JOB_STATUS_CHANGE", "timestamp": {"microsec…
8 {"data": {"id": "job0", "status": "running"}, "event": "JOB_STATUS_CHANGE", "timestamp": {"microsec…
11 === Testing block-job-pause/block-job-resume ===
13 {"data": {"id": "job0", "status": "paused"}, "event": "JOB_STATUS_CHANGE", "timestamp": {"microseco…
14 {"return": [{"current-progress": 65536, "id": "job0", "status": "paused", "total-progress": 4194304…
16 {"data": {"id": "job0", "status": "running"}, "event": "JOB_STATUS_CHANGE", "timestamp": {"microsec…
17 {"return": [{"current-progress": 131072, "id": "job0", "status": "running", "total-progress": 41943…
18 === Testing block-job-pause/job-resume ===
[all …]
H A D094.out6 {'execute': 'drive-mirror',
12 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "creat…
13 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "runni…
15 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready…
16 …}, "event": "BLOCK_JOB_READY", "data": {"device": "src", "len": 67108864, "offset": 67108864, "spe…
17 {'execute': 'block-job-complete',
20 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiti…
21 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pendi…
22 …event": "BLOCK_JOB_COMPLETED", "data": {"device": "src", "len": 67108864, "offset": 67108864, "spe…
24 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concl…
[all …]
H A D229.out9 === Starting drive-mirror, causing error & stop ===
11 {'execute': 'drive-mirror',
17 'on-source-error': 'stop',
18 'on-target-error': 'stop' }}
19 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "creat…
20 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "runni…
22 …s": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_ERROR", "data": {"device": "testd…
23 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pause…
27 {'execute': 'block-job-cancel',
30 …: TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "runni…
[all …]
H A D141.out1 Creating bottom <- middle <- top backing file chain...
3 === Testing drive-backup ===
4 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename"…
6 …execute": "drive-backup", "arguments": {"device": "drv0", "format": "IMGFMT", "job-id": "job0", "s…
8 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}}
10 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
12 {"data": {"device": "job0", "len": 1048576, "offset": 0, "speed": 0, "type": "backup"}, "event": "B…
13 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}}
16 === Testing drive-mirror ===
17 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename"…
[all …]
/openbmc/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2014, Primary Data, Inc. All rights reserved.
49 struct nfs4_ff_layout_mirror *mirror);
58 pnfs_init_ds_commit_info(&ffl->commit_info); in ff_layout_alloc_layout_hdr()
59 INIT_LIST_HEAD(&ffl->error_list); in ff_layout_alloc_layout_hdr()
60 INIT_LIST_HEAD(&ffl->mirrors); in ff_layout_alloc_layout_hdr()
61 ffl->last_report_time = ktime_get(); in ff_layout_alloc_layout_hdr()
62 ffl->commit_info.ops = &ff_layout_commit_ops; in ff_layout_alloc_layout_hdr()
63 return &ffl->generic_hdr; in ff_layout_alloc_layout_hdr()
74 list_for_each_entry_safe(err, n, &ffl->error_list, list) { in ff_layout_free_layout_hdr()
[all …]
H A Dflexfilelayoutdev.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2014, Primary Data, Inc. All rights reserved.
29 nfs4_put_deviceid_node(&mirror_ds->id_node); in nfs4_ff_layout_put_deviceid()
34 nfs4_print_deviceid(&mirror_ds->id_node.deviceid); in nfs4_ff_layout_free_deviceid()
35 nfs4_pnfs_ds_put(mirror_ds->ds); in nfs4_ff_layout_free_deviceid()
36 kfree(mirror_ds->ds_versions); in nfs4_ff_layout_free_deviceid()
40 /* Decode opaque device data and construct new_ds using it */
55 int i, ret = -ENOMEM; in nfs4_ff_alloc_deviceid_node()
66 nfs4_init_deviceid_node(&new_ds->id_node, in nfs4_ff_alloc_deviceid_node()
68 &pdev->dev_id); in nfs4_ff_alloc_deviceid_node()
[all …]
H A Dflexfilelayout.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * NFSv4 flexfile layout driver data structures.
5 * Copyright (c) 2014, Primary Data, Inc. All rights reserved.
20 /* XXX: Let's filter out insanely large mirror count for now to avoid oom
45 struct list_head list; /* linked in mirror error_list */
146 if (idx < fls->mirror_array_cnt) in FF_LAYOUT_COMP()
147 return fls->mirror_array[idx]; in FF_LAYOUT_COMP()
154 struct nfs4_ff_layout_mirror *mirror = FF_LAYOUT_COMP(lseg, idx); in FF_LAYOUT_DEVID_NODE() local
156 if (mirror != NULL) { in FF_LAYOUT_DEVID_NODE()
157 struct nfs4_ff_layout_ds *mirror_ds = mirror->mirror_ds; in FF_LAYOUT_DEVID_NODE()
[all …]
/openbmc/qemu/hw/vfio/
H A Dpci-quirks.c4 * Copyright Red Hat, Inc. 2012-2015
10 * the COPYING file in the top-level directory.
18 #include "qemu/error-report.h"
19 #include "qemu/main-loop.h"
26 #include "hw/qdev-properties.h"
56 trace_vfio_quirk_rom_in_denylist(vdev->vbasedev.name, in vfio_opt_rom_in_denylist()
70 * The generic window quirks operate on an address and data register,
72 * vfio_generic_window_data_quirk handles the data register. These ops
74 * stored address match/mask is written. When this occurs, the data
108 VFIOPCIDevice *vdev = window->vdev; in vfio_generic_window_quirk_address_read()
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dmirror-ready-cancel-error4 # Test what happens when errors occur to a mirror job after it has
33 def setUp(self) -> None:
34 iotests.qemu_img_create('-f', iotests.imgfmt, source, str(image_size))
35 iotests.qemu_img_create('-f', iotests.imgfmt, target, str(image_size))
37 # Ensure that mirror will copy something before READY so the
38 # target format layer will forward the pre-READY flush to its
40 iotests.qemu_io('-c', 'write -P 1 0 64k', source)
45 def tearDown(self) -> None:
50 def add_blockdevs(self, once: bool) -> None:
51 self.vm.cmd('blockdev-add',
[all …]
H A Dnbd-tls-iothread.out1 QA output created by nbd-tls-iothread
25 {"execute": "nbd-server-start", "arguments":
26 {"addr": {"type": "inet", "data": {"host": "127.0.0.1", "port": PORT}},
27 "tls-creds": "tls0"}}
29 {"execute": "block-export-add", "arguments":
30 {"node-name": "drive_image1", "type": "nbd", "writable": true,
34 === Src VM: Mirror to dst NBD for outgoing storage migration ===
36 {"execute": "blockdev-add", "arguments":
37 {"node-name": "mirror", "driver": "nbd",
39 "export": "drive_image1", "tls-creds": "tls0",
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dbuildoptions.py4 # SPDX-License-Identifier: MIT
14 from oeqa.core.decorator.data import skipIfMachine
25 bitbake("-c clean core-image-minimal")
27 self.append_config('IMAGE_FEATURES += "ssh-server-openssh"')
28 bitbake("core-image-minimal")
29 … log_data_file = os.path.join(get_bb_var("WORKDIR", "core-image-minimal"), "temp/log.do_rootfs")
31 …incremental_created = re.search(r"Installing\s*:\s*packagegroup-core-ssh-openssh", log_data_create…
32 self.remove_config('IMAGE_FEATURES += "ssh-server-openssh"')
34 bitbake("core-image-minimal")
36 … incremental_removed = re.search(r"Erasing\s*:\s*packagegroup-core-ssh-openssh", log_data_removed)
[all …]
/openbmc/qemu/docs/interop/
H A Dlive-block-operations.rst5 later. See the COPYING file in the top-level directory.
14 live block device jobs -- stream, commit, mirror, and backup. These can
16 namely: live copy data from backing files into overlays; shorten long
17 disk image chains by merging data from overlays into backing files; live
18 synchronize data from a disk image chain (including current active disk)
19 to another target image; and point-in-time (and incremental) backups of
21 primitives, and some (non-exhaustive list of) examples to illustrate
25 The file ``qapi/block-core.json`` in the QEMU source tree has the
35 ---------------------------------
38 ``blockdev-snapshot-sync``, or offline via ``qemu-img``)::
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dhmm-tests.c1 // SPDX-License-Identifier: GPL-2.0
4 * the linux kernel to help device drivers mirror a process address space in
6 * makes communication and data exchange a lot easier.
39 void *mirror; member
58 #define ALIGN(x, a) (((x) + (a - 1)) & (~((a) - 1)))
136 self->page_size = sysconf(_SC_PAGE_SIZE); in FIXTURE_SETUP()
137 self->page_shift = ffs(self->page_size) - 1; in FIXTURE_SETUP()
139 self->fd = hmm_open(variant->device_number); in FIXTURE_SETUP()
140 if (self->fd < 0 && hmm_is_coherent_type(variant->device_number)) in FIXTURE_SETUP()
142 ASSERT_GE(self->fd, 0); in FIXTURE_SETUP()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-raid1.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.
9 #include "dm-bio-record.h"
17 #include <linux/device-mapper.h>
18 #include <linux/dm-io.h>
19 #include <linux/dm-dirty-log.h>
20 #include <linux/dm-kcopyd.h>
21 #include <linux/dm-region-hash.h>
33 #define errors_handled(p) ((p)->features & DM_RAID1_HANDLE_ERRORS)
34 #define keep_log(p) ((p)->features & DM_RAID1_KEEP_LOG)
[all …]
/openbmc/openbmc/poky/meta/classes/
H A Darchiver.bbclass4 # SPDX-License-Identifier: MIT
12 # 4) source mirror: ARCHIVER_MODE[src] = "mirror"
16 # ARCHIVER_MODE[diff-exclude] ?= ".pc autom4te.cache patches"
17 # 6) The environment data, similar to 'bitbake -e recipe':
29 # 11) The source mirror mode:
30 # ARCHIVER_MODE[mirror] = "split" (default): Sources are split into
31 # per-recipe directories in a similar way to other archiver modes.
32 # Post-processing may be required to produce a single mirror directory.
35 # ARCHIVER_MODE[mirror] = "combined": All sources are placed into a single
36 # directory suitable for direct use as a mirror. Duplicate sources are
[all …]
/openbmc/openbmc/meta-phosphor/conf/distro/include/
H A Dphosphor-base.inc1 require conf/distro/include/phosphor-defaults.inc
6 DISTROOVERRIDES .= ":openbmc-phosphor"
11 bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
12 cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
13 git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
14 gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
15 hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
16 osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
17 p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
18 svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
[all …]
/openbmc/linux/drivers/video/fbdev/omap/
H A Dlcd_dma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/lcd_dma.c
5 * Extracted from arch/arm/plat-omap/dma.c
6 * Copyright (C) 2003 - 2008 Nokia Corporation
11 * OMAP2/3 support Copyright (C) 2004-2007 Texas Instruments, Inc.
13 * Some functions based on earlier dma-omap.c Copyright (C) 2001 RidgeRun, Inc.
16 * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com>
26 #include <linux/omap-dma.h>
28 #include <linux/soc/ti/omap1-soc.h>
29 #include <linux/soc/ti/omap1-io.h>
[all …]
/openbmc/qemu/hw/display/
H A Dssd0303.c4 * Copyright (c) 2006-2007 CodeSourcery.
59 int mirror; member
75 static int ssd0303_send(I2CSlave *i2c, uint8_t data) in ssd0303_send() argument
80 switch (s->mode) { in ssd0303_send()
82 DPRINTF("byte 0x%02x\n", data); in ssd0303_send()
83 if (data == 0x80) in ssd0303_send()
84 s->mode = SSD0303_CMD; in ssd0303_send()
85 else if (data == 0x40) in ssd0303_send()
86 s->mode = SSD0303_DATA; in ssd0303_send()
88 BADF("Unexpected byte 0x%x\n", data); in ssd0303_send()
[all …]

12345678910>>...21