]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: Fix zpool_reopen_001_pos
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 9 Dec 2019 19:09:14 +0000 (11:09 -0800)
committerGitHub <noreply@github.com>
Mon, 9 Dec 2019 19:09:14 +0000 (11:09 -0800)
commita25861dcae55f9bbd649cffb7b4bdad77b163206
tree965f31bf2c58e0c4d5896551778df654510ae29d
parent592791798716f5efb039ac42dfe7daa157f4eb86
ZTS: Fix zpool_reopen_001_pos

Update the vdev_disk_open() retry logic to use a specified number
of milliseconds to be more robust.  Additionally, on failure log
both the time waited and requested timeout to the internal log.

The default maximum allowed open retry time has been increased
from 500ms to 1000ms.

Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9680
module/os/linux/zfs/vdev_disk.c