Date: Tue, 18 Mar 2003 01:30:31 -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/kern subr_devstat.c Message-ID: <200303180930.h2I9UVhj081300@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2003/03/18 01:30:31 PST FreeBSD src repository Modified files: sys/kern subr_devstat.c Log: If devstat_new_entry() is passed a unit number of -1 assume that the devstat is for an "interior" GEOM node and register using the name argument as a geom identity pointer. Do not put these devstat structures on the list returned by the sysctl. This gives us the ability to tell the two kinds of nodes apart and leave the current "strictly physical" view of devstat intact without modifications, yet be able to use devstat for both kinds of devices. It also saves us bloating struct devstat with another 48 bytes of space for the name. At least for now. Reviewed by: ken Revision Changes Path 1.41 +12 -4 src/sys/kern/subr_devstat.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303180930.h2I9UVhj081300>