Date: Sat, 12 Mar 2005 16:06:03 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: current@freebsd.org Subject: struct statfs reads/writes changes? Message-ID: <1110661563.79536.15.camel@shumai.marcuscom.com>
next in thread | raw e-mail | index | archive | help
--=-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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1110661563.79536.15.camel>