OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1260-g5fbea6d
Gerrit Code Review
gerrit@openafs.org
Sun, 5 Jun 2011 08:32:34 -0700 (PDT)
The following commit has been merged in the master branch:
commit 5fbea6da218092ef1942b5ffc8257d7b80311543
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sun Apr 17 19:14:01 2011 +0100
viced: Rationalise FS_STATS_DETAILED logging
Every RPC handler in the fileserver contained a copy of an identical
code block to handle starting, stopping, and recording detailed logging
statistics. Replace all of this with a structure and 4 helper functions,
which will make maintenance much easier.
Change-Id: Ie2b0fa13fcc3e261ba435f1560e7ab5adf477afb
Reviewed-on: http://gerrit.openafs.org/4765
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/dviced/Makefile.in | 6 +-
src/dviced/NTMakefile | 2 +-
src/tviced/Makefile.in | 5 +-
src/tviced/NTMakefile | 2 +-
src/viced/Makefile.in | 3 +-
src/viced/NTMakefile | 1 +
src/viced/afsfileprocs.c | 1238 +++++-----------------------------------------
src/viced/fs_stats.h | 15 +
src/viced/fsstats.c | 164 ++++++
9 files changed, 319 insertions(+), 1117 deletions(-)
--
OpenAFS Master Repository