DAFS: Raise LogLevel for per-chain vol stats
authorAndrew Deason <adeason@sinenomine.net>
Tue, 14 Sep 2010 14:45:10 +0000 (10:45 -0400)
committerDerrick Brashear <shadow@dementia.org>
Sat, 2 Oct 2010 03:51:55 +0000 (20:51 -0700)
commite04f17704a4ceb242ea0b01abd225f89fa0979e7
treeb168b031a8866b4bee4d8d9590bde7fd0719e095
parent9d912b6f1c4f3d242429c66291107b2badd166e4
DAFS: Raise LogLevel for per-chain vol stats

Only report detailed per-chain volume statistics on shutdown/SIGXCPU
if LogLevel is 125 (or 25 for smaller per-chain stats). If a
fileserver is configured with a large -vhashsize, printing out stats
for each chain can take awhile and use up a nontrivial amount of disk
space for logging, so only print out these stats if we're asked for
them.

Change-Id: Iceb38e29ab40958e05f3cf146687f679bd0f061c
Reviewed-on: http://gerrit.openafs.org/2759
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/viced/viced.c