From owner-cvs-src Sun Mar 9 1:58:38 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 EC34637B401; Sun, 9 Mar 2003 01:58:36 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F5DF43F93; Sun, 9 Mar 2003 01:58:36 -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 h299wa0U003411; Sun, 9 Mar 2003 01:58:36 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h299wa13003410; Sun, 9 Mar 2003 01:58:36 -0800 (PST) Message-Id: <200303090958.h299wa13003410@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sun, 9 Mar 2003 01:58:36 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom geom.h 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:58:36 PST FreeBSD src repository Modified files: sys/geom geom.h Log: Add u_int nstart, nend counters to consumer and providers so we will not have to examine the stats structure to tell if we have outstanding I/O requests. Making them u_int improves the chance of atomic updates to them, but risks roll-over. Since the only interesting property is if they are equal or not, this is not an issue. Revision Changes Path 1.46 +2 -0 src/sys/geom/geom.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message