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 <behlendorf1@llnl.gov>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes #14823
This commit is contained in:
Alexander Motin 2023-05-09 11:54:01 -04:00 committed by GitHub
parent 6839ec6f10
commit b035f2b2cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2341,7 +2341,7 @@ zio_nowait(zio_t *zio)
ASSERT3P(zio->io_executor, ==, NULL); ASSERT3P(zio->io_executor, ==, NULL);
if (zio->io_child_type == ZIO_CHILD_LOGICAL && if (zio->io_child_type == ZIO_CHILD_LOGICAL &&
zio_unique_parent(zio) == NULL) { list_is_empty(&zio->io_parent_list)) {
zio_t *pio; zio_t *pio;
/* /*