Edward,

I think that the resize event handler should not skip (re-)taste for withering
geoms.  What do you think?

diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c
index 5342aba..56807fe 100644
--- a/sys/geom/geom_subr.c
+++ b/sys/geom/geom_subr.c
@@ -680,6 +680,7 @@ g_resize_provider_event(void *arg, int flag)
                        continue;
                LIST_FOREACH(cp, &pp->consumers, consumers)
                        if (cp->geom->class == mp &&
+                           (cp->geom->flags & G_GEOM_WITHER) == 0 &&
                            (cp->flags & G_CF_ORPHAN) == 0)
                                break;
                if (cp != NULL)

-- 
Andriy Gapon
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "[email protected]"

Reply via email to