diff options
author | Umer Saleem <[email protected]> | 2022-08-03 04:45:30 +0500 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-02 16:45:30 -0700 |
commit | 9681de4657686d0ed19ca18d578513e74395f00f (patch) | |
tree | be312549168f938e61fd275b19590a7c8eccb4ae /tests/runfiles/sanity.run | |
parent | 5ad44a0ce9cb0da43005cd3d899e345617460998 (diff) |
Add snapshots_changed as property
Make dd_snap_cmtime property persistent across mount and unmount
operations by storing in ZAP and restore the value from ZAP on hold
into dd_snap_cmtime instead of updating it.
Expose dd_snap_cmtime as 'snapshots_changed' property that provides a
mechanism to quickly determine whether snapshot list for dataset has
changed without having to mount a dataset or iterate the snapshot list.
It specifies the time at which a snapshot for a dataset was last
created or deleted. This allows us to be more efficient how often we
query snapshots.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Umer Saleem <[email protected]>
Closes #13635
Diffstat (limited to 'tests/runfiles/sanity.run')
-rw-r--r-- | tests/runfiles/sanity.run | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runfiles/sanity.run b/tests/runfiles/sanity.run index f5dcfa5be..7c4667196 100644 --- a/tests/runfiles/sanity.run +++ b/tests/runfiles/sanity.run @@ -568,7 +568,8 @@ tests = ['clone_001_pos', 'rollback_001_pos', 'rollback_002_pos', 'snapshot_004_pos', 'snapshot_005_pos', 'snapshot_006_pos', 'snapshot_007_pos', 'snapshot_008_pos', 'snapshot_009_pos', 'snapshot_010_pos', 'snapshot_011_pos', 'snapshot_012_pos', - 'snapshot_013_pos', 'snapshot_014_pos', 'snapshot_017_pos'] + 'snapshot_013_pos', 'snapshot_014_pos', 'snapshot_017_pos', + 'snapshot_018_pos'] tags = ['functional', 'snapshot'] [tests/functional/snapused] |