Searched refs:checkpoint (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/pool_checkpoint/
H A Dcheckpoint_twice.ksh22 # Attempt to take a checkpoint for an already
28 # 3. Attempt to checkpoint it again (should fail).
36 log_must zpool checkpoint $TESTPOOL
37 log_mustnot zpool checkpoint $TESTPOOL
39 log_pass "Attempting to checkpoint an already checkpointed " \
H A Dcheckpoint_after_rewind.ksh22 # Ensure that we can checkpoint a pool that we just rewound.
27 # 3. Take checkpoint
29 # 5. Rewind to checkpoint
30 # 6. Verify that the data before the checkpoint are present
31 # and the data after the checkpoint is gone
32 # 7. Take another checkpoint
43 log_must zpool checkpoint $TESTPOOL
47 log_must zpool import --rewind-to-checkpoint $TESTPOOL
50 log_must zpool checkpoint $TESTPOOL
H A Dcheckpoint_discard.ksh22 # Ensure that we can discard the checkpoint from a pool.
27 # 3. Take checkpoint
29 # 5. Discard checkpoint
41 log_must zpool checkpoint $TESTPOOL
45 log_must zpool checkpoint -d $TESTPOOL
48 log_mustnot zpool import --rewind-to-checkpoint $TESTPOOL
53 log_pass "Discard checkpoint from pool."
H A Dcheckpoint_rewind.ksh27 # 3. Take checkpoint
29 # 5. Rewind to checkpoint
30 # 6. Verify that the data before the checkpoint are present
31 # and the data after the checkpoint is gone.
40 log_must zpool checkpoint $TESTPOOL
45 log_must zpool import --rewind-to-checkpoint $TESTPOOL
H A Dcheckpoint_discard_many.ksh22 # Take a checkpoint and discard checkpointed data twice. The
28 # 2. Populate it and then take a checkpoint
29 # 3. Do some changes afterwards, and then discard checkpoint
39 log_must zpool checkpoint $TESTPOOL
41 log_must zpool checkpoint -d $TESTPOOL
46 log_must zpool checkpoint $TESTPOOL
49 log_must zpool checkpoint -d $TESTPOOL
H A Dcheckpoint_big_rewind.ksh22 # Rewind to checkpoint on a stressed pool. We basically try to
23 # fragment the pool before and after taking a checkpoint and
25 # blocks from the checkpoint have been reused.
29 # 2. Take checkpoint
33 # 5. Rewind to checkpoint
42 log_must zpool checkpoint $NESTEDPOOL
53 log_must zpool import -d $FILEDISKDIR --rewind-to-checkpoint $NESTEDPOOL
58 log_pass "Rewind to checkpoint on a stressed pool."
H A Dcheckpoint_vdev_add.ksh23 # checkpoint but in the case of a rewind that device does
29 # 3. Take checkpoint
32 # 5. Rewind to checkpoint
44 log_must zpool checkpoint $TESTPOOL
54 log_must zpool import --rewind-to-checkpoint $TESTPOOL
H A Dcheckpoint_ro_rewind.ksh28 # 3. Take checkpoint
44 log_must zpool checkpoint $TESTPOOL
48 log_must zpool import -o readonly=on --rewind-to-checkpoint $TESTPOOL
H A Dcheckpoint_invalid.ksh22 # Try each 'zpool checkpoint' and relevant 'zpool import' with
26 # does not have a checkpoint
56 # Trying all checkpoint args with all invalid targets
62 log_mustnot zpool checkpoint ${all_args[j]} \
71 # If the pool does not have a checkpoint, -d nor import rewind
74 log_mustnot zpool checkpoint -d $non_checkpointed
76 log_mustnot zpool import --rewind-to-checkpoint $non_checkpointed
79 log_pass "Badly formed checkpoint related commands with " \
H A Dcheckpoint_discard_busy.ksh22 # Discard checkpoint on a stressed pool. Ensure that we can
24 # operations that have to do with the checkpoint or change the
29 # 2. Take checkpoint
31 # 4. Start discarding checkpoint
32 # 5. Export pool while discarding checkpoint
35 # 8. Attempt to run checkpoint commands, or commands that
64 # discarding the checkpoint for a long time as with
65 # the current setup the checkpoint space maps should
74 log_must zpool checkpoint $NESTEDPOOL
78 log_must zpool checkpoint
[all...]
H A Dcheckpoint_indirect.ksh22 # Ensure that checkpoint plays well with indirect mappings
28 # 3. Take checkpoint
49 log_must zpool checkpoint $NESTEDPOOL
59 log_pass "Running correctly on indirect setups with a checkpoint."
H A Dcheckpoint_open.ksh27 # 3. Take checkpoint
40 log_must zpool checkpoint $TESTPOOL
H A Dcheckpoint_zhack_feat.ksh28 # 3. Take checkpoint
35 # can rewind to the checkpoint (before the feature was
53 log_must zpool checkpoint $TESTPOOL
62 log_must zpool import --rewind-to-checkpoint $TESTPOOL
66 log_pass "Rewind to checkpoint from unsupported pool feature."
H A Dcheckpoint_zdb.ksh22 # Ensure that checkpoint verification within zdb works as
28 # 3. Take checkpoint
30 # 5. Verify zdb finds checkpoint when run on current state
35 # 8. Import pool and discard checkpoint
36 # 9. Verify zdb does not find the checkpoint anymore in the
57 log_must zpool checkpoint $TESTPOOL
75 log_must zpool checkpoint -d $TESTPOOL
H A Dcheckpoint_conf_change.ksh23 # it has a checkpoint.
26 # 1. Create pool and take checkpoint
36 log_must zpool checkpoint $TESTPOOL
43 log_pass "Cannot change pool's config when pool has checkpoint."
H A Dcheckpoint_removal.ksh22 # Attempt to take a checkpoint while a removal is
29 # time window to attempt the checkpoint while the
34 # 5. Attempt to checkpoint (attempt should fail)
41 log_mustnot zpool checkpoint $TESTPOOL
67 # Remove disk and attempt to take checkpoint
72 log_pass "Attempting to checkpoint during removal fails as expected."
H A Dcheckpoint_lun_expsz.ksh23 # checkpoint but in the case of a rewind that device rewinds
29 # 3. Take checkpoint
32 # 5. Rewind to checkpoint
46 log_must zpool checkpoint $NESTEDPOOL
57 log_must zpool import -d $FILEDISKDIR --rewind-to-checkpoint $NESTEDPOOL
H A Dcheckpoint_capacity.ksh25 # into account the space used by the checkpoint when deciding
35 # in ZFS as they are part of the checkpoint.
68 log_must zpool checkpoint $NESTEDPOOL
86 log_must zpool import -d $FILEDISKDIR --rewind-to-checkpoint $NESTEDPOOL
H A Dcheckpoint_sm_scale.ksh26 # Since a vdev-wide space map is introduced for the checkpoint
27 # we want to ensure that we cannot checkpoint a pool that does
39 # ensure that has the checkpoint feature
41 # 2. Ensure that you can checkpoint it
45 # 4. Ensure we fail trying to checkpoint it
48 # This test used to create the two pools and attempt to checkpoint
83 log_must zpool checkpoint $TESTPOOL1
88 log_mustnot zpool checkpoint $TESTPOOL2
91 log_pass "Fail to checkpoint pool with old spacemap encoding" \
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/
H A Dzpool_wait_discard.ksh22 # 'zpool wait' works when waiting for checkpoint discard to complete.
28 # checkpoint.
29 # 4. Discard the checkpoint using the '-w' flag.
50 log_must zpool checkpoint $TESTPOOL
52 # Make sure bulk of space is unique to checkpoint
58 log_bkgrnd zpool checkpoint -dw $TESTPOOL
65 log_must zpool checkpoint -d $TESTPOOL
87 log_pass "'zpool wait -t discard' and 'zpool checkpoint -dw' work."
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLostDebugLocObserver.h34 /// to see if any have been lost since the last checkpoint. When
35 /// CheckDebugLocs is false, it will just reset ready for the next checkpoint
38 void checkpoint(bool CheckDebugLocs = true);
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/
H A Dmmp_on_zdb.ksh31 # 4. Create a checkpoint
33 # 6. Discard the checkpoint
63 log_must zpool checkpoint $TESTPOOL
68 log_must zpool checkpoint -d $TESTPOOL
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/raidz/
H A Draidz_expand_003_neg.ksh32 # is in checkpointed state. If checkpoint creation requested on
38 # 2. Create pool and checkpoint it.
42 # 6. Ensure, that checkpoint cannot be created.
79 # case 1: checkpoint exist, try to expand
82 log_must zpool checkpoint $pool
87 # case 2: expansion in progress, try to checkpoint
90 # expansion is still in progress when we attempt the checkpoint
99 log_mustnot zpool checkpoint $pool
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dspa_checkpoint.c29 * A storage pool checkpoint can be thought of as a pool-wide snapshot or
35 * zpool on-disk features. If a pool has a checkpoint that is no longer
41 * flag is set to active when we create the checkpoint and remains active
42 * until the checkpoint is fully discarded. The entry in the MOS config
44 * references the state of the pool when we take the checkpoint. The entry
45 * remains populated until we start discarding the checkpoint or we rewind
48 * - Each vdev contains a vdev-wide space map while the pool has a checkpoint,
49 * which persists until the checkpoint is fully discarded. The space map
51 * but we want to keep around in case we decide to rewind to the checkpoint.
55 * checkpoint, wit
486 uberblock_t checkpoint = spa->spa_ubsync; local
[all...]
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlanStack.h45 void RestoreCompletedPlanCheckpoint(size_t checkpoint);
47 void DiscardCompletedPlanCheckpoint(size_t checkpoint);

Completed in 216 milliseconds

12