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
GitHub <noreply@github.com>Committed on May 11 2023, 9:27 PM
Parents
rG14ba8ab97ddb: Prevent panic during concurrent snapshot rollback and zvol read
Branches
Unknown
Tags
Unknown