Derrick Brashear [Sat, 21 Mar 2009 16:29:56 +0000]
DEVEL15-krb5-run-configure-tests-
20090321
LICENSE IPL10
FIXES 124522
--with-krb5=/path caused us to not run configure tests. fix that
(cherry picked from commit
39c4e32bf484aab2c9cf978cbf5877bdb989e9d6)
Derrick Brashear [Sat, 21 Mar 2009 15:49:20 +0000]
DEVEL15-aix-no-aklog-tsm-without-krb5-
20090320
LICENSE IPL10
FIXES 124522
don't build aklog_dynamic_auth without krb5
(cherry picked from commit
c1d545dff6483369ade640b27b9ab7baaa6faac5)
Derrick Brashear [Sat, 21 Mar 2009 15:45:52 +0000]
DEVEL15-rx-prototypes-alloc-free-ifdefs-
20090321
LICENSE IPL10
don't prototype osi_Alloc/osi_Free if they're just #defines
(cherry picked from commit
4398d6277dacde8464c0db7a73d5ecb37039823f)
Derrick Brashear [Sat, 21 Mar 2009 15:39:14 +0000]
DEVEL15-sig-t-exclude-multiple-
20090321
LICENSE IPL10
disallow multiple typedefs of sig_t
(cherry picked from commit
4bf68765b6d2a04c388ae9a5e6f134c0505a785b)
Derrick Brashear [Sat, 21 Mar 2009 15:07:50 +0000]
DEVEL15-update-config-guess-
20090321
LICENSE IPL10
update from upstream
(cherry picked from commit
b1aaf822f558236b91e543f03bcf159db1054c0b)
Derrick Brashear [Fri, 20 Mar 2009 22:45:20 +0000]
DEVEL15-aix51-pag-header-
20090320
LICENSE IPL10
FIXES 124522
no sys/pag.h until 5.2
(cherry picked from commit
3e034dcb6cbb82ef78853a342bd2c459250e0bcd)
Jeffrey Altman [Fri, 20 Mar 2009 17:25:33 +0000]
DEVEL15-vol-fssync-server-socket-
20090320
LICENSE IPL10
another location where we need osi_socket
(cherry picked from commit
73a57e8013c67d5760c677c6aef36611af076af0)
Jeffrey Altman [Fri, 20 Mar 2009 17:21:59 +0000]
DEVEL15-libadmin-client-prototype-
20090320
LICENSE IPL10
correct the prototype for afsclient_RXDebugOpenPort
(cherry picked from commit
b2db1e83c1b4b66ee4f7fb22a6211f849f0e5dd4)
Jeffrey Altman [Fri, 20 Mar 2009 17:10:19 +0000]
DEVEL15-xstat-printf-ptr-format-
20090320
LICENSE IPL10
make use of AFS_PTR_FMT to avoid warnings on Windows.
(cherry picked from commit
218f08ffedb8c75e0314ab00000adf8419fdfe7b)
Jeffrey Altman [Fri, 20 Mar 2009 17:09:12 +0000]
DEVEL15-config-afs-ptr-format-
20090320
LICENSE IPL10
Define AFS_PTR_FMT to permit per platform printf formats for pointer
representation.
(cherry picked from commit
37fc3b01445cd6446f09c476ea2db47fea544b7d)
Chaskiel M Grundman [Fri, 20 Mar 2009 15:55:48 +0000]
DEVEL15-linux-osi-vm-flushpages-use-remote-invalidate-
20090320
LICENSE IPL10
use invalidate_remote_inode instead of vmtruncate in osi_VM_FlushPages
(cherry picked from commit
18da64a45c5f1a069f39f687bd84ee51b77a6bd3)
Derrick Brashear [Fri, 20 Mar 2009 15:04:18 +0000]
DEVEL15-dyn-vcache-shake-needs-exporting-
20090320
LICENSE IPL10
update to export shakeloosevcaches
(cherry picked from commit
6ef7d7dfb8caf4a555c2de480037769783cbe88e)
Jeffrey Altman [Fri, 20 Mar 2009 12:15:12 +0000]
DEVEL15-vol-fssync-socket-
20090320
LICENSE IPL10
the argument to the function parameter is a socket. fix the type
to be osi_socket.
(cherry picked from commit
0cd43484be886721c0c4d9750f0b40015ba60756)
Jeffrey Altman [Fri, 20 Mar 2009 11:52:22 +0000]
DEVEL15-libadmin-vos-windows-exports-
20090320
LICENSE IPL10
do not export function name arrays that are already
exported by other libraries.
(cherry picked from commit
64c451cec0ccce8d095109a8697144be093c1259)
Jeffrey Altman [Fri, 20 Mar 2009 11:49:44 +0000]
DEVEL15-libadmin-client-prototypes-
20090320
LICENSE IPL10
fix the prototype for afsclient_RPCStatOpenPort and afsclient_CMStatOpenPort
(cherry picked from commit
5eea839b637a120e9b10246511b3d826a1e49a0f)
Jeffrey Altman [Fri, 20 Mar 2009 11:47:13 +0000]
DEVEL15-libadmin-windows-socket-
20090320
LICENSE IPL10
a socket on Windows is type SOCKET not HANDLE
(cherry picked from commit
14a60754951b7b4920ba1dfcf9c9aac99ae8bce4)
Jeffrey Altman [Fri, 20 Mar 2009 11:44:48 +0000]
DEVEL15-windows-osistatl-
20090320
LICENSE MIT
Add lock level to osistatl
(cherry picked from commit
df961512e1162188a60cec613dd273e25dbf63c9)
Jeffrey Altman [Fri, 20 Mar 2009 05:30:29 +0000]
DEVEL15-static-inline-macros-
20090320
LICENSE IPL10
FIXES 124515
add back support for AFS_64BIT_ENV
(cherry picked from commit
e460a6e30539086ff3c4bdb264ab57f6e045ad71)
Derrick Brashear [Fri, 20 Mar 2009 03:49:04 +0000]
DEVEL15-ubik-recovery-use-file-number-not-hardcoded-zero-
20090319
LICENSE IPL10
don't hardcode DB0, use the file number which is being recovered
(cherry picked from commit
ef5f6f988c352db58e8b9df422b417cc199b4837)
Derrick Brashear [Fri, 20 Mar 2009 03:12:23 +0000]
DEVEL15-param-file-64-bit-scalar-updates-
20090319
LICENSE IPL10
64 bit scalar type availability
(cherry picked from commit
4eef62a2f29d81d4fd8c3d28beb0403499f9802e)
Derrick Brashear [Fri, 20 Mar 2009 02:31:41 +0000]
DEVEL15-dynamic-vcache-allocation-
20090319
LICENSE IPL10
FIXES 124334
add dynamic allocation of vcaches when possible (currently just for linux)
(cherry picked from commit
e59b81c984652f7570708831d8b36bdd42f98cf8)
Derrick Brashear [Thu, 19 Mar 2009 20:13:02 +0000]
DEVEL15-cbd-new-magic-version-with-fixed-time-size-and-dump-switch-
20090319
LICENSE IPL10
FIXES 124451
make cbd able to select whether time is 32 or 64 bit; when time size is
known, have a new magic number so it's obvious
(cherry picked from commit
79d362c77cfc307dc66bfe874952a914e2313e89)
Derrick Brashear [Thu, 19 Mar 2009 18:03:51 +0000]
DEVEL15-bozo-fs-create-unused-ptr-
20090319
LICENSE IPL10
add an "unused" field so we match the prototype for create in the bnodeops
struct
(cherry picked from commit
fe98c927d3888814077b085e53725f15996cd1b9)
Derrick Brashear [Thu, 19 Mar 2009 17:44:48 +0000]
DEVEL15-static-inline-macros-
20090319
LICENSE IPL10
rework the static inline macros to work with headers, with userspace code,
and to have just one copy
(cherry picked from commit
101399171b5a5315cb3f1fdd003d56f0ca214bc8)
Derrick Brashear [Thu, 19 Mar 2009 14:58:32 +0000]
DEVEL15-viced-type-errors-
20090319
LICENSE IPL10
use ktc_encryptionKey instead of a char array to avoid prototype issues
threadNum should return int, not char
(cherry picked from commit
a343f09803a4b3d5c5492c7d52becbd1526c1f8b)
Derrick Brashear [Thu, 19 Mar 2009 14:42:49 +0000]
DEVEL15-linux-put-back-warnings-
20090319
LICENSE IPL10
need to verify this for all platforms at the same time; since the function
is portable. should be const anyway; we don't want to change it.
(cherry picked from commit
3d54f743bce4c1bd603e9572790f51e85905dabb)
Marc Dionne [Thu, 19 Mar 2009 04:02:32 +0000]
DEVEL15-linux-key-alloc-changes-
20090318
LICENSE IPL10
FIXES 124507
Fix the old configure test for key_alloc for the task argument - we
can't just rely on the number of arguments anymore. Wish this could be
done without using -Werror.
Add an additional test for the struct cred argument
(cherry picked from commit
bf9dc554b366b08ce0bef62ce242c94371938000)
Marc Dionne [Thu, 19 Mar 2009 03:58:04 +0000]
DEVEL15-mypidxx-not-always-int-
20090318
LICENSE IPL10
FIXES 124505
don't assume MyPidxx will be an int; on linux it's current, for instance, a
task_struct
(cherry picked from commit
aaae44dfe993d95a253b35f60feab5e9806e51f2)
Marc Dionne [Thu, 19 Mar 2009 03:53:42 +0000]
DEVEL15-discon-ifdef-cleanup-
20090318
LICENSE IPL10
FIXES 124508
fix the disconnected ifdefs
(cherry picked from commit
156f1b8e4a3607a49de45ca43a52f42a21cdaab8)
Jeffrey Altman [Wed, 18 Mar 2009 22:46:33 +0000]
DEVEL15-printf-sanity-
20090318
LICENSE IPL10
make it work for Windows
(cherry picked from commit
be4d4076f281840070a908a7da10f4cab70cea62)
Marc Dionne [Wed, 18 Mar 2009 13:41:35 +0000]
DEVEL15-linux-warning-reduction-
20090318
LICENSE IPL10
FIXES 119434
cleanup warnings in linux kernel builds
(cherry picked from commit
85d8bdac7439966a64709724d20dfd487911f7bc)
Jeffrey Altman [Wed, 18 Mar 2009 03:56:26 +0000]
DEVEL15-windows-afsd-badsharename-
20090317
LICENSE MIT
When Dfs support is enabled in the smb server do not return
CM_ERROR_BADSHARENAME unless the component that is not found
is in fact a share name. Return CM_ERROR_NOSUCHPATH instead.
(cherry picked from commit
09b23c27a7b59a32b8e39bbc0410ddda373da5d4)
Derrick Brashear [Tue, 17 Mar 2009 15:44:25 +0000]
DEVEL15-configure-cpp-fallback-to-cc-E-
20090317
LICENSE IPL10
if we don't find any cpp whatsoever, fall back to $CC -E, or cc -E
(cherry picked from commit
f26074cbde320fbc89da291e0aa243c2301bb599)
Derrick Brashear [Tue, 17 Mar 2009 15:10:55 +0000]
DEVEL15-prototyping-fallout-
20090317
LICENSE IPL10
clean up to make prototyping code build everywhere
(cherry picked from commit
57326151f50270695c572afa06c1d4b4b5df40b0)
Derrick Brashear [Tue, 17 Mar 2009 15:10:42 +0000]
DEVEL15-solaris-vnode-path-cache-cleanup-
20090317
LICENSE IPL10
declare needed variables everywhere
(cherry picked from commit
b7372c3e1473ffcd4ab13451d3861103b51df3af)
Simon Wilkinson [Tue, 17 Mar 2009 04:51:50 +0000]
DEVEL15-printf-sanity-
20090317
LICENSE IPL10
FIXES 124239
sanitize the arguments to printf to minimize warnings
(cherry picked from commit
355344253605925972ea032d05dcb5fee3d8c3b6)
Jeffrey Altman [Tue, 17 Mar 2009 04:50:05 +0000]
DEVEL15-vol-socket-abstraction-
20090317
LICENSE IPL10
windows needs the abstraction for sockets
(cherry picked from commit
9fa77320ca368af97162d561bb7560b9fa55666a)
Steven Jenkins [Tue, 17 Mar 2009 03:07:06 +0000]
DEVEL15-tests-update-
20090316
LICENSE IPL10
1- make afs-newcell.pl remove KeyFile in unwind
2- correct missing space in volserver setup for DAFS
3- fix klog to not try to use a Kerberos realm name
4- fix minor POD bug in src/tests/OpenAFS/wrapper.pm
5- enhance src/tests/OpenAFS/vos.pm to support On-line/Off-line state
(cherry picked from commit
8aa03f1168c19166333a47e88e667a8ca5138133)
Derrick Brashear [Tue, 17 Mar 2009 02:31:47 +0000]
DEVEL15-gtx-x11-init-debug-
20090316
LICENSE IPL10
initialize x11 version of gtx correctly
(cherry picked from commit
e7b25342096994520b7cea8eab76791edc68b9aa)
Jason Edgecombe [Tue, 17 Mar 2009 02:30:01 +0000]
DEVEL15-man-page-vos-setfields-
20090316
LICENSE BSD
FIXES 124472
New man page for vos setfields. Also adds -noresolve documentation to the
vos(1) common flags.
(cherry picked from commit
85bb464bb46cd87e10a90b75748e164ae683cba0)
Derrick Brashear [Mon, 16 Mar 2009 19:59:51 +0000]
DEVEL15-disconnected-cache-type-genericization-miss-
20090316
LICENSE IPL10
the cache type union change missed this town...
(cherry picked from commit
d26b3688625231465e17e39f082ed31f230dc667)
Derrick Brashear [Mon, 16 Mar 2009 19:51:02 +0000]
DEVEL15-ubik-header-needs-stdarg-
20090316
LICENSE IPL10
like com_err.h, includers now need this
(cherry picked from commit
a3125d5752390d424fc828d6f87da3c67589a9bb)
Jeffrey Altman [Mon, 16 Mar 2009 18:13:32 +0000]
DEVEL15-windows-afsconfig-
20090316
LICENSE MIT
add typedef for socklen_t which is not present on Windows.
(cherry picked from commit
143819664227f239c9cc07503c9fad1faa5ba9a3)
Derrick Brashear [Mon, 16 Mar 2009 17:54:28 +0000]
DEVEL15-irix-no-inline-
20090316
LICENSE IPL10
no inline on irix; deal like elsewhere
(cherry picked from commit
6862d4685510ca618c16ed9c150dcfc7e31d5299)
Jeffrey Altman [Mon, 16 Mar 2009 17:52:48 +0000]
DEVEL15-rxstat-include-path-
20090316
LICENSE IPL10
do something sensible with rxstat prototypes header
(cherry picked from commit
0e89bfb934863e6ab852b24422fa2c8f8c328120)
Simon Wilkinson [Mon, 16 Mar 2009 17:22:06 +0000]
DEVEL15-bucoord-prototypes-
20090316
LICENSE IPL10
FIXES 124238
prototype the bucoord directory
(cherry picked from commit
0097888d53b71ef38491d71c3259ca9b5ac5dfa3)
Derrick Brashear [Mon, 16 Mar 2009 17:17:27 +0000]
DEVEL15-bubasics-prototype-getsize-correctly-
20090316
LICENSE IPL10
fix prototype of getSize op
(cherry picked from commit
8377e2e34d750ef1318969f4a59b002920dc2d70)
Derrick Brashear [Mon, 16 Mar 2009 16:14:21 +0000]
DEVEL15-socklen-t-check-
20090316
LICENSE IPL10
verify we have socklen_t and if not, get it
(cherry picked from commit
2d683a880bf5f30db22862f0f6add14142dbcf9a)
Derrick Brashear [Mon, 16 Mar 2009 16:09:44 +0000]
DEVEL15-fssync-abstract-fd-type-
20090316
LICENSE IPL10
apparently 64 bit windows has 64 bit fds
(cherry picked from commit
3eec4075102b18bac036c33c9acb155e44c23f08)
Derrick Brashear [Mon, 16 Mar 2009 15:48:32 +0000]
DEVEL15-irix-no-sig-t-
20090316
LICENSE IPL10
correct the sig_t checking macro
(cherry picked from commit
7815171a8d300d550dd61c2db0f329b19390cf16)
Derrick Brashear [Mon, 16 Mar 2009 15:17:31 +0000]
DEVEL15-kauth-needs-sys-for-headers-
20090316
LICENSE IPL10
get sys's header for kauth
(cherry picked from commit
a5daae759d6b513f27f4fe3ab255ea7b4497ff41)
Simon Wilkinson [Mon, 16 Mar 2009 15:07:11 +0000]
DEVEL15-rxstat-prototypes-
20090316
LICENSE IPL10
FIXES 124235
prototype the rxstat directory
(cherry picked from commit
97fad3a313088cb0ca5c4966fb9d24dedbecf146)
Simon Wilkinson [Mon, 16 Mar 2009 14:58:04 +0000]
DEVEL15-ptserver-prototypes-
20090316
LICENSE IPL10
FIXES 124249
prototype the ptserver directory
(cherry picked from commit
79448c25acead55728f40beec18e00113d8356f4)
Derrick Brashear [Mon, 16 Mar 2009 14:41:40 +0000]
DEVEL15-vol-no-cast-macro-
20090316
LICENSE IPL10
afs_cast_uint32 doesn't exist, not sure we need it
(cherry picked from commit
92cd63b0b7cd26f05e6f316a6d209e4e5d0bfaa2)
Jeffrey Altman [Mon, 16 Mar 2009 14:19:49 +0000]
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)
Jeffrey Altman [Mon, 16 Mar 2009 14:12:46 +0000]
DEVEL15-auth-unistd-not-on-windows-
20090316
LICENSE IPL10
don't include unistd on windows
(cherry picked from commit
95d639b19452001835097fe4e0189efe5d8d08be)
Simon Wilkinson [Mon, 16 Mar 2009 14:01:06 +0000]
DEVEL15-sys-prototypes-
20090315
LICENSE IPL10
FIXES 124233
prototype the sys directory
(cherry picked from commit
6e569d2518dba2f947626b40597c71e9798936b7)
Simon Wilkinson [Mon, 16 Mar 2009 13:49:32 +0000]
DEVEL15-gtx-prototypes-
20090316
LICENSE IPL10
FIXES 124243
prototype the gtx directory
utilize in scout
(cherry picked from commit
129905960db523e0a6365175bf0ce066fdbd60fd)
Simon Wilkinson [Mon, 16 Mar 2009 13:45:21 +0000]
DEVEL15-butm-prototypes-
20090316
LICENSE IPL10
FIXES 124241
prototype the butm directory
(cherry picked from commit
2b6d173530f38fba6ac9d2cc3459d7088a248f4f)
Simon Wilkinson [Mon, 16 Mar 2009 13:43:43 +0000]
DEVEL15-uss-prototypes-
20090316
LICENSE IPL10
FIXES 124248
prototype the uss directory
(cherry picked from commit
f239bf808f63bb6a22e53696e9927ba2e4121c75)
Simon Wilkinson [Mon, 16 Mar 2009 13:41:34 +0000]
DEVEL15-budb-prototypes-
20090316
LICENSE IPL10
FIXES 124240
prototype the budb directory
(cherry picked from commit
bd00e10eb7caf66de33640bf06722d0169231703)
Simon Wilkinson [Mon, 16 Mar 2009 13:39:15 +0000]
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)
Simon Wilkinson [Mon, 16 Mar 2009 13:29:07 +0000]
DEVEL15-dir-prototypes-
20090316
LICENSE IPL10
FIXES 124242
prototype the dir directory
(cherry picked from commit
4fdda50ca7ea47d5b4b8a5cd31797b527deb148f)
Simon Wilkinson [Mon, 16 Mar 2009 13:26:48 +0000]
DEVEL15-libadmin-prototypes-
20090316
LICENSE IPL10
FIXES 124246
prototype the libadmin directory
(cherry picked from commit
cff2da10d6f2c4b568c07a331ceb96cbf952576a)
Simon Wilkinson [Mon, 16 Mar 2009 13:24:37 +0000]
DEVEL15-venus-prototypes-
20090316
LICENSE IPL10
FIXES 124250
prototype the venus directory
(cherry picked from commit
0a8f1e16ae1a18094fa28521f29bee911aa6dcfb)
Simon Wilkinson [Mon, 16 Mar 2009 13:22:25 +0000]
DEVEL15-scout-prototypes-
20090316
LICENSE IPL10
FIXES 124253
prototype the scout directory
(cherry picked from commit
379162ec07cc76550e9690f3631cc00b931744f7)
Simon Wilkinson [Mon, 16 Mar 2009 13:20:06 +0000]
DEVEL15-bozo-prototypes-
20090316
LICENSE IPL10
FIXES 124236
prototype the bozo directory
(cherry picked from commit
0dcdbf6dcda0814a5f24e84d4ef98ffc2279eff1)
Simon Wilkinson [Mon, 16 Mar 2009 13:17:43 +0000]
DEVEL15-auth-prototypes-
20090316
LICENSE IPL10
FIXES 124234
prototype the auth directory
(cherry picked from commit
01e03837b81843c4f28eb6cc54811b1bd231514c)
Simon Wilkinson [Mon, 16 Mar 2009 13:13:55 +0000]
DEVEL15-afsd-prototypes-
20090316
LICENSE IPL10
FIXES 124231
prototype the afsd directory
(cherry picked from commit
242aa845a149d5132047e44d074064093fd2d61b)
Simon Wilkinson [Mon, 16 Mar 2009 13:11:55 +0000]
DEVEL15-vol-prototypes-
20090316
LICENSE IPL10
FIXES 124252
prototype the vol directory
(cherry picked from commit
f28659bd826c2bb7311c84122262000caf33316c)
Jeffrey Altman [Mon, 16 Mar 2009 12:37:40 +0000]
DEVEL15-ubik-prototype-fallout-
20090316
LICENSE IPL10
make things happy again
(cherry picked from commit
a0179b07096014e31ba6ecf1643a9cf67ba45a24)
Derrick Brashear [Mon, 16 Mar 2009 03:44:47 +0000]
DEVEL15-irix-lacks-sig-t-
20090315
LICENSE IPL10
sig_t is missing on irix
(cherry picked from commit
61dadb6458ec95b5bf4bd4250520453630fbbe4c)
Simon Wilkinson [Mon, 16 Mar 2009 03:10:31 +0000]
DEVEL15-viced-prototypes-
20090315
LICENSE IPL10
FIXES 124251
prototype the viced directory
(cherry picked from commit
596614dd76aa5107f6cd30c67a79b371be48f504)
Simon Wilkinson [Mon, 16 Mar 2009 03:03:24 +0000]
DEVEL15-ubik-prototypes-
20090315
LICENSE IPL10
FIXES 124245
prototype the ubik directory
(cherry picked from commit
d5158b2ccb78fc7df0a346c7a5dd5b7cb5d0b58b)
Simon Wilkinson [Mon, 16 Mar 2009 02:54:11 +0000]
DEVEL15-fsprobe-prototypes-
20090315
LICENSE IPL10
FIXES 124254
prototype the fsprobe directory
(cherry picked from commit
b18ec965dd58331eb32599a21e882fbe43a8257e)
Simon Wilkinson [Mon, 16 Mar 2009 02:42:45 +0000]
DEVEL15-libacl-prototypes-
20090315
LICENSE IPL10
FIXES 124256
prototype the libacl directory
(cherry picked from commit
8952e3d64d8099a5238be3ccf9cb56a7c0d1a2df)
Simon Wilkinson [Mon, 16 Mar 2009 02:35:39 +0000]
DEVEL15-kauth-prototypes-
20090315
LICENSE IPL10
FIXES 124257
prototype the kauth directory
(cherry picked from commit
2e4326e20ebadc2cb9b3efd117454bc422cdc63d)
Simon Wilkinson [Mon, 16 Mar 2009 02:26:40 +0000]
DEVEL15-rxgen-prototypes-
20090315
LICENSE IPL10
FIXES 124255
prototype the rxgen directory
(cherry picked from commit
12a60258f5ae680440b2a93369ca676359c888d4)
Simon Wilkinson [Mon, 16 Mar 2009 02:00:39 +0000]
DEVEL15-util-prototypes-
20090315
LICENSE IPL10
FIXES 124247
prototype the util directory
(cherry picked from commit
47451b4c2009c51160686b4aca1b28b7011ba92f)
Simon Wilkinson [Mon, 16 Mar 2009 01:38:17 +0000]
DEVEL15-audit-prototypes-
20090315
LICENSE IPL10
FIXES 124232
prototype the audit directory
(cherry picked from commit
00fd29251e9326bd81d46387337ca014a118f7ec)
Simon Wilkinson [Mon, 16 Mar 2009 01:34:48 +0000]
DEVEL15-des-prototypes-
20090315
LICENSE IPL10
FIXES 124230
prototype the des directory
(cherry picked from commit
c560efe73f79e396866918ee072849065ab70838)
Rainer Toebbicke [Sun, 15 Mar 2009 18:50:10 +0000]
DEVEL15-viced-copyonwrite-optimization-
20090315
LICENSE IPL10
FIXES 124397
optimize CopyOnWrite to avoid rewriting data if possible
(cherry picked from commit
0c39a855a2da7b3e82970c65f835eed38b650215)
Chaskiel M Grundman [Sun, 15 Mar 2009 18:42:23 +0000]
DEVEL15-cellservdb-proc-file-glocking-
20090315
LICENSE IPL10
FIXES 124407
hold GLOCK appropriately when dealing with the proc file
(cherry picked from commit
6308037dec22d5a141fc64a11472b1a36585deb2)
Mike Meffie [Sun, 15 Mar 2009 18:30:52 +0000]
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)
Mike Meffie [Sun, 15 Mar 2009 18:19:25 +0000]
DEVEL15-butc-xbsa-buffersize-
20090315
LICENSE IPL10
FIXES 124425
restrict buffer size to allow for header space
(cherry picked from commit
fd6d954e95e016a78001e9bc12c4646ba8183e12)
Chaskiel M Grundman [Sun, 15 Mar 2009 18:13:36 +0000]
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)
Derrick Brashear [Sun, 15 Mar 2009 18:02:41 +0000]
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)
Jeffrey Altman [Sat, 14 Mar 2009 04:59:34 +0000]
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)
Jeffrey Altman [Sat, 14 Mar 2009 04:55:09 +0000]
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)
Jeffrey Altman [Sat, 14 Mar 2009 04:51:19 +0000]
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)
Jeffrey Altman [Sat, 14 Mar 2009 04:49:15 +0000]
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)
Jeffrey Altman [Sat, 14 Mar 2009 04:45:32 +0000]
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)
Matt Benjamin [Tue, 10 Mar 2009 19:21:22 +0000]
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)
Jeffrey Altman [Sat, 7 Mar 2009 14:10:43 +0000]
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)
Jeffrey Altman [Mon, 2 Mar 2009 04:45:15 +0000]
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)
Jeffrey Altman [Sat, 28 Feb 2009 16:19:26 +0000]
DEVEL15-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.
(cherry picked from commit
5d147351263be2636ef547f22acb24c7816348c1)
Jeffrey Altman [Sat, 28 Feb 2009 15:41:44 +0000]
DEVEL15-windows-afsd-btree-
20090228
LICENSE MIT
Change how BPlusDir enumerations behave with regards to bulk stat
operations. If the number of entries in the enumeration is larger
than the number of cm_scache objects, then using the previous model
of cm_BPlusDirEnumBulkStat being called for the entire enumeration
list results in the early objects being recycled and the status
info discarded before the caller of cm_BPlusDirNextEnumEntry()
receives the name.
The revised model triggers bulk stat operations from within
NextEnumEntry() as objects requiring status fetching are about
to be returned to the caller. This reduces the thrashing of the
stat cache.
We should consider adding a flag field to cm_BPlusDirEnumerate()
or cm_BPlusDirNextEnumEntry() to permit enumeration without
status fetching.
(cherry picked from commit
a32971251670acc7944dcd4b1eade1ab161e587f)
Jeffrey Altman [Fri, 27 Feb 2009 07:26:49 +0000]
DEVEL15-windows-afsd-error-map-
20090227
LICENSE MIT
do not permit VNOSERVICE or VOFFLINE or VSALVAGE to leak and
be returned as an error code. The resulting NTSTATUS is not valid.
(cherry picked from commit
fbfaaf26890102dbe34315128183c27ce67f77a3)
Jeffrey Altman [Thu, 26 Feb 2009 17:47:44 +0000]
DEVEL15-windows-tests-torture-
20090226
LICENSE MIT
create a file of the specified size
(cherry picked from commit
ab0691760f4cdd2fe8bded4700d051ea1ba51856)
Jeffrey Altman [Thu, 26 Feb 2009 17:29:15 +0000]
DEVEL15-windows-tests-
20090226
LICENSE MIT
pullup tests from head to 1.5 branch