From b035f2b2cb9b88b1330c4b48641b8793d6460c9b Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Tue, 9 May 2023 11:54:01 -0400 Subject: [PATCH] Remove single parent assertion from zio_nowait(). We only need to know if ZIO has any parent there. We do not care if it has more than one, but use of zio_unique_parent() == NULL asserts that. Reviewed-by: Brian Behlendorf Signed-off-by: Alexander Motin Sponsored by: iXsystems, Inc. Closes #14823 --- module/zfs/zio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 365d34832c3a..c17ca5e1d651 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -2341,7 +2341,7 @@ zio_nowait(zio_t *zio) ASSERT3P(zio->io_executor, ==, NULL); if (zio->io_child_type == ZIO_CHILD_LOGICAL && - zio_unique_parent(zio) == NULL) { + list_is_empty(&zio->io_parent_list)) { zio_t *pio; /*