mirror_zfs/tests/zfs-tests/tests/functional/zvol
Brian Behlendorf 399159f7fb
ZTS: Fix zvol_misc_volmode test
Changing volmode may need to remove minors, which could be open, so
call udev_wait() before we "zfs set volmode=<value>".  This ensures
no udev process has the zvol open (i.e. blkid) and the kernel
zvol_remove_minor_impl() function won't skip removing the in use
device.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13075
2022-02-09 17:00:03 -08:00
..
zvol_cli ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zvol_ENOSPC ZTS: Fix a few defaults 2020-01-31 08:51:23 -08:00
zvol_misc ZTS: Fix zvol_misc_volmode test 2022-02-09 17:00:03 -08:00
zvol_swap ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
Makefile.am Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
zvol_common.shlib ZTS: Standardize use of destroy_dataset in cleanup 2021-10-25 15:13:50 -06:00
zvol.cfg Reduce size of zvol and enforce 4k blocksize in zvol tests 2017-03-01 12:58:12 -08:00