5858 Commits

Author SHA1 Message Date
Simon Wilkinson
547ae6877e DEVEL15-bucoord-prototypes-20090316
LICENSE IPL10
FIXES 124238

prototype the bucoord directory


(cherry picked from commit 0097888d53b71ef38491d71c3259ca9b5ac5dfa3)
2009-03-16 17:22:06 +00:00
Derrick Brashear
0c8d3e2b0e DEVEL15-bubasics-prototype-getsize-correctly-20090316
LICENSE IPL10

fix prototype of getSize op


(cherry picked from commit 8377e2e34d750ef1318969f4a59b002920dc2d70)
2009-03-16 17:17:27 +00:00
Derrick Brashear
1195efd83b DEVEL15-socklen-t-check-20090316
LICENSE IPL10

verify we have socklen_t and if not, get it


(cherry picked from commit 2d683a880bf5f30db22862f0f6add14142dbcf9a)
2009-03-16 16:14:21 +00:00
Derrick Brashear
9236aec367 DEVEL15-fssync-abstract-fd-type-20090316
LICENSE IPL10

apparently 64 bit windows has 64 bit fds


(cherry picked from commit 3eec4075102b18bac036c33c9acb155e44c23f08)
2009-03-16 16:09:44 +00:00
Derrick Brashear
50a0217397 DEVEL15-irix-no-sig-t-20090316
LICENSE IPL10

correct the sig_t checking macro


(cherry picked from commit 7815171a8d300d550dd61c2db0f329b19390cf16)
2009-03-16 15:48:32 +00:00
Derrick Brashear
f03e6e9767 DEVEL15-kauth-needs-sys-for-headers-20090316
LICENSE IPL10

get sys's header for kauth


(cherry picked from commit a5daae759d6b513f27f4fe3ab255ea7b4497ff41)
2009-03-16 15:17:31 +00:00
Simon Wilkinson
951a16f124 DEVEL15-rxstat-prototypes-20090316
LICENSE IPL10
FIXES 124235

prototype the rxstat directory


(cherry picked from commit 97fad3a313088cb0ca5c4966fb9d24dedbecf146)
2009-03-16 15:07:11 +00:00
Simon Wilkinson
03a1798460 DEVEL15-ptserver-prototypes-20090316
LICENSE IPL10
FIXES 124249

prototype the ptserver directory


(cherry picked from commit 79448c25acead55728f40beec18e00113d8356f4)
2009-03-16 14:58:04 +00:00
Derrick Brashear
343f6b5613 DEVEL15-vol-no-cast-macro-20090316
LICENSE IPL10

afs_cast_uint32 doesn't exist, not sure we need it


(cherry picked from commit 92cd63b0b7cd26f05e6f316a6d209e4e5d0bfaa2)
2009-03-16 14:41:40 +00:00
Jeffrey Altman
a46fb151e5 DEVEL15-budb-no-pointer-math-on-void-star-20090316
LICENSE IPL10

can't do pointer math on void*; already casting to char* anyway


(cherry picked from commit f076eb4f88a8e3b7633c21edb3921f4f08eefa6b)
2009-03-16 14:19:49 +00:00
Jeffrey Altman
ce5c2e0430 DEVEL15-auth-unistd-not-on-windows-20090316
LICENSE IPL10

don't include unistd on windows


(cherry picked from commit 95d639b19452001835097fe4e0189efe5d8d08be)
2009-03-16 14:12:46 +00:00
Simon Wilkinson
08607aeef6 DEVEL15-sys-prototypes-20090315
LICENSE IPL10
FIXES 124233

prototype the sys directory


(cherry picked from commit 6e569d2518dba2f947626b40597c71e9798936b7)
2009-03-16 14:01:06 +00:00
Simon Wilkinson
708b1a5f74 DEVEL15-gtx-prototypes-20090316
LICENSE IPL10
FIXES 124243

prototype the gtx directory
utilize in scout


(cherry picked from commit 129905960db523e0a6365175bf0ce066fdbd60fd)
2009-03-16 13:49:32 +00:00
Simon Wilkinson
0b686e6da1 DEVEL15-butm-prototypes-20090316
LICENSE IPL10
FIXES 124241

prototype the butm directory


(cherry picked from commit 2b6d173530f38fba6ac9d2cc3459d7088a248f4f)
2009-03-16 13:45:21 +00:00
Simon Wilkinson
49994c9c9e DEVEL15-uss-prototypes-20090316
LICENSE IPL10
FIXES 124248

prototype the uss directory


(cherry picked from commit f239bf808f63bb6a22e53696e9927ba2e4121c75)
2009-03-16 13:43:43 +00:00
Simon Wilkinson
83f09b167b DEVEL15-budb-prototypes-20090316
LICENSE IPL10
FIXES 124240

prototype the budb directory


