Home
last modified time | relevance | path

Searched refs:snapshot (Results 1 – 25 of 112) sorted by relevance

12345

/Linux-v5.4/Documentation/admin-guide/device-mapper/
Dsnapshot.rst2 Device-mapper snapshot support
12 - To merge a snapshot of a block device back into the snapshot's origin
19 For snapshot merge the contents of the COW storage are merged back into
24 snapshot, snapshot-origin, and snapshot-merge.
26 - snapshot-origin <origin>
30 original data will be saved in the <COW device> of each snapshot to keep
34 - snapshot <origin> <COW device> <persistent?> <chunksize>
37 A snapshot of the <origin> block device is created. Changed chunks of
41 smaller than the origin and if it fills up the snapshot will become
48 snapshot status. So supported store types are "P", "PO" and "N".
[all …]
Dera.rst16 coherency after rolling back a vendor snapshot.
50 Drop the metadata snapshot.
73 snapshot was the primary use case when developing this target:
75 Taking a vendor snapshot
80 - Take vendor snapshot (the era and snapshot should be forever
83 Rolling back to an vendor snapshot
88 - Take metadata snapshot
89 - Ascertain which blocks have been written since the snapshot was taken
Ddm-init.rst54 `snapshot` constrained, userspace should verify src/dst device
55 `snapshot-origin` allowed
56 `snapshot-merge` constrained, userspace should verify src/dst device
111 "snapshot-origin"::
113 dm-snap-orig,,4,ro,0 409600 snapshot-origin 8:2
Dzero.rst12 conjunction with dm-snapshot. A sparse device reports a device-size larger
27 Then create a snapshot of the zero device, using any available block-device as
32 echo "0 $TEN_TERABYTES snapshot /dev/mapper/zero1 /dev/sdb1 p 128" | \
Dthin-provisioning.rst182 i) Creating an internal snapshot.
186 N.B. If the origin device that you wish to snapshot is active, you
187 must suspend it before creating the snapshot to avoid corruption.
199 ii) Using an internal snapshot.
202 between the origin and the snapshot. Indeed the snapshot is no
229 i) Creating a snapshot of an external device
238 ii) Using a snapshot of an external device.
244 N.B. All descendants (internal snapshots) of this snapshot require the
365 Create a new snapshot of another thinly-provisioned device.
369 of which the new device will be a snapshot.
[all …]
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-snapshot.tc20 if [ ! -f snapshot ]; then
25 FEATURE=`grep snapshot events/sched/sched_process_fork/trigger`
32 echo 0 > snapshot
37 grep sched_process_fork snapshot > /dev/null || \
41 echo 0 > snapshot
Dtrigger-trace-marker-snapshot.tc16 if [ ! -f snapshot ]; then
55 grep -q 'Snapshot is allocated' snapshot
60 test_trace snapshot 2
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/00basic/
Dsnapshot.tc5 [ ! -f snapshot ] && exit_unsupported
11 echo 1 > snapshot
14 grep -q "Snapshot is allocated" snapshot
23 echo 1 > snapshot
/Linux-v5.4/Documentation/power/
Duserland-swsusp.rst13 utilities that will read/write the system memory snapshot from/to the
22 be read from /sys/class/misc/snapshot/dev.
45 create a snapshot of the system memory; the
48 creating the snapshot (1) or after restoring the system memory state
50 SNAPSHOT_CREATE_IMAGE ioctl() again); after the snapshot
56 uploaded snapshot image; before calling it you should transfer
57 the system memory snapshot back to the kernel using the write()
58 operation; this call will not succeed if the snapshot
62 free memory allocated for the snapshot image
116 The device's read() operation can be used to transfer the snapshot image from
[all …]
/Linux-v5.4/kernel/power/
Dswap.c531 struct snapshot_handle *snapshot, in save_image() argument
552 ret = snapshot_read_next(snapshot); in save_image()
555 ret = swap_write_page(handle, data_of(*snapshot), &hb); in save_image()
667 struct snapshot_handle *snapshot, in save_image_lzo() argument
772 ret = snapshot_read_next(snapshot); in save_image_lzo()
780 data_of(*snapshot), PAGE_SIZE); in save_image_lzo()
904 struct snapshot_handle snapshot; in swsusp_write() local
922 memset(&snapshot, 0, sizeof(struct snapshot_handle)); in swsusp_write()
923 error = snapshot_read_next(&snapshot); in swsusp_write()
930 header = (struct swsusp_info *)data_of(snapshot); in swsusp_write()
[all …]
/Linux-v5.4/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh127 check_region_snapshot_count dummy post-first-snapshot 1
131 check_region_snapshot_count dummy post-second-snapshot 2
135 check_region_snapshot_count dummy post-third-snapshot 3
137 devlink region del $DL_HANDLE/dummy snapshot 1
/Linux-v5.4/fs/nilfs2/
Dsysfs.h89 NILFS_CP_ATTR_STRUCT(snapshot);
132 NILFS_INFO_ATTR(snapshot, name)
134 NILFS_RO_ATTR(snapshot, name)
136 NILFS_RW_ATTR(snapshot, name)
/Linux-v5.4/arch/x86/events/intel/
Dbts.c56 bool snapshot; member
104 buf->snapshot = overwrite; in bts_buffer_setup_aux()
148 if (!buf->snapshot) { in bts_config_buffer()
165 ds->bts_interrupt_threshold = !buf->snapshot in bts_config_buffer()
190 if (!buf->snapshot) { in bts_update()
226 if (!buf->snapshot) in __bts_event_start()
312 if (buf->snapshot) in bts_event_stop()
370 if (buf->snapshot) in bts_buffer_reset()
470 if (buf->snapshot) in intel_bts_interrupt()
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-snapshot-action-hist.tc15 if [ ! -f snapshot ]; then
39 if ! grep -q "comm=ping" snapshot; then
Dtrigger-action-hist-xfail.tc15 if [ ! -f snapshot ]; then
/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c43 bool snapshot; member
1204 int nr_pages, void **pages, bool snapshot) in alloc_etr_buf() argument
1243 void **pages, bool snapshot) in get_perf_etr_buf_cpu_wide() argument
1279 etr_buf = alloc_etr_buf(drvdata, event, nr_pages, pages, snapshot); in get_perf_etr_buf_cpu_wide()
1307 void **pages, bool snapshot) in get_perf_etr_buf_per_thread() argument
1313 return alloc_etr_buf(drvdata, event, nr_pages, pages, snapshot); in get_perf_etr_buf_per_thread()
1318 int nr_pages, void **pages, bool snapshot) in get_perf_etr_buf() argument
1322 pages, snapshot); in get_perf_etr_buf()
1325 pages, snapshot); in get_perf_etr_buf()
1330 int nr_pages, void **pages, bool snapshot) in tmc_etr_setup_perf_buf() argument
[all …]
Dcoresight-tmc-etf.c390 buf->snapshot = overwrite; in tmc_alloc_etf_buffer()
481 if (!buf->snapshot && to_read > handle->size) { in tmc_update_etf_buffer()
505 if (!buf->snapshot && lost) in tmc_update_etf_buffer()
537 if (buf->snapshot) in tmc_update_etf_buffer()
/Linux-v5.4/tools/perf/util/
Dpmu.h43 bool snapshot; member
59 bool snapshot; member
Dpmu.c233 alias->snapshot = true; in perf_pmu__parse_snapshot()
270 old->snapshot = newalias->snapshot; in perf_pmu_update_alias()
327 alias->snapshot = false; in __perf_pmu__new_alias()
1195 (info->snapshot && alias->snapshot)) in check_info_data()
1204 if (alias->snapshot) in check_info_data()
1205 info->snapshot = alias->snapshot; in check_info_data()
1229 info->snapshot = false; in perf_pmu__check_alias()
/Linux-v5.4/Documentation/filesystems/
Dnilfs2.txt18 full. Each snapshot is mountable as a read-only file system
57 cp=n Specify the checkpoint-number of the snapshot to be
59 user command. Only the checkpoints marked as snapshot
94 checkpoint and snapshot state. This ioctl is
161 mkcp make a checkpoint or a snapshot.
162 chcp change an existing checkpoint to a snapshot or vice versa.
165 To mount a snapshot,
169 where <cno> is the checkpoint number of the snapshot.
171 To unmount the NILFS2 mount point or snapshot, simply:
/Linux-v5.4/drivers/pwm/
Dpwm-sti.c70 u32 snapshot[3]; member
368 high = ddata->snapshot[1] - ddata->snapshot[0]; in sti_pwm_capture()
369 low = ddata->snapshot[2] - ddata->snapshot[1]; in sti_pwm_capture()
440 &ddata->snapshot[ddata->index]); in sti_pwm_interrupt()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-bus-rbd12 The snapshot name can be "-" or omitted to map the image
14 device. If snapshot is used, it will be mapped read-only.
101 current_snap: (RO) The current snapshot for which the device
152 snap_id: (RO) The current snapshot's id.
/Linux-v5.4/drivers/misc/echo/
Decho.c180 ec->snapshot = kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
181 if (!ec->snapshot) in oslec_create()
217 kfree(ec->snapshot); in oslec_free()
256 memcpy(ec->snapshot, ec->fir_taps16[0], ec->taps * sizeof(int16_t)); in oslec_snapshot()
/Linux-v5.4/drivers/perf/
Darm_spe_pmu.c46 bool snapshot; member
353 if (!buf->snapshot) in arm_spe_pmu_pad_buf()
493 limit = buf->snapshot ? arm_spe_pmu_next_snapshot_off(handle) in arm_spe_perf_aux_output_begin()
514 if (buf->snapshot) in arm_spe_perf_aux_output_end()
818 int nr_pages, bool snapshot) in arm_spe_pmu_setup_aux() argument
834 if (!nr_pages || (snapshot && (nr_pages & 1))) in arm_spe_pmu_setup_aux()
856 buf->snapshot = snapshot; in arm_spe_pmu_setup_aux()
/Linux-v5.4/fs/qnx6/
DREADME2 This is a snapshot of the QNX6 filesystem for Linux.

12345