Commit Graph

5882 Commits

Author SHA1 Message Date
Simon Wilkinson
4ecaeaac97 linux-key-alloc-no-pointer-arith-20090404
LICENSE IPL10

make the key_alloc configure test work
2009-04-04 17:43:42 +00:00
Jeffrey Altman
f6b4902dae windows-afsd-no-more-ods-20090402
LICENSE MIT

Any use of OutputDebugString() in production can result in serious
delays in the execution of the thread that issues the call.  Remove
the last of the unprotected calls within afsd_service.
2009-04-03 03:56:36 +00:00
Jeffrey Altman
fc408da993 windows-rx-xmit-20090402
LICENSE IPL10

permit compilation with Windows SDK v6.0/6.1 which hides
previously exposed XP symbols unless _WINNT_WIN32 is at
least 0x0501
2009-04-02 08:44:51 +00:00
Jeffrey Altman
0700567eef windows-src-makefile-two-20090402
LICENSE MIT

get the i386 case right

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
LICENSE MIT

fixup the @echo again
2009-04-02 08:40:06 +00:00
Jeffrey Altman
27aedf7a2c windows-src-makefile-20090402
LICENSE MIT

remove extraneous echo command output

do not attempt to build NSIS target on non-x86 platforms
since support is not implemented
2009-04-02 06:06:44 +00:00
Jeffrey Altman
8673c0de48 windows-config-clean-20090402
LICENSE MIT

permit "nmake -f ntmakefile clean" to complete on a
clean source tree.
2009-04-02 06:04:48 +00:00
Asanka Herath
d862476191 windows-install-loopback-20090401
LICENSE MIT

Define INCLUDE variable and reorder binary link order
to ensure compatibility with latest WDK/SDK combinations.
2009-04-01 23:56:16 +00:00
Jeffrey Altman
d8a8bfb5c3 windows-talocale-20090401
LICENSE MIT

perform proper casting to avoid a warning
2009-04-01 18:36:29 +00:00
Jeffrey Altman
520fef4278 windows-afsd-smb-logging-20090401
LICENSE MIT

Add more info about the smb request to the log entry
that is written to afsd_init.log if the request took
longer than 45 seconds to complete.
2009-04-01 18:30:29 +00:00
Jeffrey Altman
37f582326c windows-afsd-priority-class-20090401
LICENSE MIT

Change the default priority class for afsd_service.exe to High.
This matches the priority class assigned to other system processes
that generate requests to afsd_service.exe.

Permit the ..\TransarcAFSDaemon\Parameters "PriorityClass"
registry value to be used to change the default.
2009-04-01 18:29:15 +00:00
Jeffrey Altman
d7749751df xdr-free-20090401
LICENSE MIT

add xdr_free() and export it from afsrpc.dll.  This permits applications
to free memory allocated within the xdr routines with the same run time
library memory management routines as was used to allocate it.

This is necessary on Windows to prevent memory corruption.

VL_GetAddrsU() is an example where a xdr array is allocated in the
library and must be freed by the application.
2009-04-01 17:37:50 +00:00
Jeffrey Altman
3d81394f91 windows-afsd-xdr-free-20090401
LICENSE MIT

make use of xdr_free() to release memory allocated within afsrpc.dll.
this prevents crashes when the library is built with a different
runtime library version than the application.

fix signed/unsigned warnings in the same code snippet
2009-04-01 17:35:29 +00:00
Derrick Brashear
84871adb4b dynamic-vcache-no-printf-20090331
LICENSE IPL10

no printf in releases
2009-03-31 13:41:25 +00:00
Marc Dionne
d0a166bdff linux-2630-maybe-20090331
LICENSE IPL10
FIXES 124560

hopefully support 2.6.30 when it's released
2009-03-31 13:16:17 +00:00
Jeffrey Altman
07c187c843 windows-afsd-log-smb-mid-20090328
LICENSE MIT

For each SMB transation log the 'mid' field of the smb packet.
The 'mid' field can be used as a reference against the mrxsmb request
logging for debugging purposes.
2009-03-28 23:25:16 +00:00
Jeffrey Altman
4bc36a697f windows-remove-reset-all-vcs-event-20090328
LICENSE MIT

