openafs.git
14 years agolinux-task-becomes-task-struct-20090323
Derrick Brashear [Mon, 23 Mar 2009 15:16:30 +0000]
linux-task-becomes-task-struct-20090323

LICENSE IPL10

struct task->struct task_struct. configure needs to cope

14 years agokrb5-run-configure-tests-20090321
Derrick Brashear [Sat, 21 Mar 2009 16:29:46 +0000]
krb5-run-configure-tests-20090321

LICENSE IPL10
FIXES 124522

--with-krb5=/path caused us to not run configure tests. fix that

14 years agoaix-no-aklog-tsm-without-krb5-20090320
Derrick Brashear [Sat, 21 Mar 2009 15:49:07 +0000]
aix-no-aklog-tsm-without-krb5-20090320

LICENSE IPL10
FIXES 124522

don't build aklog_dynamic_auth without krb5

14 years agorx-prototypes-alloc-free-ifdefs-20090321
Derrick Brashear [Sat, 21 Mar 2009 15:45:41 +0000]
rx-prototypes-alloc-free-ifdefs-20090321

LICENSE IPL10

don't prototype osi_Alloc/osi_Free if they're just #defines

14 years agosig-t-exclude-multiple-20090321
Derrick Brashear [Sat, 21 Mar 2009 15:39:05 +0000]
sig-t-exclude-multiple-20090321

LICENSE IPL10

disallow multiple typedefs of sig_t

14 years agoupdate-config-guess-20090321
Derrick Brashear [Sat, 21 Mar 2009 15:07:41 +0000]
update-config-guess-20090321

LICENSE IPL10

update from upstream

14 years agoaix51-pag-header-20090320
Derrick Brashear [Fri, 20 Mar 2009 22:44:54 +0000]
aix51-pag-header-20090320

LICENSE IPL10
FIXES 124522

no sys/pag.h until 5.2

14 years agovol-fssync-server-socket-20090320
Jeffrey Altman [Fri, 20 Mar 2009 17:25:21 +0000]
vol-fssync-server-socket-20090320

LICENSE IPL10

another location where we need osi_socket

14 years agolibadmin-client-prototype-20090320
Jeffrey Altman [Fri, 20 Mar 2009 17:21:51 +0000]
libadmin-client-prototype-20090320

LICENSE IPL10

correct the prototype for afsclient_RXDebugOpenPort

14 years agoxstat-printf-ptr-format-20090320
Jeffrey Altman [Fri, 20 Mar 2009 17:10:06 +0000]
xstat-printf-ptr-format-20090320

LICENSE IPL10

make use of AFS_PTR_FMT to avoid warnings on Windows.

14 years agoconfig-afs-ptr-format-20090320
Jeffrey Altman [Fri, 20 Mar 2009 17:09:01 +0000]
config-afs-ptr-format-20090320

LICENSE IPL10

Define AFS_PTR_FMT to permit per platform printf formats for pointer
representation.

14 years agolinux-osi-vm-flushpages-use-remote-invalidate-20090320
Chaskiel M Grundman [Fri, 20 Mar 2009 15:55:38 +0000]
linux-osi-vm-flushpages-use-remote-invalidate-20090320

LICENSE IPL10

use invalidate_remote_inode instead of vmtruncate in osi_VM_FlushPages

14 years agodyn-vcache-shake-needs-exporting-20090320
Derrick Brashear [Fri, 20 Mar 2009 15:04:08 +0000]
dyn-vcache-shake-needs-exporting-20090320

LICENSE IPL10

update to export shakeloosevcaches

14 years agovol-fssync-socket-20090320
Jeffrey Altman [Fri, 20 Mar 2009 12:15:01 +0000]
vol-fssync-socket-20090320

LICENSE IPL10

the argument to the function parameter is a socket.  fix the type
to be osi_socket.

14 years agolibadmin-vos-windows-exports-20090320
Jeffrey Altman [Fri, 20 Mar 2009 11:51:55 +0000]
libadmin-vos-windows-exports-20090320

LICENSE IPL10

do not export function name arrays that are already
exported by other libraries.

14 years agolibadmin-client-prototypes-20090320
Jeffrey Altman [Fri, 20 Mar 2009 11:49:27 +0000]
libadmin-client-prototypes-20090320

