From 19cca0b9613d7c3058e41baf0204245119732235 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sat, 9 Jan 2021 17:14:55 -0700 Subject: 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 --- sys/contrib/openzfs/module/zfs/vdev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') 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]); -- cgit v1.2.3