Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Nov 2025 16:03:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 289690] dynamic_gang_header is not supported by current loader
Message-ID:  <bug-289690-227-2FcDYYzPg3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-289690-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289690

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=4d6801a6b5bdd4d055a00484a743cb4ada659669

commit 4d6801a6b5bdd4d055a00484a743cb4ada659669
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-11-06 16:00:50 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-11-06 16:02:33 +0000

    stand: Teach the zfs loader about dynamic gang headers

    There is a pool feature, dynamic_gang_header, that is enabled by default
    in new pools.  When this feature is active, gang headers may be larger
    than 512 bytes.  The loader needs to be taught to cope with that.

    Try using the vdev ashift to pick the gang block header size.  If the
    checksum fails, fall back to the old gang block header size.

    This is based on a patch by Paul Dagnelie, with testing, bug-fixing and
    some simplifications from me.

    PR:             289690
    Co-authored by: Paul Dagnelie <paul.dagnelie@klarasystems.com>
    Reviewed by:    imp
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D53578

 stand/libsa/zfs/zfsimpl.c   | 67 ++++++++++++++++++++++++++++++++++++---------
 sys/cddl/boot/zfs/zfsimpl.h | 15 ++--------
 2 files changed, 56 insertions(+), 26 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289690-227-2FcDYYzPg3>