]> git.proxmox.com Git - mirror_zfs.git/commit
Don't panic on unencrypted block in encrypted dataset
authorchrisperedun <126915832+chrisperedun@users.noreply.github.com>
Thu, 21 Dec 2023 19:12:30 +0000 (14:12 -0500)
committerGitHub <noreply@github.com>
Thu, 21 Dec 2023 19:12:30 +0000 (11:12 -0800)
commit5a4915660c54e6c16ca7b4683dcf4c18a3942a5b
treeae2aa13e1ce265f32fa7542972b9ea74fedae55c
parenteff77a802dc14e91f9fba0dda1403aeb65889814
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
module/zfs/dbuf.c
module/zfs/dmu_send.c