Commit Graph

5650 Commits

Author SHA1 Message Date
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
Derrick Brashear
4bf68765b6 sig-t-exclude-multiple-20090321
LICENSE IPL10

disallow multiple typedefs of sig_t
2009-03-21 15:39:05 +00:00
Derrick Brashear
b1aaf822f5 update-config-guess-20090321
LICENSE IPL10

update from upstream
2009-03-21 15:07:41 +00:00
Derrick Brashear
3e034dcb6c aix51-pag-header-20090320
LICENSE IPL10
FIXES 124522

no sys/pag.h until 5.2
2009-03-20 22:44:54 +00:00
Jeffrey Altman
73a57e8013 vol-fssync-server-socket-20090320
LICENSE IPL10

another location where we need osi_socket
2009-03-20 17:25:21 +00:00
Jeffrey Altman
b2db1e83c1 libadmin-client-prototype-20090320
LICENSE IPL10

correct the prototype for afsclient_RXDebugOpenPort
2009-03-20 17:21:51 +00:00
Jeffrey Altman
218f08ffed xstat-printf-ptr-format-20090320
LICENSE IPL10

make use of AFS_PTR_FMT to avoid warnings on Windows.
2009-03-20 17:10:06 +00:00
Jeffrey Altman
37fc3b0144 config-afs-ptr-format-20090320
LICENSE IPL10

Define AFS_PTR_FMT to permit per platform printf formats for pointer
representation.
2009-03-20 17:09:01 +00:00
Chaskiel M Grundman
18da64a45c linux-osi-vm-flushpages-use-remote-invalidate-20090320
LICENSE IPL10

use invalidate_remote_inode instead of vmtruncate in osi_VM_FlushPages
2009-03-20 15:55:38 +00:00
Derrick Brashear
6ef7d7dfb8 dyn-vcache-shake-needs-exporting-20090320
LICENSE IPL10

update to export shakeloosevcaches
2009-03-20 15:04:08 +00:00
Jeffrey Altman
0cd43484be vol-fssync-socket-20090320
LICENSE IPL10

the argument to the function parameter is a socket.  fix the type
to be osi_socket.
2009-03-20 12:15:01 +00:00
Jeffrey Altman
64c451cec0 libadmin-vos-windows-exports-20090320
LICENSE IPL10

do not export function name arrays that are already
exported by other libraries.
2009-03-20 11:51:55 +00:00
Jeffrey Altman
5eea839b63 libadmin-client-prototypes-20090320
LICENSE IPL10

fix the prototype for afsclient_RPCStatOpenPort and afsclient_CMStatOpenPort
2009-03-20 11:49:27 +00:00
Jeffrey Altman
14a6075495 libadmin-windows-socket-20090320
LICENSE IPL10

a socket on Windows is type SOCKET not HANDLE
2009-03-20 11:47:00 +00:00
Jeffrey Altman
df961512e1 windows-osistatl-20090320
LICENSE MIT

Add lock level to osistatl
2009-03-20 11:44:29 +00:00
Jeffrey Altman
e460a6e305 static-inline-macros-20090320
LICENSE IPL10
FIXES 124515

add back support for AFS_64BIT_ENV
2009-03-20 05:30:12 +00:00
Derrick Brashear
ef5f6f988c ubik-recovery-use-file-number-not-hardcoded-zero-20090319
LICENSE IPL10

don't hardcode DB0, use the file number which is being recovered
2009-03-20 03:48:52 +00:00
Derrick Brashear
4eef62a2f2 param-file-64-bit-scalar-updates-20090319
LICENSE IPL10

64 bit scalar type availability
2009-03-20 03:12:11 +00:00
Derrick Brashear
e59b81c984 dynamic-vcache-allocation-20090319
LICENSE IPL10
FIXES 124334

add dynamic allocation of vcaches when possible (currently just for linux)
2009-03-20 02:30:49 +00:00
Derrick Brashear
79d362c77c 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
2009-03-19 20:12:53 +00:00
Derrick Brashear
fe98c927d3 bozo-fs-create-unused-ptr-20090319
LICENSE IPL10

add an "unused" field so we match the prototype for create in the bnodeops
struct
2009-03-19 18:03:41 +00:00
Derrick Brashear
101399171b static-inline-macros-20090319
LICENSE IPL10

rework the static inline macros to work with headers, with userspace code,
and to have just one copy
2009-03-19 17:44:39 +00:00
Derrick Brashear
a343f09803 viced-type-errors-20090319
LICENSE IPL10

use ktc_encryptionKey instead of a char array to avoid prototype issues
threadNum should return int, not char
2009-03-19 14:58:22 +00:00
Derrick Brashear
3d54f743bc 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.
2009-03-19 14:42:39 +00:00
Marc Dionne
bf9dc554b3 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
2009-03-19 04:02:18 +00:00
Marc Dionne
aaae44dfe9 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
2009-03-19 03:57:42 +00:00
Marc Dionne
156f1b8e4a discon-ifdef-cleanup-20090318
LICENSE IPL10
FIXES 124508

fix the disconnected ifdefs
2009-03-19 03:53:31 +00:00
Jeffrey Altman
be4d4076f2 printf-sanity-20090318
LICENSE IPL10

make it work for Windows
2009-03-18 22:46:21 +00:00
Marc Dionne
85d8bdac74 linux-warning-reduction-20090318
LICENSE IPL10
FIXES 119434

cleanup warnings in linux kernel builds
2009-03-18 13:41:07 +00:00
Jeffrey Altman
09b23c27a7 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.
2009-03-18 03:56:12 +00:00
Derrick Brashear
f26074cbde 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
2009-03-17 15:44:15 +00:00
Derrick Brashear
57326151f5 prototyping-fallout-20090317
LICENSE IPL10

clean up to make prototyping code build everywhere
2009-03-17 15:10:23 +00:00
Derrick Brashear
b7372c3e14 solaris-vnode-path-cache-cleanup-20090317
LICENSE IPL10

declare needed variables everywhere
2009-03-17 15:09:49 +00:00