Date: Sun, 9 Mar 2003 01:58:36 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom geom.h Message-ID: <200303090958.h299wa13003410@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303090958.h299wa13003410>
