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>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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 -- PGP Key : http://www.marcuscom.com/pgp.asc [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCM1m7b2iPiv4Uz4cRAv0zAKCEnj6gtSLrGyPbVbAxLsGRAQ0PzACeIhu5 qS9J66eYGPiNCgVhfGZ8lTE= =KT7c -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1110661563.79536.15.camel>
