HomeFreeBSD

zil: Don't expect zio_shrink() to succeed.

Description

zil: Don't expect zio_shrink() to succeed.

At least for RAIDZ zio_shrink() does not reduce zio size, but reduced
wsz in that case likely results in writing uninitialized memory.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #14853

Details

Provenance
mavAuthored on May 11 2023, 9:27 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 2 2023, 6:17 PM
Parents
rGa727848e0514: Remove single parent assertion from zio_nowait().
Branches
Unknown
Tags
Unknown

Event Timeline