From owner-cvs-src Sun Mar 9 1:28:48 2003 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 BED0D37B401; Sun, 9 Mar 2003 01:28:46 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E59C43F3F; Sun, 9 Mar 2003 01:28:46 -0800 (PST) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h299Sk0U001297; Sun, 9 Mar 2003 01:28:46 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h299Sk4p001296; Sun, 9 Mar 2003 01:28:46 -0800 (PST) Message-Id: <200303090928.h299Sk4p001296@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sun, 9 Mar 2003 01:28:46 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom geom_dev.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2003/03/09 01:28:46 PST FreeBSD src repository Modified files: sys/geom geom_dev.c Log: When a DEV class consumer is orphan'ed we need to wait for all the outstanding requests to return before we unravel the mesh. It is very important that the stuff below us plays nice and don't overlook a couple of outstanding bio's, because until they remember the geom event thread is blocked. At an expense in code here this could be made more robust, but I actually _want_ a robust failure in this case so any offending drivers can be fixed. Revision Changes Path 1.50 +20 -11 src/sys/geom/geom_dev.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message