Commit Graph

6139 Commits

Author SHA1 Message Date
Derrick Brashear
8377e2e34d bubasics-prototype-getsize-correctly-20090316
LICENSE IPL10

fix prototype of getSize op
2009-03-16 17:17:17 +00:00
Derrick Brashear
2d683a880b socklen-t-check-20090316
LICENSE IPL10

verify we have socklen_t and if not, get it
2009-03-16 16:14:12 +00:00
Derrick Brashear
3eec407510 fssync-abstract-fd-type-20090316
LICENSE IPL10

apparently 64 bit windows has 64 bit fds
2009-03-16 16:09:34 +00:00
Derrick Brashear
7815171a8d irix-no-sig-t-20090316
LICENSE IPL10

correct the sig_t checking macro
2009-03-16 15:48:20 +00:00
Derrick Brashear
a5daae759d kauth-needs-sys-for-headers-20090316
LICENSE IPL10

get sys's header for kauth
2009-03-16 15:17:12 +00:00
Simon Wilkinson
97fad3a313 rxstat-prototypes-20090316
LICENSE IPL10
FIXES 124235

prototype the rxstat directory
2009-03-16 15:06:54 +00:00
Derrick Brashear
92cd63b0b7 vol-no-cast-macro-20090316
LICENSE IPL10

afs_cast_uint32 doesn't exist, not sure we need it
2009-03-16 14:41:22 +00:00
Jeffrey Altman
f076eb4f88 budb-no-pointer-math-on-void-star-20090316
LICENSE IPL10

can't do pointer math on void*; already casting to char* anyway
2009-03-16 14:19:39 +00:00
Jeffrey Altman
95d639b194 auth-unistd-not-on-windows-20090316
LICENSE IPL10

don't include unistd on windows
2009-03-16 14:12:37 +00:00
Simon Wilkinson
6e569d2518 sys-prototypes-20090315
LICENSE IPL10
FIXES 124233

prototype the sys directory
2009-03-16 14:00:56 +00:00
Simon Wilkinson
129905960d gtx-prototypes-20090316
LICENSE IPL10
FIXES 124243

prototype the gtx directory
utilize in scout
2009-03-16 13:49:15 +00:00
Simon Wilkinson
2b6d173530 butm-prototypes-20090316
LICENSE IPL10
FIXES 124241

prototype the butm directory
2009-03-16 13:45:11 +00:00
Simon Wilkinson
f239bf808f uss-prototypes-20090316
LICENSE IPL10
FIXES 124248

prototype the uss directory
2009-03-16 13:43:34 +00:00
Simon Wilkinson
bd00e10eb7 budb-prototypes-20090316
LICENSE IPL10
FIXES 124240

prototype the budb directory
2009-03-16 13:41:23 +00:00
Simon Wilkinson
14c3d5ed91 bubasics-prototypes-20090316
LICENSE IPL10
FIXES 124237

prototype the bubasics directory
make the volser prototypes available for bubasics to use
2009-03-16 13:39:03 +00:00
Simon Wilkinson
4fdda50ca7 dir-prototypes-20090316
LICENSE IPL10
FIXES 124242

prototype the dir directory
2009-03-16 13:28:55 +00:00
Simon Wilkinson
cff2da10d6 libadmin-prototypes-20090316
LICENSE IPL10
FIXES 124246

prototype the libadmin directory
2009-03-16 13:26:20 +00:00
Simon Wilkinson
0a8f1e16ae venus-prototypes-20090316
LICENSE IPL10
FIXES 124250

prototype the venus directory
2009-03-16 13:24:25 +00:00
Simon Wilkinson
379162ec07 scout-prototypes-20090316
LICENSE IPL10
FIXES 124253

prototype the scout directory
2009-03-16 13:22:15 +00:00
Simon Wilkinson
0dcdbf6dcd bozo-prototypes-20090316
LICENSE IPL10
FIXES 124236

prototype the bozo directory
2009-03-16 13:19:47 +00:00
Simon Wilkinson
01e03837b8 auth-prototypes-20090316
LICENSE IPL10
FIXES 124234

prototype the auth directory
2009-03-16 13:17:33 +00:00
Simon Wilkinson
242aa845a1 afsd-prototypes-20090316
LICENSE IPL10
FIXES 124231

prototype the afsd directory
2009-03-16 13:13:45 +00:00
Simon Wilkinson
f28659bd82 vol-prototypes-20090316
LICENSE IPL10
FIXES 124252

prototype the vol directory
2009-03-16 13:11:42 +00:00
Simon Wilkinson
79448c25ac ptserver-prototypes-20090316
LICENSE IPL10
FIXES 124249

prototype the ptserver directory
2009-03-16 13:08:38 +00:00
Jeffrey Altman
a0179b0709 ubik-prototype-fallout-20090316
LICENSE IPL10

make things happy again
2009-03-16 12:37:09 +00:00
Derrick Brashear
61dadb6458 irix-lacks-sig-t-20090315
LICENSE IPL10