remove the smb reset all VCs message.  duplicates the
reportSessionStartups functionality.
2009-03-28 23:17:29 +00:00
Jeffrey Altman
27609fe288 windows-afsd-symlink-20090327
LICENSE MIT

Increase max symlink limit to 64 and remove the repeated fid
recursion test.  Breaks too many things.
2009-03-27 17:58:02 +00:00
Jeffrey Altman
977674dfb0 volser-new-is-special-20090324
LICENSE IPL10

Do not permit the word "new" to be used for a field name as it is
special.  Our headers get pulled into C++ compilations.
2009-03-25 01:15:20 +00:00
Mike Meffie
a523710780 uss-kvno-warning-fix-20090327
LICENSE IPL10
FIXES 124220

suppress bogus kvno warning in uss
2009-03-27 15:47:23 +00:00
Chaskiel M Grundman
9243308990 linux-flushpages-call-truncate-inode-pages-after-all-20090327
LICENSE IPL10

in this case we're discarding just the data in case it's stale, so this is
correct
2009-03-27 15:45:27 +00:00
Garry Zacheiss
3fcbdab188 bucoord-update-kvno-check-20090327
LICENSE IPL10

update kvno check in bucoord to match what it is elsewhere
2009-03-27 13:45:49 +00:00
Simon Wilkinson
4ced67ca98 vol-proto-do-not-break-dafs-20090326
LICENSE IPL10
FIXES 12540

Reenable prototype of VolumeExternalName_r for dafs
2009-03-26 23:42:03 +00:00
Andrew Deason
8cc60f4931 state-analyzer-usage-20090326
LICENSE IPL10
FIXES 124539

fix usage for state-analyzer
2009-03-26 21:33:50 +00:00
Derrick Brashear
d4359ad72a return-values-missing-fix-20090326
LICENSE IPL10
FIXES 124194

add return values for functions missing them
2009-03-26 14:30:13 +00:00
Chaskiel M Grundman
80494f5096 cbr-free-what-you-alloc-20090325
LICENSE IPL10
FIXES 124531

dequeue and free items as alloc'd
2009-03-25 19:34:38 +00:00
Derrick Brashear
4162ff9d4d shutdown-vcache-avoid-null-deref-20090324
LICENSE IPL10

avoid potential null pointer deref at shutdown
2009-03-24 22:40:05 +00:00
Simon Wilkinson
cc0922c26f redhat-spec-update-20090325
LICENSE IPL10
FIXES 123650

install afszcm.cat, update CellServDB
2009-03-25 18:42:17 +00:00
Rainer Toebbicke
78e29484eb copyonwrite-optimization-fix-20090325
LICENSE IPL10

update to do tail case
2009-03-25 14:34:38 +00:00
Jeffrey Altman
db844c4584 vol-split-warnings-no-win-20090324
LICENSE IPL10

remove many warnings

disable on Windows since there are missing dependencies in ntops.c
2009-03-24 22:36:09 +00:00
Derrick Brashear
5e770d6d18 volser-split-namei-only-20090324
LICENSE IPL10

make vos split be namei-only
2009-03-24 18:20:23 +00:00
Derrick Brashear
1f83528147 vol-split-nearino-20090324
LICENSE IPL10

add nearInode hint
2009-03-24 17:55:48 +00:00
Derrick Brashear
9a697699b4 vfsck-needs-fd-t-defn-20090324
LICENSE IPL10

make vfsck build again
2009-03-24 14:23:58 +00:00
Derrick Brashear
4df81d17bf volser-prototype-cleanup-20090324
LICENSE IPL10

make prototypes and return values etc match
2009-03-24 14:21:56 +00:00
Hartmut Reuter
ba742892e2 volserver-split-volume-functionality-20090324
LICENSE IPL10
FIXES 124520

implement the server side of vos split
2009-03-24 13:36:23 +00:00
Derrick Brashear
71a73608b1 fssync-enum-syntax-20090324
LICENSE IPL10

