Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Oct 2024 15:57:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        geom@FreeBSD.org
Subject:   [Bug 238814] geom: topology lock being dropped in dumpconf of gate, raid, & raid3
Message-ID:  <bug-238814-14739-6euQWX2GLT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238814-14739@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238814-14739@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238814

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Db37b2543a23b44c78f6d78823dcfcedba=
46570db

commit b37b2543a23b44c78f6d78823dcfcedba46570db
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-10-04 14:53:57 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-10-04 15:56:34 +0000

    ggate: Avoid dropping the GEOM topology lock in dumpconf

    In general it's not safe to drop the topology lock in these routines, as
    GEOM assumes that the mesh will be consistent during traversal.
    However, there's no reason we can't hold the topology lock across calls
    to g_gate_release().  (Note that g_gate_hold() can be called with the
    topology lock held.)

    PR:             238814
    MFC after:      2 weeks

 sys/geom/gate/g_gate.c | 3 ---
 1 file changed, 3 deletions(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238814-14739-6euQWX2GLT>