mirror_zfs/tests/zfs-tests/include
Umer Saleem 9681de4657
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 <ryan@iXsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #13635
2022-08-02 16:45:30 -07:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
blkdev.shlib tests: include: use already-set $UNAME instead of shelling out to uname each time 2022-04-01 18:02:59 -07:00
commands.cfg Add Linux namespace delegation support 2022-06-10 09:51:46 -07:00
default.cfg.in Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
libtest.shlib Add snapshots_changed as property 2022-08-02 16:45:30 -07:00
math.shlib tests: include: math: simplify bc conditions, review $? 2022-04-01 17:59:24 -07:00
properties.shlib Introduce BLAKE3 checksums as an OpenZFS feature 2022-06-08 15:55:57 -07:00
tunables.cfg zvol: Support blk-mq for better performance 2022-06-09 08:10:38 -06:00
zpool_script.shlib tests: review every awk(1) invocation 2022-04-01 17:57:55 -07:00