diff options
author | Antonio Russo <[email protected]> | 2021-01-12 18:20:02 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-12 17:20:02 -0800 |
commit | 8752f7e320115a1deaa4672c73293879c6d5d0f1 (patch) | |
tree | b087d51f7b26b9e9b142727abd5638ad02412803 /lib | |
parent | bea3fc71ae716797088b2bcc990cdbd4fac0fa89 (diff) |
ZTS: avoid race to unmount in zfs_rollback_001
The zfs_rollback_001 test modifies files in a temporary, test dataset
repeatedly. Before each iteration, any preexisting dataset is removed,
after unmounted with umount -f, if necessary.
Add a short delay after the forced unmount, avoiding a race that can
prevent zfs destroy from succeeding, leading to a test failure.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Antonio Russo <[email protected]>
Closes #11451
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions