]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-afsd-server-uuid-20090301
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 2 Mar 2009 04:45:15 +0000 (04:45 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 2 Mar 2009 04:45:15 +0000 (04:45 +0000)
commit0c1bf0bb22fc19602ffa14a909e5139c60978420
treee969ec745856ed779109940998eda0afc871c7a6
parent71a8a8567e10bef2ba2aa596e1df5f2b4bb5f31d
DEVEL15-windows-afsd-server-uuid-20090301

LICENSE MIT

Unlike the unix cache manager, on Windows the server uuid was not
recorded as part of the cm_server object.  This commit adds the uuid
and a flag to indicate if it is set or not.

A check is made in cm_UpdateVolumeLocation it confirm that the uuid
known to the CM is the same as the one being reported by the vl server.
If they differ, this is logged but no action is taken.

The contents of the cm_allServers list is now dumped in response to
"fs memdump" or a crash.  This includes the uuid, addr, type, flags,
downtime, caps, etc.

The server uuid is not useful at the moment because there is nothing
that the CM can use it for.  However, it might be useful for debugging
and it will be needed for extended callback support.

(cherry picked from commit 19ffc146fac828cd32b90c4d43d617de6c574556)
src/WINNT/afsd/afsd_init.c
src/WINNT/afsd/afsd_service.c
src/WINNT/afsd/cm_cell.c
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_server.c
src/WINNT/afsd/cm_server.h
src/WINNT/afsd/cm_volume.c