LICENSE IPL10

fix the prototype for afsclient_RPCStatOpenPort and afsclient_CMStatOpenPort

14 years agolibadmin-windows-socket-20090320
Jeffrey Altman [Fri, 20 Mar 2009 11:47:00 +0000]
libadmin-windows-socket-20090320

LICENSE IPL10

a socket on Windows is type SOCKET not HANDLE

14 years agowindows-osistatl-20090320
Jeffrey Altman [Fri, 20 Mar 2009 11:44:29 +0000]
windows-osistatl-20090320

LICENSE MIT

Add lock level to osistatl

14 years agostatic-inline-macros-20090320
Jeffrey Altman [Fri, 20 Mar 2009 05:30:12 +0000]
static-inline-macros-20090320

LICENSE IPL10
FIXES 124515

add back support for AFS_64BIT_ENV

14 years agoubik-recovery-use-file-number-not-hardcoded-zero-20090319
Derrick Brashear [Fri, 20 Mar 2009 03:48:52 +0000]
ubik-recovery-use-file-number-not-hardcoded-zero-20090319

LICENSE IPL10

don't hardcode DB0, use the file number which is being recovered

14 years agoparam-file-64-bit-scalar-updates-20090319
Derrick Brashear [Fri, 20 Mar 2009 03:12:11 +0000]
param-file-64-bit-scalar-updates-20090319

LICENSE IPL10

64 bit scalar type availability

14 years agodynamic-vcache-allocation-20090319
Derrick Brashear [Fri, 20 Mar 2009 02:30:49 +0000]
dynamic-vcache-allocation-20090319

LICENSE IPL10
FIXES 124334

add dynamic allocation of vcaches when possible (currently just for linux)

14 years agocbd-new-magic-version-with-fixed-time-size-and-dump-switch-20090319
Derrick Brashear [Thu, 19 Mar 2009 20:12:53 +0000]
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

14 years agobozo-fs-create-unused-ptr-20090319
Derrick Brashear [Thu, 19 Mar 2009 18:03:41 +0000]
bozo-fs-create-unused-ptr-20090319

LICENSE IPL10

add an "unused" field so we match the prototype for create in the bnodeops
struct

14 years agostatic-inline-macros-20090319
Derrick Brashear [Thu, 19 Mar 2009 17:44:39 +0000]
static-inline-macros-20090319

LICENSE IPL10

rework the static inline macros to work with headers, with userspace code,
and to have just one copy

14 years agoviced-type-errors-20090319
Derrick Brashear [Thu, 19 Mar 2009 14:58:22 +0000]
viced-type-errors-20090319

LICENSE IPL10

use ktc_encryptionKey instead of a char array to avoid prototype issues
threadNum should return int, not char

14 years agolinux-put-back-warnings-20090319
Derrick Brashear [Thu, 19 Mar 2009 14:42:39 +0000]
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.

14 years agolinux-key-alloc-changes-20090318
Marc Dionne [Thu, 19 Mar 2009 04:02:18 +0000]
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

14 years agomypidxx-not-always-int-20090318
Marc Dionne [Thu, 19 Mar 2009 03:57:42 +0000]
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

14 years agodiscon-ifdef-cleanup-20090318
Marc Dionne [Thu, 19 Mar 2009 03:53:31 +0000]
discon-ifdef-cleanup-20090318

LICENSE IPL10
FIXES 124508

fix the disconnected ifdefs

14 years agoprintf-sanity-20090318
Jeffrey Altman [Wed, 18 Mar 2009 22:46:21 +0000]
printf-sanity-20090318

LICENSE IPL10

make it work for Windows

14 years agolinux-warning-reduction-20090318
Marc Dionne [Wed, 18 Mar 2009 13:41:07 +0000]
linux-warning-reduction-20090318

LICENSE IPL10
FIXES 119434

cleanup warnings in linux kernel builds

14 years agowindows-afsd-badsharename-20090317
Jeffrey Altman [Wed, 18 Mar 2009 03:56:12 +0000]
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.

14 years agoconfigure-cpp-fallback-to-cc-E-20090317
Derrick Brashear [Tue, 17 Mar 2009 15:44:15 +0000]
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

