From owner-cvs-src@FreeBSD.ORG Mon Apr 18 21:21:27 2005 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 1400A16A4CE; Mon, 18 Apr 2005 21:21:27 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC22543D41; Mon, 18 Apr 2005 21:21:26 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3ILLQb4032108; Mon, 18 Apr 2005 21:21:26 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3ILLQeZ032107; Mon, 18 Apr 2005 21:21:26 GMT (envelope-from phk) Message-Id: <200504182121.j3ILLQeZ032107@repoman.freebsd.org> From: Poul-Henning Kamp Date: Mon, 18 Apr 2005 21:21:26 +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/dev/ata ata-all.c src/sys/geom geom_kern.c src/sys/kern vfs_mount.c src/sys/sys systm.h 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: Mon, 18 Apr 2005 21:21:27 -0000 phk 2005-04-18 21:21:26 UTC FreeBSD src repository Modified files: sys/dev/ata ata-all.c sys/geom geom_kern.c sys/kern vfs_mount.c sys/sys systm.h Log: Add a named reference-count KPI to hold off mounting of the root filesystem. While we wait for holds to be released, print a list of who holds us back once per second. Use the new KPI from GEOM instead of vfs_mount.c calling g_waitidle(). Use the new KPI also from ata. With ATAmkIII's newbusification, ata could narrowly miss the window and ad0 would not exist when we tried to mount root. Revision Changes Path 1.243 +3 -0 src/sys/dev/ata/ata-all.c 1.38 +6 -0 src/sys/geom/geom_kern.c 1.189 +49 -6 src/sys/kern/vfs_mount.c 1.232 +7 -0 src/sys/sys/systm.h