From owner-cvs-src@FreeBSD.ORG Thu Oct 14 07:55:30 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C63416A4CE; Thu, 14 Oct 2004 07:55:30 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7210843D31; Thu, 14 Oct 2004 07:55:30 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i9E7tUKH080407; Thu, 14 Oct 2004 07:55:30 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i9E7tU7B080400; Thu, 14 Oct 2004 07:55:30 GMT (envelope-from pjd) Message-Id: <200410140755.i9E7tU7B080400@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Thu, 14 Oct 2004 07:55:30 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/geom/mirror g_mirror.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 07:55:30 -0000 pjd 2004-10-14 07:55:29 UTC FreeBSD src repository Modified files: sys/geom/mirror g_mirror.c Log: Ehh. Introduce a hack: Wait for 3 seconds, so GEOM is able to give us providers for tasting. Before this hack, race below is possible: SI_SUB_RAID (no not-fully-configured geoms, so don't block) GEOM tasting (now geoms are created) SI_SUB_MOUNT_ROOT (if root file system is placed on a mirror, it is possible that this mirror is not fully configured yet) There is a lot of work to do to avoid such hacks and I need a working solution before 5.3, sorry. Reported by: John Hay Revision Changes Path 1.38 +5 -0 src/sys/geom/mirror/g_mirror.c