diff options
author | Alan Somers <asomers@FreeBSD.org> | 2021-01-10 00:14:55 +0000 |
---|---|---|
committer | Alan Somers <asomers@FreeBSD.org> | 2021-01-10 00:16:38 +0000 |
commit | 19cca0b9613d7c3058e41baf0204245119732235 (patch) | |
tree | 38bde996028b41a6733276b290bea97fc4307d50 /sys/contrib/openzfs/module | |
parent | 408c514f7398c457c580465ede2107a0325126ef (diff) | |
download | src-19cca0b9613d7c3058e41baf0204245119732235.tar.gz src-19cca0b9613d7c3058e41baf0204245119732235.zip |
aio: fix the tests when ZFS is not available
Don't try to cleanup the zpool if we couldn't create a zpool in the
first place.
Submitted by: tmunro
MFC-with: 022ca2fc7fe08d51f33a1d23a9be49e6d132914e
Diffstat (limited to 'sys/contrib/openzfs/module')
-rw-r--r-- | sys/contrib/openzfs/module/zfs/vdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/contrib/openzfs/module/zfs/vdev.c b/sys/contrib/openzfs/module/zfs/vdev.c index 7ffe924212da..0b96c52669bd 100644 --- a/sys/contrib/openzfs/module/zfs/vdev.c +++ b/sys/contrib/openzfs/module/zfs/vdev.c @@ -3263,6 +3263,7 @@ vdev_load(vdev_t *vd) /* * Recursively load all children. + * TODO: parallelize. */ for (int c = 0; c < vd->vdev_children; c++) { error = vdev_load(vd->vdev_child[c]); |