LICENSE IPL10
FIXES 124237
prototype the bubasics directory
make the volser prototypes available for bubasics to use
(cherry picked from commit 14c3d5ed9179574692a0f7a5cc15d625083e3cf8)
LICENSE IPL10
FIXES 124397
optimize CopyOnWrite to avoid rewriting data if possible
(cherry picked from commit 0c39a855a2da7b3e82970c65f835eed38b650215)
LICENSE IPL10
FIXES 124407
hold GLOCK appropriately when dealing with the proc file
(cherry picked from commit 6308037dec22d5a141fc64a11472b1a36585deb2)
LICENSE IPL10
FIXES 124447
hash based on host byte order so intel machines aren't sad
(cherry picked from commit 5102d56f080f1284eecb94dbc7c06cb966c27f5b)
LICENSE IPL10
we'll want to fix this differently later; since 524 is dying perhaps we need
to just ship heimdal's version of this code
(cherry picked from commit fd9e5ffb4653b87f92438574083185a55086b661)
LICENSE MIT
Modify the cm_ResetACLCache interface to accept an optional cm_cell_t *.
At the moment every time a token is set or cleared all of the acl info
for all cm_scache_t objects regardless of cell is reset. This is both
a performance hit and unnecessary. If we know the cell, only reset
the acl info for cm_scache_t objects in that cell.
If cell is not specified, reset for all cells.
(cherry picked from commit d0e4044cfeef3ce1c5d435251de9b584343225f5)
LICENSE MIT
Modify the cm_Unlock() interface to support the ability to unlock all
locks within a range. This is required for the redirector.
(cherry picked from commit 8e01e5a4dbcaaea03fc3af59bec5ef211d5b4684)
LICENSE MIT
correct error in windows-freelance-20090223. use cpath not filename
since that is why we allocated cpath in the first place.
(cherry picked from commit 7ca2785f53d391afa5e7200f2b4d40c79a857443)
LICENSE MIT
use cm_HaveCallback() to check for a call back instead of explicit
checks on cbExpires and cbServerp. cm_HaveCallback takes into account
Freelance mode and offline status.
(cherry picked from commit ef81e9395c171f9dcb8df120991ba65ec1ca5610)
LICENSE MIT
Change cm_BPlusDirEnumerate interface to include a 'FetchStatus'
parameter. When set to 0, we do not fetch status for fids for
which we do not already have status info. This avoids unnecessary
recycling of cm_scache_t objects.
(cherry picked from commit 15d4dd0f70925eaf2af333f2215235cb90637457)
LICENSE IPL10
FIXES 124451
on 64 bit platforms, 64 bit time_t means returning into afs_int32 is bad
(cherry picked from commit 77452db304abfc6ad0139769034986dc8bf172d9)
LICENSE BSD
instead of potentially blocking waiting for a call lock, assume if the call is
locked, the conn is still busy. also, don't even try to get the conn data lock
if we don't need to
(cherry picked from commit 581fd18bd9c3fe8e07169c60a7cde9e72e8af89c)
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)