[Bug 263407] RC3 Guided ZFS on root with encryption unmountable
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 263407] RC3 Guided ZFS on root with encryption unmountable"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Apr 2022 23:16:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263407 --- Comment #28 from commit-hook@FreeBSD.org --- A commit in branch releng/13.1 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=59288c719dc2af9b59e33a88f9b138c5bac38335 commit 59288c719dc2af9b59e33a88f9b138c5bac38335 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2022-04-21 19:57:24 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2022-04-24 23:15:07 +0000 stand: zfs: handle holes at the tail end correctly This mirrors dmu_read_impl(), zeroing out the tail end of the buffer and clipping the read to what's contained by the block that exists. This fixes an issue that arose during the 13.1 release process; in 13.1-RC1 and later, setting up GELI+ZFS will result in a failure to boot. The culprit is this, which causes us to fail to load geom_eli.ko as there's a residual portion after the single datablk that should be zeroed out. PR: 263407 Reviewed by: tsoome Approved by: re (gjb) (cherry picked from commit 914dc91d12198352b7878a88d30e2a6373a936e1) (cherry picked from commit 0c9c8a4c6459a8cd1b7290ae7dcd9452d3a4dbc1) stand/libsa/zfs/zfsimpl.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- You are receiving this mail because: You are on the CC list for the bug.