From owner-cvs-all Fri Sep 13 4:28:39 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE43C37B400; Fri, 13 Sep 2002 04:28:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E3DD43E72; Fri, 13 Sep 2002 04:28:34 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: from freefall.freebsd.org (phk@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8DBSYJU039267; Fri, 13 Sep 2002 04:28:34 -0700 (PDT) (envelope-from phk@freefall.freebsd.org) Received: (from phk@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8DBSY14039266; Fri, 13 Sep 2002 04:28:34 -0700 (PDT) Message-Id: <200209131128.g8DBSY14039266@freefall.freebsd.org> From: Poul-Henning Kamp Date: Fri, 13 Sep 2002 04:28:34 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_bio.c src/sys/sys bio.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk 2002/09/13 04:28:34 PDT Modified files: sys/kern vfs_bio.c sys/sys bio.h Log: Oops, broke the build there. Uninline biodone() now that it is non-trivial. Introduce biowait() function. Currently there is a race condition and the mitigation is a timeout/retry. It is not obvious what kind of locking (if any) is suitable for BIO_DONE, since the majority of users take are of this themselves, and only a few places actually rely on the wakeup. Sponsored by: DARPA & NAI Labs. Revision Changes Path 1.330 +28 -0 src/sys/kern/vfs_bio.c 1.118 +2 -9 src/sys/sys/bio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message