14 years agoprototyping-fallout-20090317
Derrick Brashear [Tue, 17 Mar 2009 15:10:23 +0000]
prototyping-fallout-20090317

LICENSE IPL10

clean up to make prototyping code build everywhere

14 years agosolaris-vnode-path-cache-cleanup-20090317
Derrick Brashear [Tue, 17 Mar 2009 15:09:49 +0000]
solaris-vnode-path-cache-cleanup-20090317

LICENSE IPL10

declare needed variables everywhere

14 years agoprintf-sanity-20090317
Simon Wilkinson [Tue, 17 Mar 2009 04:51:40 +0000]
printf-sanity-20090317

LICENSE IPL10
FIXES 124239

sanitize the arguments to printf to minimize warnings

14 years agovol-socket-abstraction-20090317
Jeffrey Altman [Tue, 17 Mar 2009 04:49:35 +0000]
vol-socket-abstraction-20090317

LICENSE IPL10

windows needs the abstraction for sockets

14 years agotests-update-20090316
Steven Jenkins [Tue, 17 Mar 2009 03:06:52 +0000]
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

14 years agogtx-x11-init-debug-20090316
Derrick Brashear [Tue, 17 Mar 2009 02:31:24 +0000]
gtx-x11-init-debug-20090316

LICENSE IPL10

initialize x11 version of gtx correctly

14 years agoman-page-vos-setfields-20090316
Jason Edgecombe [Tue, 17 Mar 2009 02:21:14 +0000]
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.

14 years agodisconnected-cache-type-genericization-miss-20090316
Derrick Brashear [Mon, 16 Mar 2009 19:59:36 +0000]
disconnected-cache-type-genericization-miss-20090316

LICENSE IPL10

the cache type union change missed this town...

14 years agoubik-header-needs-stdarg-20090316
Derrick Brashear [Mon, 16 Mar 2009 19:50:49 +0000]
ubik-header-needs-stdarg-20090316

LICENSE IPL10

like com_err.h, includers now need this

14 years agowindows-afsconfig-20090316
Jeffrey Altman [Mon, 16 Mar 2009 18:13:21 +0000]
windows-afsconfig-20090316

LICENSE MIT

add typedef for socklen_t which is not present on Windows.

14 years agoirix-no-inline-20090316
Derrick Brashear [Mon, 16 Mar 2009 17:54:12 +0000]
irix-no-inline-20090316

LICENSE IPL10

no inline on irix; deal like elsewhere

14 years agorxstat-include-path-20090316
Jeffrey Altman [Mon, 16 Mar 2009 17:52:31 +0000]
rxstat-include-path-20090316

LICENSE IPL10

do something sensible with rxstat prototypes header

14 years agobucoord-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 17:21:49 +0000]
bucoord-prototypes-20090316

LICENSE IPL10
FIXES 124238

prototype the bucoord directory

14 years agobubasics-prototype-getsize-correctly-20090316
Derrick Brashear [Mon, 16 Mar 2009 17:17:17 +0000]
bubasics-prototype-getsize-correctly-20090316

LICENSE IPL10

fix prototype of getSize op

14 years agosocklen-t-check-20090316
Derrick Brashear [Mon, 16 Mar 2009 16:14:12 +0000]
socklen-t-check-20090316

LICENSE IPL10

verify we have socklen_t and if not, get it

14 years agofssync-abstract-fd-type-20090316
Derrick Brashear [Mon, 16 Mar 2009 16:09:34 +0000]
fssync-abstract-fd-type-20090316

LICENSE IPL10

apparently 64 bit windows has 64 bit fds

14 years agoirix-no-sig-t-20090316
Derrick Brashear [Mon, 16 Mar 2009 15:48:20 +0000]
irix-no-sig-t-20090316

LICENSE IPL10

correct the sig_t checking macro

14 years agokauth-needs-sys-for-headers-20090316
Derrick Brashear [Mon, 16 Mar 2009 15:17:12 +0000]
kauth-needs-sys-for-headers-20090316

LICENSE IPL10

get sys's header for kauth

14 years agorxstat-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 15:06:54 +0000]
rxstat-prototypes-20090316

LICENSE IPL10
FIXES 124235

prototype the rxstat directory

