struct statfs reads/writes changes?

From: Joe Marcus Clarke <marcus_at_marcuscom.com>
Date: Sat, 12 Mar 2005 16:06:03 -0500
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

Received on Sat Mar 12 2005 - 20:06:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:29 UTC