]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: define new event log messages for cm_Analyze VBUSY, VRESTARTING, etc.
authorJeffrey Altman <jaltman@your-file-system.com>
Fri, 16 Apr 2010 04:31:58 +0000 (00:31 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Sat, 17 Apr 2010 03:06:14 +0000 (20:06 -0700)
commit168f69db1995c0bce4daad2e4af1558282c2f80c
treeb6d27a216fc6b05f1ae63ef5e4320e58c5af26a1
parent5a253b19117e4f42c0db91ca3a45843462c0266c
Windows: define new event log messages for cm_Analyze VBUSY, VRESTARTING, etc.

Add MSG_SERVER_REPORTS_VBUSY, MSG_SERVER_REPORTS_VRESTARTING,
MSG_ALL_SERVERS_BUSY, MSG_ALL_SERVERS_OFFLINE,
and MSG_ALL_SERVERS_DOWN.

Add event message throttling.  Only permit one copy of a message
to be generated every five seconds if the message will duplicate
the prior message.  This often occurs when a server or volume becomes
inaccessible and there were a large number of requests queued on it.

Integrate these new messages into cm_Analyze processing for VBUSY,
VRESTARTING, ALLDOWN, ALLOFFLINE, and ALLBUSY errors.

LICENSE MIT

Change-Id: Ib30595ded23724810e294133fa75873e20ffbf0b
Reviewed-on: http://gerrit.openafs.org/1762
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/afsd_eventlog.c
src/WINNT/afsd/afsd_eventmessages.mc
src/WINNT/afsd/cm_conn.c