14 years agovol-no-cast-macro-20090316
Derrick Brashear [Mon, 16 Mar 2009 14:41:22 +0000]
vol-no-cast-macro-20090316

LICENSE IPL10

afs_cast_uint32 doesn't exist, not sure we need it

14 years agobudb-no-pointer-math-on-void-star-20090316
Jeffrey Altman [Mon, 16 Mar 2009 14:19:39 +0000]
budb-no-pointer-math-on-void-star-20090316

LICENSE IPL10

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

14 years agoauth-unistd-not-on-windows-20090316
Jeffrey Altman [Mon, 16 Mar 2009 14:12:37 +0000]
auth-unistd-not-on-windows-20090316

LICENSE IPL10

don't include unistd on windows

14 years agosys-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 14:00:56 +0000]
sys-prototypes-20090315

LICENSE IPL10
FIXES 124233

prototype the sys directory

14 years agogtx-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:49:15 +0000]
gtx-prototypes-20090316

LICENSE IPL10
FIXES 124243

prototype the gtx directory
utilize in scout

14 years agobutm-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:45:11 +0000]
butm-prototypes-20090316

LICENSE IPL10
FIXES 124241

prototype the butm directory

14 years agouss-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:43:34 +0000]
uss-prototypes-20090316

LICENSE IPL10
FIXES 124248

prototype the uss directory

14 years agobudb-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:41:23 +0000]
budb-prototypes-20090316

LICENSE IPL10
FIXES 124240

prototype the budb directory

14 years agobubasics-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:39:03 +0000]
bubasics-prototypes-20090316

LICENSE IPL10
FIXES 124237

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

14 years agodir-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:28:55 +0000]
dir-prototypes-20090316

LICENSE IPL10
FIXES 124242

prototype the dir directory

14 years agolibadmin-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:26:20 +0000]
libadmin-prototypes-20090316

LICENSE IPL10
FIXES 124246

prototype the libadmin directory

14 years agovenus-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:24:25 +0000]
venus-prototypes-20090316

LICENSE IPL10
FIXES 124250

prototype the venus directory

14 years agoscout-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:22:15 +0000]
scout-prototypes-20090316

LICENSE IPL10
FIXES 124253

prototype the scout directory

14 years agobozo-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:19:47 +0000]
bozo-prototypes-20090316

LICENSE IPL10
FIXES 124236

prototype the bozo directory

14 years agoauth-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:17:33 +0000]
auth-prototypes-20090316

LICENSE IPL10
FIXES 124234

prototype the auth directory

14 years agoafsd-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:13:45 +0000]
afsd-prototypes-20090316

LICENSE IPL10
FIXES 124231

prototype the afsd directory

14 years agovol-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:11:42 +0000]
vol-prototypes-20090316

LICENSE IPL10
FIXES 124252

prototype the vol directory

14 years agoptserver-prototypes-20090316
Simon Wilkinson [Mon, 16 Mar 2009 13:08:38 +0000]
ptserver-prototypes-20090316

LICENSE IPL10
FIXES 124249

prototype the ptserver directory

14 years agoubik-prototype-fallout-20090316
Jeffrey Altman [Mon, 16 Mar 2009 12:37:09 +0000]
ubik-prototype-fallout-20090316

LICENSE IPL10

make things happy again

14 years agoirix-lacks-sig-t-20090315
Derrick Brashear [Mon, 16 Mar 2009 03:44:36 +0000]
irix-lacks-sig-t-20090315

LICENSE IPL10

sig_t is missing on irix

14 years agoviced-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 03:10:21 +0000]
viced-prototypes-20090315

LICENSE IPL10
FIXES 124251

prototype the viced directory

14 years agoubik-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 03:03:14 +0000]
ubik-prototypes-20090315

LICENSE IPL10
FIXES 124245

prototype the ubik directory

14 years agofsprobe-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 02:53:55 +0000]
fsprobe-prototypes-20090315

LICENSE IPL10
FIXES 124254

prototype the fsprobe directory

14 years agolibacl-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 02:42:34 +0000]
libacl-prototypes-20090315

LICENSE IPL10
FIXES 124256

prototype the libacl directory

14 years agokauth-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 02:35:29 +0000]
kauth-prototypes-20090315

LICENSE IPL10
FIXES 124257

