Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107343967
D24697.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
631 B
Referenced Files
None
Subscribers
None
D24697.diff
View Options
Index: head/sys/geom/eli/g_eli.c
===================================================================
--- head/sys/geom/eli/g_eli.c
+++ head/sys/geom/eli/g_eli.c
@@ -1416,11 +1416,13 @@
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 != 0 || pp->acw != 0 || pp->ace != 0 ||
+ 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();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 7:05 PM (19 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15773647
Default Alt Text
D24697.diff (631 B)
Attached To
Mode
D24697: geli: fix a livelock during panic
Attached
Detach File
Event Timeline
Log In to Comment