HomeFreeBSD

Don't panic on unencrypted block in encrypted dataset

Description

Don't panic on unencrypted block in encrypted dataset

While 763ca47 closes the situation of block cloning creating
unencrypted records in encrypted datasets, existing data still causes
panic on read. Setting zfs_recover bypasses this but at the cost of
potentially ignoring more serious issues.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chris Peredun <chris.peredun@ixsystems.com>
Closes #15677

Details

Provenance
chrisperedun <126915832+chrisperedun@users.noreply.github.com>Authored on Dec 21 2023, 7:12 PM
GitHub <noreply@github.com>Committed on Dec 21 2023, 7:12 PM
Parents
rGeff77a802dc1: ZIL: Improve next log block size prediction
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG5a4915660c54: Don't panic on unencrypted block in encrypted dataset (authored by chrisperedun <126915832+chrisperedun@users.noreply.github.com>).Dec 21 2023, 7:12 PM