prototype the kauth directory

14 years agorxgen-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 02:26:28 +0000]
rxgen-prototypes-20090315

LICENSE IPL10
FIXES 124255

prototype the rxgen directory

14 years agoutil-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 02:00:27 +0000]
util-prototypes-20090315

LICENSE IPL10
FIXES 124247

prototype the util directory

14 years agoaudit-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 01:38:07 +0000]
audit-prototypes-20090315

LICENSE IPL10
FIXES 124232

prototype the audit directory

14 years agodes-prototypes-20090315
Simon Wilkinson [Mon, 16 Mar 2009 01:34:36 +0000]
des-prototypes-20090315

LICENSE IPL10
FIXES 124230

prototype the des directory

14 years agoviced-copyonwrite-optimization-20090315
Rainer Toebbicke [Sun, 15 Mar 2009 18:50:00 +0000]
viced-copyonwrite-optimization-20090315

LICENSE IPL10
FIXES 124397

optimize CopyOnWrite to avoid rewriting data if possible

14 years agocellservdb-proc-file-glocking-20090315
Chaskiel M Grundman [Sun, 15 Mar 2009 18:42:13 +0000]
cellservdb-proc-file-glocking-20090315

LICENSE IPL10
FIXES 124407

hold GLOCK appropriately when dealing with the proc file

14 years agoviced-improve-host-hashing-20090315
Mike Meffie [Sun, 15 Mar 2009 18:30:41 +0000]
viced-improve-host-hashing-20090315

LICENSE IPL10
FIXES 124447

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

14 years agobutc-xbsa-buffersize-20090315
Mike Meffie [Sun, 15 Mar 2009 18:19:15 +0000]
butc-xbsa-buffersize-20090315

LICENSE IPL10
FIXES 124425

restrict buffer size to allow for header space

14 years agosolaris-avoid-returning-einval-if-possible-20090315
Chaskiel M Grundman [Sun, 15 Mar 2009 18:13:25 +0000]
solaris-avoid-returning-einval-if-possible-20090315

LICENSE IPL10
FIXES 124426

if we have a better error code, return it.

14 years agoaklog-old-principal-conversion-sans-524-20090315
Derrick Brashear [Sun, 15 Mar 2009 18:02:31 +0000]
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

14 years agowindows-afsd-reset-acl-cache-20090312
Jeffrey Altman [Sat, 14 Mar 2009 04:59:23 +0000]
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.

14 years agowindows-afsd-unlock-20090312
Jeffrey Altman [Sat, 14 Mar 2009 04:54:59 +0000]
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.

14 years agowindows-freelance-20090312
Jeffrey Altman [Sat, 14 Mar 2009 04:51:11 +0000]
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.

14 years agowindows-afsd-callback-20090312
Jeffrey Altman [Sat, 14 Mar 2009 04:49:06 +0000]
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.

14 years agowindows-afsd-btree-20090313
Jeffrey Altman [Sat, 14 Mar 2009 04:45:22 +0000]
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.

14 years agodumpcallbackstate-64bit-timet-safe-20090310
Matt Benjamin [Tue, 10 Mar 2009 19:21:12 +0000]
dumpcallbackstate-64bit-timet-safe-20090310

LICENSE IPL10
FIXES 124451

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

14 years agoavoid-blocking-with-connhashtable-lock-in-reapconnections-20090307
Jeffrey Altman [Sat, 7 Mar 2009 14:10:23 +0000]
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

14 years agowindows-afsd-server-uuid-20090301
Jeffrey Altman [Mon, 2 Mar 2009 04:44:43 +0000]
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.

14 years agowindow-afsd-bad-version-20090228
Jeffrey Altman [Sat, 28 Feb 2009 16:19:13 +0000]
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.

14 years agowindows-afsd-btree-20090228
Jeffrey Altman [Sat, 28 Feb 2009 15:40:56 +0000]
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.

14 years agowindows-afsd-error-map-20090227
Jeffrey Altman [Fri, 27 Feb 2009 07:26:35 +0000]
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.

14 years agowindows-tests-torture-20090226
Jeffrey Altman [Thu, 26 Feb 2009 17:46:32 +0000]
windows-tests-torture-20090226

LICENSE MIT

fix error message

create a file of the specified size