From owner-freebsd-current@FreeBSD.ORG Sat Mar 12 21:06:23 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12E4C16A4CE for ; Sat, 12 Mar 2005 21:06:23 +0000 (GMT) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83E5D43D1D for ; Sat, 12 Mar 2005 21:06:22 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) j2CL6erY057736 for ; Sat, 12 Mar 2005 16:06:40 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: current@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ruBL/LW8jRtqy2IbC+zb" Organization: MarcusCom, Inc. Date: Sat, 12 Mar 2005 16:06:03 -0500 Message-Id: <1110661563.79536.15.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 FreeBSD GNOME Team Port Subject: struct statfs reads/writes changes? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 21:06:23 -0000 --=-ruBL/LW8jRtqy2IbC+zb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I have some code that counts f_syncwrites, f_asyncwrites, f_syncreads, and f_asyncreads from struct statfs to get rough file system reads and writes statistics. The code works under RELENG_4 and RELENG_5, but not under -CURRENT. Under -CURRENT, all the counters are 0. Is this by design, and if so, what should I be using instead, and can sys/mount.h be updated to reflect the deprecation of these members? If this isn't by design, is there a workaround I can use until this gets fixed? Thanks. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-ruBL/LW8jRtqy2IbC+zb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCM1m7b2iPiv4Uz4cRAv0zAKCEnj6gtSLrGyPbVbAxLsGRAQ0PzACeIhu5 qS9J66eYGPiNCgVhfGZ8lTE= =KT7c -----END PGP SIGNATURE----- --=-ruBL/LW8jRtqy2IbC+zb--