freebsd-nq/tests/zfs-tests
George Melikov d834b9ce5b Add wait_freeing helper function to ZTS
Sometimes the ZTS checks freed space just after `zfs destroy snapshot` and
gets an unexpected value because of space being freed asynchronously.
For cases like this add a `wait_freeing` function which blocks until the
pools `freeing` property drops to zero.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Melikov <mail@gmelikov.ru>
Closes #5740
2017-02-08 15:27:37 -08:00
..
cmd codebase style improvements for OpenZFS 6459 port 2017-01-22 13:25:40 -08:00
include Add wait_freeing helper function to ZTS 2017-02-08 15:27:37 -08:00
tests Add wait_freeing helper function to ZTS 2017-02-08 15:27:37 -08:00
Makefile.am Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00