ufsstat implementation

Eric Anderson anderson at centtech.com
Thu Sep 29 11:21:40 PDT 2005


I've been looking at the ufs code, and thinking about wedging in some 
statistic gathering pieces pretty much copied from the nfs code (and 
nfsstat) to provide nearly the same functionality.

I realize that adding statistic gathering code would techinically reduce 
filesystem performance, so should I put a wrapper around the code pieces 
checking a sysctl, or use #ifdef's around it, or neither?

Also - am I going about this the right way, or is there a better way to 
record these statistics?

Thanks!
Eric


-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------


More information about the freebsd-hackers mailing list