diff options
author | Alexander Motin <[email protected]> | 2023-05-09 11:54:01 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-09 08:54:01 -0700 |
commit | b035f2b2cb9b88b1330c4b48641b8793d6460c9b (patch) | |
tree | 9af1ee0d12be67608dc6d2f5b396742aaddbd714 /module/zfs | |
parent | 6839ec6f1098c28ff7b772f1b31b832d05e6b567 (diff) |
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 <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Sponsored by: iXsystems, Inc.
Closes #14823
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/zio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 365d34832..c17ca5e1d 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; /* |