no trailing comma
2009-03-24 12:43:05 +00:00
Derrick Brashear
63b0d495cf fd-t-definition-fun-20090323
LICENSE IPL10

make FD_t be defined everywhere we need it
2009-03-24 04:31:13 +00:00
Derrick Brashear
ede1c215d1 viced-threadnum-return-cast-20090323
LICENSE IPL10

cast return type from threadNum
2009-03-24 03:43:59 +00:00
Jeffrey Altman
a209012f1a vol-lock-fd-type-20090323
LICENSE IPL10

the lock_fd field of DiskPartition[64] is a file descriptor.
On Windows this is a HANDLE and on *nix platforms an int.
OpenAFS uses the FD_t type to provide platform specific type
info for file descriptors.  Use it for the lock_fd field and
the salvageLock in ObtainsSalvageLock().

Finally, the on the wire diskPartition[64] struct in volser/volint.xg
also contains a lock_fd field.  This is an on the wire field and
must be left at a fixed width of 32-bits.  Since a file descriptor
is not portable across machines we truncate the 64-bit HANDLE value
to fit in the 32-bit lock_fd field when necessary.
2009-03-23 22:47:36 +00:00
Jeffrey Altman
aa8d735b87 vol-fssync-server-socket-20090323
LICENSE IPL10

GetHandler() sets up a fdset and returns the max socket fd
which is used with select().  Windows ignores the numfd param
(first param) of select() and therefore computing the max fd
value is meaningless.  We can avoid a number of casts by
not attempting to treat this value as osi_socket.
2009-03-23 22:42:48 +00:00
Jeffrey Altman
1d4542f93b libadmin-vos-ihandle-20090323
LICENSE IPL10

include afs/ihandle.h in order to gain access to the FD_t definition
2009-03-23 22:38:16 +00:00
Derrick Brashear
4d9f5731c9 volser-fcn-return-types-20090323
LICENSE IPL10

make internal functions have correct return types
2009-03-23 19:53:46 +00:00
Derrick Brashear
3e15ed48d3 printf-sanity-args-20090323
LICENSE IPL10

fix type specifier for correct arg
2009-03-23 19:39:59 +00:00
Simon Wilkinson
62f4c29eef disconnected-put-back-vcaches-we-held-20090323
LICENSE IPL10

if we hold a vcache for shadow, we need to release the ref when we give it up
2009-03-23 19:11:16 +00:00
Simon Wilkinson
ad20213bbb disconnected-dont-double-dequeue-shadow-removal-20090323
LICENSE IPL10
FIXES 124496

queue_Remove twice tends to cause things like panics
2009-03-23 18:59:53 +00:00
Derrick Brashear
7a7b55658b viced-type-fixups-20090323
LICENSE IPL10

SetLogThreadNum takes a fcn returning int.
get_key's first arg is a void*
2009-03-23 18:46:40 +00:00
Jeffrey Altman
c39d016155 volid-unsigned-int32-20090323
LICENSE IPL10
FIXES 124510

assume volume ids are always unsigned 32 bit values
2009-03-23 18:18:44 +00:00
Derrick Brashear
4830a7c8d7 linux-task-becomes-task-struct-20090323
LICENSE IPL10

struct task->struct task_struct. configure needs to cope
2009-03-23 15:16:30 +00:00
Derrick Brashear
39c4e32bf4 krb5-run-configure-tests-20090321
LICENSE IPL10
FIXES 124522

--with-krb5=/path caused us to not run configure tests. fix that
2009-03-21 16:29:46 +00:00
Derrick Brashear
c1d545dff6 aix-no-aklog-tsm-without-krb5-20090320
LICENSE IPL10
FIXES 124522

don't build aklog_dynamic_auth without krb5
2009-03-21 15:49:07 +00:00
Derrick Brashear
4398d6277d rx-prototypes-alloc-free-ifdefs-20090321
LICENSE IPL10

don't prototype osi_Alloc/osi_Free if they're just #defines
2009-03-21 15:45:41 +00:00