OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_6-76-g462cc49
Gerrit Code Review
gerrit@openafs.org
Thu, 27 Mar 2014 01:52:21 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 462cc497db11c390e626925d383bdef9c98a1e62
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Oct 17 20:22:48 2013 -0400
viced: Improve client error log messages
Commit 6c41b1f740e16b5b9adfe9026630595be6f0699e improved a few log
messages to include the client ip and port of the request triggering
that log message. Include the viceid and fid (if applicable), too, so
an administrator may more easily identify the cause.
This creates the function LogClientError, so we can use a common
function for logging very similar information. This also modifies
h_FindClient_r to give the viceid to the caller, even in the case of
error. In addition, this modifies CallPreamble to accept a fid and
modifies all callers to accomodate.
Reviewed-on: http://gerrit.openafs.org/10347
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 0a5e878aa0a71c4dfaef1806744ed78bcc13b9f4)
Change-Id: Ib8b41989809e559dee486757b11ccff789d615e9
Reviewed-on: http://gerrit.openafs.org/10757
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/viced/afsfileprocs.c | 116 +++++++++++++++++++++++++++-------------------
src/viced/host.c | 12 ++++-
src/viced/host.h | 2 +-
3 files changed, 81 insertions(+), 49 deletions(-)
--
OpenAFS Master Repository