zfs/tests/zfs-tests/include
Ryan Moeller b0e75805ee
ZTS: Improve block_device_wait on FreeBSD
FreeBSD doesn't have an equivalent to udevadm settle, so we have been
resorting to a three second sleep to wait for device changes to take
effect.  This is far from ideal.

We are mainly waiting for volmode=geom zvols to appear in /dev, so as
a hack, reading the geom config will have the desired effect of
quiescing the geom state.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10768
2020-08-24 08:50:15 -07:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
Makefile.am Centralize variable substitution 2020-07-14 17:33:44 -07:00
blkdev.shlib ZTS: Improve block_device_wait on FreeBSD 2020-08-24 08:50:15 -07:00
commands.cfg FreeBSD: Fix `zfs jail` and add a test 2020-08-01 08:44:54 -07:00
default.cfg.in ZTS: Remove bashisms from zfs-tests.sh 2020-08-07 14:10:48 -07:00
libtest.shlib Remove dependency on sharetab file and refactor sharing logic 2020-07-13 09:19:18 -07:00
math.shlib ZTS: Make bc conditional use compatible with new BSD bc 2020-07-09 17:49:02 -07:00
properties.shlib Add zstd support to zfs 2020-08-20 10:30:06 -07:00
tunables.cfg ZTS: FreeBSD does have a l2arc.trim_ahead tunable 2020-07-31 21:18:32 -07:00
zpool_script.shlib zfs-tests: fix warnings when packaging some .shlib files 2019-05-24 14:12:14 -07:00