(cherry picked from commit bd00e10eb7caf66de33640bf06722d0169231703)
2009-03-16 13:41:34 +00:00
Simon Wilkinson
32333515ef DEVEL15-bubasics-prototypes-20090316
LICENSE IPL10
FIXES 124237

prototype the bubasics directory
make the volser prototypes available for bubasics to use


(cherry picked from commit 14c3d5ed9179574692a0f7a5cc15d625083e3cf8)
2009-03-16 13:39:15 +00:00
Simon Wilkinson
dfea1ab8c5 DEVEL15-dir-prototypes-20090316
LICENSE IPL10
FIXES 124242

prototype the dir directory


(cherry picked from commit 4fdda50ca7ea47d5b4b8a5cd31797b527deb148f)
2009-03-16 13:29:07 +00:00
Simon Wilkinson
0755d8613a DEVEL15-libadmin-prototypes-20090316
LICENSE IPL10
FIXES 124246

prototype the libadmin directory


(cherry picked from commit cff2da10d6f2c4b568c07a331ceb96cbf952576a)
2009-03-16 13:26:48 +00:00
Simon Wilkinson
61f1bc1ac4 DEVEL15-venus-prototypes-20090316
LICENSE IPL10
FIXES 124250

prototype the venus directory


(cherry picked from commit 0a8f1e16ae1a18094fa28521f29bee911aa6dcfb)
2009-03-16 13:24:37 +00:00
Simon Wilkinson
449cbae016 DEVEL15-scout-prototypes-20090316
LICENSE IPL10
FIXES 124253

prototype the scout directory


(cherry picked from commit 379162ec07cc76550e9690f3631cc00b931744f7)
2009-03-16 13:22:25 +00:00
Simon Wilkinson
7dafe79f1e DEVEL15-bozo-prototypes-20090316
LICENSE IPL10
FIXES 124236

prototype the bozo directory


(cherry picked from commit 0dcdbf6dcda0814a5f24e84d4ef98ffc2279eff1)
2009-03-16 13:20:06 +00:00
Simon Wilkinson
d0fad37c4b DEVEL15-auth-prototypes-20090316
LICENSE IPL10
FIXES 124234

prototype the auth directory


(cherry picked from commit 01e03837b81843c4f28eb6cc54811b1bd231514c)
2009-03-16 13:17:43 +00:00
Simon Wilkinson
9e01f3c781 DEVEL15-afsd-prototypes-20090316
LICENSE IPL10
FIXES 124231

prototype the afsd directory


(cherry picked from commit 242aa845a149d5132047e44d074064093fd2d61b)
2009-03-16 13:13:55 +00:00
Simon Wilkinson
d79a064148 DEVEL15-vol-prototypes-20090316
LICENSE IPL10
FIXES 124252

prototype the vol directory


(cherry picked from commit f28659bd826c2bb7311c84122262000caf33316c)
2009-03-16 13:11:55 +00:00
Jeffrey Altman
15320e7c84 DEVEL15-ubik-prototype-fallout-20090316
LICENSE IPL10

make things happy again


(cherry picked from commit a0179b07096014e31ba6ecf1643a9cf67ba45a24)
2009-03-16 12:37:40 +00:00
Derrick Brashear
50cfc3240f DEVEL15-irix-lacks-sig-t-20090315
LICENSE IPL10

sig_t is missing on irix


(cherry picked from commit 61dadb6458ec95b5bf4bd4250520453630fbbe4c)
2009-03-16 03:44:47 +00:00
Simon Wilkinson
ab1169f6e0 DEVEL15-viced-prototypes-20090315
LICENSE IPL10
FIXES 124251

prototype the viced directory


(cherry picked from commit 596614dd76aa5107f6cd30c67a79b371be48f504)
2009-03-16 03:10:31 +00:00
Simon Wilkinson
46e6482323 DEVEL15-ubik-prototypes-20090315
LICENSE IPL10
FIXES 124245

prototype the ubik directory


(cherry picked from commit d5158b2ccb78fc7df0a346c7a5dd5b7cb5d0b58b)
2009-03-16 03:03:24 +00:00
Simon Wilkinson
0dc70669ac DEVEL15-fsprobe-prototypes-20090315
LICENSE IPL10
FIXES 124254

prototype the fsprobe directory


(cherry picked from commit b18ec965dd58331eb32599a21e882fbe43a8257e)
2009-03-16 02:54:11 +00:00
Simon Wilkinson
698a078723 DEVEL15-libacl-prototypes-20090315
LICENSE IPL10
FIXES 124256

prototype the libacl directory


(cherry picked from commit 8952e3d64d8099a5238be3ccf9cb56a7c0d1a2df)
2009-03-16 02:42:45 +00:00
Simon Wilkinson
6bb7fcb272 DEVEL15-kauth-prototypes-20090315
LICENSE IPL10
FIXES 124257

prototype the kauth directory