sig_t is missing on irix
2009-03-16 03:44:36 +00:00
Simon Wilkinson
596614dd76 viced-prototypes-20090315
LICENSE IPL10
FIXES 124251

prototype the viced directory
2009-03-16 03:10:21 +00:00
Simon Wilkinson
d5158b2ccb ubik-prototypes-20090315
LICENSE IPL10
FIXES 124245

prototype the ubik directory
2009-03-16 03:03:14 +00:00
Simon Wilkinson
b18ec965dd fsprobe-prototypes-20090315
LICENSE IPL10
FIXES 124254

prototype the fsprobe directory
2009-03-16 02:53:55 +00:00
Simon Wilkinson
8952e3d64d libacl-prototypes-20090315
LICENSE IPL10
FIXES 124256

prototype the libacl directory
2009-03-16 02:42:34 +00:00
Simon Wilkinson
2e4326e20e kauth-prototypes-20090315
LICENSE IPL10
FIXES 124257

prototype the kauth directory
2009-03-16 02:35:29 +00:00
Simon Wilkinson
12a60258f5 rxgen-prototypes-20090315
LICENSE IPL10
FIXES 124255

prototype the rxgen directory
2009-03-16 02:26:28 +00:00
Simon Wilkinson
47451b4c20 util-prototypes-20090315
LICENSE IPL10
FIXES 124247

prototype the util directory
2009-03-16 02:00:27 +00:00
Simon Wilkinson
00fd29251e audit-prototypes-20090315
LICENSE IPL10
FIXES 124232

prototype the audit directory
2009-03-16 01:38:07 +00:00
Simon Wilkinson
c560efe73f des-prototypes-20090315
LICENSE IPL10
FIXES 124230

prototype the des directory
2009-03-16 01:34:36 +00:00
Rainer Toebbicke
0c39a855a2 viced-copyonwrite-optimization-20090315
LICENSE IPL10
FIXES 124397

optimize CopyOnWrite to avoid rewriting data if possible
2009-03-15 18:50:00 +00:00
Chaskiel M Grundman
6308037dec cellservdb-proc-file-glocking-20090315
LICENSE IPL10
FIXES 124407

hold GLOCK appropriately when dealing with the proc file
2009-03-15 18:42:13 +00:00
Mike Meffie
5102d56f08 viced-improve-host-hashing-20090315
LICENSE IPL10
FIXES 124447

hash based on host byte order so intel machines aren't sad
2009-03-15 18:30:41 +00:00
Mike Meffie
fd6d954e95 butc-xbsa-buffersize-20090315
LICENSE IPL10
FIXES 124425

restrict buffer size to allow for header space
2009-03-15 18:19:15 +00:00
Chaskiel M Grundman
22c5edb1b2 solaris-avoid-returning-einval-if-possible-20090315
LICENSE IPL10
FIXES 124426

if we have a better error code, return it.
2009-03-15 18:13:25 +00:00
Derrick Brashear
fd9e5ffb46 aklog-old-principal-conversion-sans-524-20090315
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
2009-03-15 18:02:31 +00:00
Jeffrey Altman
d0e4044cfe windows-afsd-reset-acl-cache-20090312
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.
2009-03-14 04:59:23 +00:00
Jeffrey Altman
8e01e5a4db windows-afsd-unlock-20090312
LICENSE MIT

Modify the cm_Unlock() interface to support the ability to unlock all
locks within a range.  This is required for the redirector.
2009-03-14 04:54:59 +00:00
Jeffrey Altman
7ca2785f53 windows-freelance-20090312
LICENSE MIT

correct error in windows-freelance-20090223.  use cpath not filename
since that is why we allocated cpath in the first place.
2009-03-14 04:51:11 +00:00
Jeffrey Altman
ef81e9395c windows-afsd-callback-20090312
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.
2009-03-14 04:49:06 +00:00
Jeffrey Altman
15d4dd0f70 windows-afsd-btree-20090313
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.
2009-03-14 04:45:22 +00:00
Matt Benjamin
77452db304 dumpcallbackstate-64bit-timet-safe-20090310
LICENSE IPL10
FIXES 124451

on 64 bit platforms, 64 bit time_t means returning into afs_int32 is bad
2009-03-10 19:21:12 +00:00
Jeffrey Altman
581fd18bd9 avoid-blocking-with-connhashtable-lock-in-reapconnections-20090307
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
2009-03-07 14:10:23 +00:00
Jeffrey Altman
19ffc146fa 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.
2009-03-02 04:44:43 +00:00
Jeffrey Altman
5d14735126 window-afsd-bad-version-20090228
LICENSE MIT

create a new cpp symbol CM_SCACHE_VERSION_BAD to represent data version
values in cm_scache objects that are known to be invalid.

then consistently apply this value throughout the code.  Previously
some invalid values were set to 0 and others to -1 (0xFFFFFFFF:FFFFFFFF).

Also fix at least one location where CM_BUF_VERSION_BAD was not used.
2009-02-28 16:19:13 +00:00