svn commit: r187141 - projects/gvinum/sys/geom/vinum

Ulf Lilleengen lulf at FreeBSD.org
Tue Jan 13 03:51:33 PST 2009


Author: lulf
Date: Tue Jan 13 11:51:32 2009
New Revision: 187141
URL: http://svn.freebsd.org/changeset/base/187141

Log:
  - Make sure the plex state goes to up if it was incorrectly down after the sync.

Modified:
  projects/gvinum/sys/geom/vinum/geom_vinum_plex.c

Modified: projects/gvinum/sys/geom/vinum/geom_vinum_plex.c
==============================================================================
--- projects/gvinum/sys/geom/vinum/geom_vinum_plex.c	Tue Jan 13 11:24:14 2009	(r187140)
+++ projects/gvinum/sys/geom/vinum/geom_vinum_plex.c	Tue Jan 13 11:51:32 2009	(r187141)
@@ -634,6 +634,7 @@ gv_sync_complete(struct gv_plex *to, str
 			/* Update our state. */
 			LIST_FOREACH(s, &to->subdisks, in_plex)
 				gv_set_sd_state(s, GV_SD_UP, 0);
+			gv_update_plex_state(to);
 			to->flags &= ~GV_PLEX_SYNCING;
 			to->synced = 0;
 			gv_post_event(sc, GV_EVENT_SAVE_CONFIG, sc, NULL, 0, 0);


More information about the svn-src-projects mailing list