(cherry picked from commit 2e4326e20ebadc2cb9b3efd117454bc422cdc63d)
2009-03-16 02:35:39 +00:00
Simon Wilkinson
0c833a207c DEVEL15-rxgen-prototypes-20090315
LICENSE IPL10
FIXES 124255

prototype the rxgen directory


(cherry picked from commit 12a60258f5ae680440b2a93369ca676359c888d4)
2009-03-16 02:26:40 +00:00
Simon Wilkinson
2fb7e51de7 DEVEL15-util-prototypes-20090315
LICENSE IPL10
FIXES 124247

prototype the util directory


(cherry picked from commit 47451b4c2009c51160686b4aca1b28b7011ba92f)
2009-03-16 02:00:39 +00:00
Simon Wilkinson
a43fcb874f DEVEL15-audit-prototypes-20090315
LICENSE IPL10
FIXES 124232

prototype the audit directory


(cherry picked from commit 00fd29251e9326bd81d46387337ca014a118f7ec)
2009-03-16 01:38:17 +00:00
Simon Wilkinson
5506fc8bd4 DEVEL15-des-prototypes-20090315
LICENSE IPL10
FIXES 124230

prototype the des directory


(cherry picked from commit c560efe73f79e396866918ee072849065ab70838)
2009-03-16 01:34:48 +00:00
Rainer Toebbicke
d84bb72e26 DEVEL15-viced-copyonwrite-optimization-20090315
LICENSE IPL10
FIXES 124397

optimize CopyOnWrite to avoid rewriting data if possible


(cherry picked from commit 0c39a855a2da7b3e82970c65f835eed38b650215)
2009-03-15 18:50:10 +00:00
Chaskiel M Grundman
d0cf16e676 DEVEL15-cellservdb-proc-file-glocking-20090315
LICENSE IPL10
FIXES 124407

hold GLOCK appropriately when dealing with the proc file


(cherry picked from commit 6308037dec22d5a141fc64a11472b1a36585deb2)
2009-03-15 18:42:23 +00:00
Mike Meffie
52484cc29b DEVEL15-viced-improve-host-hashing-20090315
LICENSE IPL10
FIXES 124447

hash based on host byte order so intel machines aren't sad


(cherry picked from commit 5102d56f080f1284eecb94dbc7c06cb966c27f5b)
2009-03-15 18:30:52 +00:00
Mike Meffie
84e1da3b2c DEVEL15-butc-xbsa-buffersize-20090315
LICENSE IPL10
FIXES 124425

restrict buffer size to allow for header space


(cherry picked from commit fd6d954e95e016a78001e9bc12c4646ba8183e12)
2009-03-15 18:19:25 +00:00
Chaskiel M Grundman
ab9a5082d3 DEVEL15-solaris-avoid-returning-einval-if-possible-20090315
LICENSE IPL10
FIXES 124426

if we have a better error code, return it.


(cherry picked from commit 22c5edb1b22dbeee28b569ceefb543ab5ffed929)
2009-03-15 18:13:36 +00:00
Derrick Brashear
af7da2a90b DEVEL15-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


(cherry picked from commit fd9e5ffb4653b87f92438574083185a55086b661)
2009-03-15 18:02:41 +00:00
Jeffrey Altman
e938e866da DEVEL15-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.


(cherry picked from commit d0e4044cfeef3ce1c5d435251de9b584343225f5)
2009-03-14 04:59:34 +00:00
Jeffrey Altman
afa037ff2b DEVEL15-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.


(cherry picked from commit 8e01e5a4dbcaaea03fc3af59bec5ef211d5b4684)
2009-03-14 04:55:09 +00:00
Jeffrey Altman
5ea847f911 DEVEL15-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.


(cherry picked from commit 7ca2785f53d391afa5e7200f2b4d40c79a857443)
2009-03-14 04:51:19 +00:00
Jeffrey Altman
44e15daff0 DEVEL15-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.


(cherry picked from commit ef81e9395c171f9dcb8df120991ba65ec1ca5610)
2009-03-14 04:49:15 +00:00
Jeffrey Altman
3cd3921c36 DEVEL15-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.


(cherry picked from commit 15d4dd0f70925eaf2af333f2215235cb90637457)
2009-03-14 04:45:32 +00:00
Matt Benjamin
0b8e728d27 DEVEL15-dumpcallbackstate-64bit-timet-safe-20090310
LICENSE IPL10
FIXES 124451

on 64 bit platforms, 64 bit time_t means returning into afs_int32 is bad


(cherry picked from commit 77452db304abfc6ad0139769034986dc8bf172d9)
2009-03-10 19:21:22 +00:00
Jeffrey Altman
47af594eb7 DEVEL15-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


(cherry picked from commit 581fd18bd9c3fe8e07169c60a7cde9e72e8af89c)
2009-03-07 14:10:43 +00:00
Jeffrey Altman
0c1bf0bb22 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)
2009-03-02 04:45:15 +00:00