diff options
author | Ryan Moeller <[email protected]> | 2020-08-24 11:50:15 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-24 08:50:15 -0700 |
commit | b0e75805eefcb09186010afc8d27748e60f80329 (patch) | |
tree | 858a4dd90737497386fdec304a7b9a0588d54508 /lib | |
parent | 07ce8961e52bc9c4f9f978357551c507239a7410 (diff) |
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 <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10768
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions