zfs/tests/zfs-tests/tests/functional/cli_root/zpool_add
youzhongyang c5a388a1ef
Add delay between zpool add zvol and zpool destroy
As investigated by #14026, the zpool_add_004_pos can reliably hang if 
the timing is not right. This is caused by a race condition between 
zed doing zpool reopen (due to the zvol being added to the zpool), 
and the command zpool destroy.

This change adds a delay between zpool add zvol and zpool destroy to
avoid these issue, but does not address the underlying problem.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Youzhong Yang <yyang@mathworks.com>
Issue #14026
Closes #14052
2022-10-21 10:05:13 -07:00
..
add-o_ashift.ksh Cleanup: 64-bit kernel module parameters should use fixed width types 2022-10-13 10:03:29 -07:00
add_nested_replacing_spare.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
add_prop_ashift.ksh Cleanup: 64-bit kernel module parameters should use fixed width types 2022-10-13 10:03:29 -07:00
cleanup.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
setup.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add.cfg Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add.kshlib Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add_001_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add_002_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add_003_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add_004_pos.ksh Add delay between zpool add zvol and zpool destroy 2022-10-21 10:05:13 -07:00
zpool_add_005_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add_006_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add_007_neg.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add_008_neg.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add_009_neg.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add_010_pos.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zpool_add_dryrun_output.ksh Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00