FreeBSD Bugzilla – Attachment 214156 Details for
Bug 246207
[geom] geli livelocks during panic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix dumping core on panic when there are unused geli devices
246207.diff (text/plain), 624 bytes, created by
Alan Somers
on 2020-05-05 14:38:01 UTC
(
hide
)
Description:
Fix dumping core on panic when there are unused geli devices
Filename:
MIME Type:
Creator:
Alan Somers
Created:
2020-05-05 14:38:01 UTC
Size:
624 bytes
patch
obsolete
>Index: sys/geom/eli/g_eli.c >=================================================================== >--- sys/geom/eli/g_eli.c (revision 360614) >+++ sys/geom/eli/g_eli.c (working copy) >@@ -1413,11 +1413,11 @@ > continue; > pp = LIST_FIRST(&gp->provider); > KASSERT(pp != NULL, ("No provider? gp=%p (%s)", gp, gp->name)); >- if (pp->acr + pp->acw + pp->ace == 0) >- error = g_eli_destroy(sc, TRUE); >- else { >+ if (pp->acr || pp->acw || pp->ace || SCHEDULER_STOPPED()) { > sc->sc_flags |= G_ELI_FLAG_RW_DETACH; > gp->access = g_eli_access; >+ } else { >+ error = g_eli_destroy(sc, TRUE); > } > } > g_topology_unlock();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246207
: 214156