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
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 9 2024, 12:11 AM
Parents
rG9c40ae021996: dbuf: Set dr_data when unoverriding after clone
Branches
Unknown
Tags
Unknown