openafs.git
14 years agoman-page-fs-monitor-20090518
Steven Jenkins [Mon, 18 May 2009 19:35:31 +0000]
man-page-fs-monitor-20090518

LICENSE IPL10
FIXES 124790

Add man page for fs monitor.

14 years agoman-page-copyauth-20090518
Steven Jenkins [Mon, 18 May 2009 19:32:06 +0000]
man-page-copyauth-20090518

FIXES 124789
LICENSE IPL10

Add man page for copyauth.

14 years agoman-page-compile-et-20090518
Steven Jenkins [Mon, 18 May 2009 19:28:05 +0000]
man-page-compile-et-20090518

LICENSE IPL10
FIXES 124788

Add man page for compile_et.

14 years agoman-page-yet-more-fs-commands-20090517
Mike Robinson [Mon, 18 May 2009 04:34:38 +0000]
man-page-yet-more-fs-commands-20090517

LICENSE IPL10
FIXES 109189

Add new man pages for fs rxstatproc, fs setcbaddr, and fs trace.  Also
updates the links from fs to its subsidiary man pages and fixes the
fs rxstatpeer man page a bit to mirror fs rxstatproc.

14 years agoman-page-more-fs-commands-20090517
Steven Jenkins [Mon, 18 May 2009 03:50:00 +0000]
man-page-more-fs-commands-20090517

LICENSE IPL10
FIXES 124756

Add man pages for fs cscpolicy, fs getfid, and fs memdump.

14 years agoman-pod-fileserver-20090515
Simon Wilkinson [Fri, 15 May 2009 14:30:07 +0000]
man-pod-fileserver-20090515

LICENSE IPL10
FIXES 124778

-L sets the max number of threads

14 years agoprintf-format-macros-20090515
Jeffrey Altman [Fri, 15 May 2009 13:30:06 +0000]
printf-format-macros-20090515

LICENSE IPL10
FIXES 124776

The Windows format macro for AFS_INT64_FMT was wrong.
It is "I64" not "l64".

Also added macros for AFS_SIZET_FMT.  Although not currently
in use.  size_t varies in size on Windows just like pointers.

14 years agovol-split-no-nearinode-hint-for-namei-20090514
Derrick Brashear [Thu, 14 May 2009 21:50:44 +0000]
vol-split-no-nearinode-hint-for-namei-20090514

LICENSE IPL10

nearinode hint makes no sense when you're not using inode fileserver

14 years agodoc-xml-release-notes-windows-20090514
Jeffrey Altman [Thu, 14 May 2009 18:47:44 +0000]
doc-xml-release-notes-windows-20090514

LICENSE MIT

Initial take at converting the OpenAFS for Windows Release Notes
to DocBook.

Website style HTML and HtmlHelp (.chm) output is generated.

Formatting of Registry Value descriptions could be improved.

There is no indexing at present.

14 years agocfileopen-cleanup-20090514
Derrick Brashear [Thu, 14 May 2009 05:05:29 +0000]
cfileopen-cleanup-20090514

LICENSE IPL10

make disconnected work again. also, use static_inline macro consistently

14 years agodoc-xml-20090513
Jeffrey Altman [Thu, 14 May 2009 03:25:35 +0000]
doc-xml-20090513

LICENSE IPL10
FIXES 124760

Remove generated HTML from the respository

Update XML to support autogeneration of Index files via XSLT

Add graphics referenced by generated HTML output

Add top level index.html used by the docs.openafs.org web site.

Add NTMakefile for AdminGuide, QuickStartUnix, and UserGuide
that utilizes XSLT to generate Windows HTMLHelp (.CHM) and
website appropriate HTML output.

In AdminGuide and UserGuide, relabel the documentation as OpenAFS
instead of IBM AFS.  Create a new revision entry for the OpenAFS
docs.

Incorporate updates to QuickStartUnix Appendix A

14 years agoukernel-use-fsblkcnt-20090513
Derrick Brashear [Wed, 13 May 2009 22:34:56 +0000]
ukernel-use-fsblkcnt-20090513

LICENSE IPL10
FIXES 124681

blkcnt_t doesn't exist on fbsd, macos 10.3, and isn't really the right type.
this is the right type, but also can be missing. test appropriately.

14 years agommap-antirecursion-port-to-head-20090513
Marc Dionne [Wed, 13 May 2009 21:40:56 +0000]
mmap-antirecursion-port-to-head-20090513

LICENSE IPL10
FIXES 124770

deal correctly with the structure reorg which took place

14 years agopts-encrypt-option-20090512
Derrick Brashear [Tue, 12 May 2009 20:40:20 +0000]
pts-encrypt-option-20090512

LICENSE IPL10
FIXES 124681

add -encrypt flag to pts generic options, allowing the wire to be
encrypted if desired and the user's authenticated. document same.

14 years agolinux-mmap-antirecursion-fix-20090512
Felix Frank [Tue, 12 May 2009 18:56:30 +0000]
linux-mmap-antirecursion-fix-20090512

LICENSE IPL10
FIXES 124627

fix the mmap anti-recursion protection to set and mask CPageWrite appropriately
and with the correct lock protection. this leaves us with an issue to handle
when the mmap'd file is larger (possibly considerably larger) than the
cache

14 years agofreebsd-kauth-sig-t-20090512
Matt Benjamin [Tue, 12 May 2009 18:18:37 +0000]
freebsd-kauth-sig-t-20090512

LICENSE IPL10
FIXES 124569

define the old signal type as sig_t on freebsd (e.g. everywhere we prototype as
sig_t)

14 years agorxdebug-print-values-unsigned-20090512
Rainer Toebbicke [Tue, 12 May 2009 18:12:20 +0000]
rxdebug-print-values-unsigned-20090512

LICENSE IPL10
FIXES 124563

for the values which are unsigned, use %u, not %d

14 years agoredhat-use-postinit-in-initscript-20090512
Anders Kaseorg [Tue, 12 May 2009 17:58:27 +0000]
redhat-use-postinit-in-initscript-20090512

LICENSE IPL10
FIXES 124552

if a postinit script is defined, use it

14 years agomemcache-write-on-laststore-20090512
Felix Frank [Tue, 12 May 2009 17:42:24 +0000]
memcache-write-on-laststore-20090512

LICENSE IPL10
FIXES 124671

write back dirty pages on last store for memcache, lest we end up
unintentionally discarding the changes.

14 years agotests-generate-dirpath-in-makefile-20090512
Steven Jenkins [Tue, 12 May 2009 17:22:49 +0000]
tests-generate-dirpath-in-makefile-20090512

LICENSE IPL10
FIXES 124715

fix rmcell to not have hardcoded paths; instead, generate a dirpath shell
script from makefile and use that

14 years agotests-no-dirpath-infile-20090512
Steven Jenkins [Tue, 12 May 2009 14:06:14 +0000]
tests-no-dirpath-infile-20090512

LICENSE IPL10
FIXES 124716

Dirpath.pm.in is no longer needed

14 years agoopenbsd-44-45-20090512
Matt Benjamin [Tue, 12 May 2009 14:02:38 +0000]
openbsd-44-45-20090512

LICENSE IPL10
FIXES 124719

add missing osi_free backend, missing param file, modify soreceive for 4.5

14 years agowindows-dcache-store-data-20090511
Jeffrey Altman [Mon, 11 May 2009 17:22:24 +0000]
windows-dcache-store-data-20090511

LICENSE MIT

The windows dcache module synchronizes store data operations in
order to prevent multiple simultaneous store data operations against
the same file at the same time by multiple threads.  This is performed
using cm_SyncOp(CM_SCACHESYNC_STOREDATA_EXCL).  However, cm_SetupStoreBIOD()
was being processed prior to the synchronization.  As a result a dirty
buffer could be added to two BIOD lists resulting in the same buffer
contents being written to the file server twice.

This patch moves the cm_SetupStoreBIOD() into the synchronization region.
It also adds a new 'locked' parameter to cm_ReleaseBIOD() that indicates
whether or not the cm_scache_t object is locked when called.  This
permits fewer lock state changes to be used in several cases.

14 years agolinux26-defer-cred-changing-20090511
Simon Wilkinson [Mon, 11 May 2009 15:54:50 +0000]
linux26-defer-cred-changing-20090511

LICENSE IPL10
FIXES 124737

Newer Linux kernels differentiate between the real and effective
credentials of a process, and prevent a process's credentials from being
change when the effective credentials have been set to a different value.
When AFS notices a keyring PAG exists but no group-based PAG does, the
attempt to rectify this, if done in a VFS call (which changes effective creds)
triggers this issue. We defer the change to the groups to avoid it.

14 years agowindows-hard-and-idle-dead-timeouts-20090511
Jeffrey Altman [Mon, 11 May 2009 15:15:35 +0000]
windows-hard-and-idle-dead-timeouts-20090511

LICENSE MIT

Fix conditional test that assigns value to idleDeadTimeout

Modify event log message to indicate timeout could be either a
hard or an idle timeout.

As described in the source comments, do not retry on a hard or
idle timeout.

14 years agowindows-fs-getfid-20090511
Jeffrey Altman [Mon, 11 May 2009 15:04:43 +0000]
windows-fs-getfid-20090511

LICENSE MIT

Implement "fs getfid +<path> [-literal]" on Windows.
Same as the first line of output as "fs examine ...".

14 years agolinux-fh-based-cache-20090511
Marc Dionne [Mon, 11 May 2009 14:39:58 +0000]
linux-fh-based-cache-20090511

LICENSE IPL10
FIXES 123620

rework previous fh-based cache support. now allows use of
arbitrarily large file handles, and build correctly for UKERNEL.

we now just use this if there's no iget, instead of providing a configure
switch.

because this relies on the somewhat invasive patch from 124184 it is not
currently pulled up to 1.4.x

14 years agoabstract-cache-inode-ops-20090511
Simon Wilkinson [Mon, 11 May 2009 14:27:42 +0000]
abstract-cache-inode-ops-20090511

LICENSE IPL10
FIXES 124184

previous versions had abstract functions for linux (use_fh) and osx/solaris
(cache_vnode_path) cache file access, which was contributing to code bloat

switch to a union for disk/memory cache objects, and provide functions to
convert these into something appropriate for each system

14 years agowindows-fs-path-in-afs-20090507
Jeffrey Altman [Thu, 7 May 2009 16:02:53 +0000]
windows-fs-path-in-afs-20090507

LICENSE MIT

Switch the PathInAfs test to use VIOCGETFID instead of VIOC_GET_CELL_NAME
so that the literal option can be used.

14 years agowindows-shellext-path-in-afs-20090507
Jeffrey Altman [Thu, 7 May 2009 15:53:14 +0000]
windows-shellext-path-in-afs-20090507

LICENSE MIT
FIXES 124742

Change the PathInAfs test to use VIOCGETFID instead of VIOC_GET_CELL_NAME.
VIOCGETFID permits a literal test of the specified object.   This is needed
for testing the validity of a symlink to a msdfs: or non-existent path.
Otherwise, the AFS Shell Extension context menu will not be displayed.

14 years agoman-pages-allow-dots-consistent-20090505
Derrick Brashear [Tue, 5 May 2009 13:30:24 +0000]
man-pages-allow-dots-consistent-20090505

LICENSE IPL10

make all server man pages list -allow-dotted-principals (rather than
-allow-dotted-principal)

14 years agodafs-vol-offline-20090428
Mike Meffie [Tue, 28 Apr 2009 15:37:39 +0000]
dafs-vol-offline-20090428

LICENSE IPL10
FIXES 124582

fix a logic error in the dafs vos offline support

14 years agowindows-smb-disable-loopback-check-20090427
Jeffrey Altman [Tue, 28 Apr 2009 00:37:16 +0000]
windows-smb-disable-loopback-check-20090427

LICENSE MIT

Now that BackConnectionHostNames can be set each time the smb listener
threads are stopped and restarted, we need to make sure that we do not
clear the DisableLoopbackCheck value if it was set during the same
service session because BackConnectionHostName value changes only take
effect on a reboot.

14 years agorename-residency-from-mrafs-to-osd-20090427
Steven Jenkins [Tue, 28 Apr 2009 00:03:35 +0000]
rename-residency-from-mrafs-to-osd-20090427

LICENSE IPL10
FIXES 124130

rename mrafs commands into their equivalent osd versions; structures etc are the
 same.

14 years agovos-reveal-hidden-cmds-20090427
Jeffrey Altman [Mon, 27 Apr 2009 21:17:59 +0000]
vos-reveal-hidden-cmds-20090427

LICENSE IPL10

vos hides "online", "offline", "delentry -noexecute", and "addsite -valid".
All of these are currently documented in the man pages without warning.
Reveal them.

14 years agodprintf-rename-20090427
Simon Wilkinson [Mon, 27 Apr 2009 20:17:12 +0000]
dprintf-rename-20090427

LICENSE IPL10
FIXES 124657

make dprintf be afs_dprintf to fix for fedora 11 and probably others

14 years agonetinfo-fake-address-text-20090427
Jason Edgecombe [Mon, 27 Apr 2009 19:37:25 +0000]
netinfo-fake-address-text-20090427

LICENSE IPL10
FIXES 124699

explain fake address support for NetInfo files

14 years agodragonfly-bsd-userland-20090427
Matt Benjamin [Mon, 27 Apr 2009 19:29:09 +0000]
dragonfly-bsd-userland-20090427

LICENSE IPL10
FIXES 124702

add support for dragonflyBSD's userland

15 years agolinux-2-6-30-support-for-head-20090407
Marc Dionne [Tue, 7 Apr 2009 17:16:43 +0000]
linux-2-6-30-support-for-head-20090407

LICENSE IPL10
FIXES 124592

make proc dir entry owner field only be initialized when it exists

15 years agowindows-smb-registry-config-20090407
Jeffrey Altman [Tue, 7 Apr 2009 15:05:30 +0000]
windows-smb-registry-config-20090407

LICENSE MIT

Move configureBackConnectionHostNames() to smb_StartListeners()
so that when the NetbiosName changes while the service is running
the new values can be set.

Add configureExtendedSMBSessionTimeouts() which configures new
SMB functionality added in a Win2003 post-SP2 hot fix.

15 years agorx-internal-use-static-inline-macro-20090407
Derrick Brashear [Tue, 7 Apr 2009 14:00:56 +0000]
rx-internal-use-static-inline-macro-20090407

LICENSE IPL10

some platforms can't use "static inline"

15 years agoavoid-buffer-overflow-on-rx-fixed-size-array-return-20090402
Simon Wilkinson [Mon, 6 Apr 2009 23:52:52 +0000]
avoid-buffer-overflow-on-rx-fixed-size-array-return-20090402

LICENSE IPL10
FIXES 124579

avoid potentially writing beyond allocated memory if a return is larger than expected

15 years agolinux-avoid-returning-invalid-pointers-on-error-20090402
Simon Wilkinson [Mon, 6 Apr 2009 23:50:15 +0000]
linux-avoid-returning-invalid-pointers-on-error-20090402

LICENSE IPL10
FIXES 124580

avoid returning a positive error as it will look like a pointer.

15 years agowindows-pioctl-subst-unc-20090407
Jeffrey Altman [Mon, 6 Apr 2009 22:47:49 +0000]
windows-pioctl-subst-unc-20090407

LICENSE MIT

Add code to support determining if a drive substitution refers to
a UNC path.

15 years agowindows-smb-trace-20090406
Jeffrey Altman [Mon, 6 Apr 2009 18:24:48 +0000]
windows-smb-trace-20090406

LICENSE MIT

include the correct function name in a
trace message

15 years agowindows-test-torture-stack-overflow-20090405
Jeffrey Altman [Sun, 5 Apr 2009 13:54:04 +0000]
windows-test-torture-stack-overflow-20090405

LICENSE MIT

avoid stack overflow.

15 years agowindows-tests-torture-20090405
Jeffrey Altman [Sun, 5 Apr 2009 06:25:08 +0000]
windows-tests-torture-20090405

LICENSE MIT

replace the VOLSTAT online test with the PATH_AVAILABILITY
online test.  We do not care of the volume is offline on the file
server if the cache manager has current data to serve.

15 years agowindows-smb-error-map-20090404
Jeffrey Altman [Sat, 4 Apr 2009 21:16:27 +0000]
windows-smb-error-map-20090404

LICENSE MIT

For CM_ERROR_BADSHARENAME return BAD_NETWORK_PATH instead
of BAD_NETWORK_NAME.  The latter refers to the server name
and the former to the share name.   Returning BAD_NETWORK_NAME
will causes the smb redirector to break its connection to \\AFS.

For CM_ERROR_ALLOFFLINE and CM_ERROR_ALLDOWN return PATH_NOT_FOUND
instead of BAD_NETWORK_PATH.  We don't want the smb redirector
to tear down all open files just because some volume in the path
is inaccessible at the moment.

15 years agolinux-key-alloc-no-pointer-arith-20090404
Simon Wilkinson [Sat, 4 Apr 2009 17:43:42 +0000]
linux-key-alloc-no-pointer-arith-20090404

LICENSE IPL10

make the key_alloc configure test work

15 years agowindows-afsd-no-more-ods-20090402
Jeffrey Altman [Fri, 3 Apr 2009 03:56:36 +0000]
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.

15 years agowindows-rx-xmit-20090402
Jeffrey Altman [Thu, 2 Apr 2009 08:44:51 +0000]
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

15 years agowindows-src-makefile-two-20090402
Jeffrey Altman [Thu, 2 Apr 2009 08:40:06 +0000]
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

15 years agowindows-src-makefile-20090402
Jeffrey Altman [Thu, 2 Apr 2009 06:06:44 +0000]
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

15 years agowindows-config-clean-20090402
Jeffrey Altman [Thu, 2 Apr 2009 06:04:48 +0000]
windows-config-clean-20090402

LICENSE MIT

permit "nmake -f ntmakefile clean" to complete on a
clean source tree.

15 years agowindows-install-loopback-20090401
Asanka Herath [Wed, 1 Apr 2009 23:56:16 +0000]
windows-install-loopback-20090401

LICENSE MIT

Define INCLUDE variable and reorder binary link order
to ensure compatibility with latest WDK/SDK combinations.

15 years agowindows-talocale-20090401
Jeffrey Altman [Wed, 1 Apr 2009 18:36:29 +0000]
windows-talocale-20090401

LICENSE MIT

perform proper casting to avoid a warning

15 years agowindows-afsd-smb-logging-20090401
Jeffrey Altman [Wed, 1 Apr 2009 18:30:29 +0000]
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.

15 years agowindows-afsd-priority-class-20090401
Jeffrey Altman [Wed, 1 Apr 2009 18:29:15 +0000]
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.

15 years agoxdr-free-20090401
Jeffrey Altman [Wed, 1 Apr 2009 17:37:50 +0000]
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.

15 years agowindows-afsd-xdr-free-20090401
Jeffrey Altman [Wed, 1 Apr 2009 17:35:29 +0000]
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

15 years agodynamic-vcache-no-printf-20090331
Derrick Brashear [Tue, 31 Mar 2009 13:41:25 +0000]
dynamic-vcache-no-printf-20090331

LICENSE IPL10

no printf in releases

15 years agolinux-2630-maybe-20090331
Marc Dionne [Tue, 31 Mar 2009 13:16:17 +0000]
linux-2630-maybe-20090331

LICENSE IPL10
FIXES 124560

hopefully support 2.6.30 when it's released

15 years agowindows-afsd-log-smb-mid-20090328
Jeffrey Altman [Sat, 28 Mar 2009 23:25:16 +0000]
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.

15 years agowindows-remove-reset-all-vcs-event-20090328
Jeffrey Altman [Sat, 28 Mar 2009 23:17:29 +0000]
windows-remove-reset-all-vcs-event-20090328

LICENSE MIT

remove the smb reset all VCs message.  duplicates the
reportSessionStartups functionality.

15 years agowindows-afsd-symlink-20090327
Jeffrey Altman [Fri, 27 Mar 2009 17:58:02 +0000]
windows-afsd-symlink-20090327

LICENSE MIT

Increase max symlink limit to 64 and remove the repeated fid
recursion test.  Breaks too many things.

15 years agovolser-new-is-special-20090324
Jeffrey Altman [Wed, 25 Mar 2009 01:15:20 +0000]
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.

15 years agouss-kvno-warning-fix-20090327
Mike Meffie [Fri, 27 Mar 2009 15:47:23 +0000]
uss-kvno-warning-fix-20090327

LICENSE IPL10
FIXES 124220

suppress bogus kvno warning in uss

15 years agolinux-flushpages-call-truncate-inode-pages-after-all-20090327
Chaskiel M Grundman [Fri, 27 Mar 2009 15:45:27 +0000]
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

15 years agobucoord-update-kvno-check-20090327
Garry Zacheiss [Fri, 27 Mar 2009 13:45:49 +0000]
bucoord-update-kvno-check-20090327

LICENSE IPL10

update kvno check in bucoord to match what it is elsewhere

15 years agovol-proto-do-not-break-dafs-20090326
Simon Wilkinson [Thu, 26 Mar 2009 23:42:03 +0000]
vol-proto-do-not-break-dafs-20090326

LICENSE IPL10
FIXES 12540

Reenable prototype of VolumeExternalName_r for dafs

15 years agostate-analyzer-usage-20090326
Andrew Deason [Thu, 26 Mar 2009 21:33:50 +0000]
state-analyzer-usage-20090326

LICENSE IPL10
FIXES 124539

fix usage for state-analyzer

15 years agoreturn-values-missing-fix-20090326
Derrick Brashear [Thu, 26 Mar 2009 14:30:13 +0000]
return-values-missing-fix-20090326

LICENSE IPL10
FIXES 124194

add return values for functions missing them

15 years agocbr-free-what-you-alloc-20090325
Chaskiel M Grundman [Wed, 25 Mar 2009 19:34:38 +0000]
cbr-free-what-you-alloc-20090325

LICENSE IPL10
FIXES 124531

dequeue and free items as alloc'd

15 years agoshutdown-vcache-avoid-null-deref-20090324
Derrick Brashear [Tue, 24 Mar 2009 22:40:05 +0000]
shutdown-vcache-avoid-null-deref-20090324

LICENSE IPL10

avoid potential null pointer deref at shutdown

15 years agoredhat-spec-update-20090325
Simon Wilkinson [Wed, 25 Mar 2009 18:42:17 +0000]
redhat-spec-update-20090325

LICENSE IPL10
FIXES 123650

install afszcm.cat, update CellServDB

15 years agocopyonwrite-optimization-fix-20090325
Rainer Toebbicke [Wed, 25 Mar 2009 14:34:38 +0000]
copyonwrite-optimization-fix-20090325

LICENSE IPL10

update to do tail case

15 years agovol-split-warnings-no-win-20090324
Jeffrey Altman [Tue, 24 Mar 2009 22:36:09 +0000]
vol-split-warnings-no-win-20090324

LICENSE IPL10

remove many warnings

disable on Windows since there are missing dependencies in ntops.c

15 years agovolser-split-namei-only-20090324
Derrick Brashear [Tue, 24 Mar 2009 18:20:23 +0000]
volser-split-namei-only-20090324

LICENSE IPL10

make vos split be namei-only

15 years agovol-split-nearino-20090324
Derrick Brashear [Tue, 24 Mar 2009 17:55:48 +0000]
vol-split-nearino-20090324

LICENSE IPL10

add nearInode hint

15 years agovfsck-needs-fd-t-defn-20090324
Derrick Brashear [Tue, 24 Mar 2009 14:23:58 +0000]
vfsck-needs-fd-t-defn-20090324

LICENSE IPL10

make vfsck build again

15 years agovolser-prototype-cleanup-20090324
Derrick Brashear [Tue, 24 Mar 2009 14:21:56 +0000]
volser-prototype-cleanup-20090324

LICENSE IPL10

make prototypes and return values etc match

15 years agovolserver-split-volume-functionality-20090324
Hartmut Reuter [Tue, 24 Mar 2009 13:36:23 +0000]
volserver-split-volume-functionality-20090324

LICENSE IPL10
FIXES 124520

implement the server side of vos split

15 years agofssync-enum-syntax-20090324
Derrick Brashear [Tue, 24 Mar 2009 12:43:05 +0000]
fssync-enum-syntax-20090324

LICENSE IPL10

no trailing comma

15 years agofd-t-definition-fun-20090323
Derrick Brashear [Tue, 24 Mar 2009 04:31:13 +0000]
fd-t-definition-fun-20090323

LICENSE IPL10

make FD_t be defined everywhere we need it

15 years agoviced-threadnum-return-cast-20090323
Derrick Brashear [Tue, 24 Mar 2009 03:43:59 +0000]
viced-threadnum-return-cast-20090323

LICENSE IPL10

cast return type from threadNum

15 years agovol-lock-fd-type-20090323
Jeffrey Altman [Mon, 23 Mar 2009 22:47:36 +0000]
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.

15 years agovol-fssync-server-socket-20090323
Jeffrey Altman [Mon, 23 Mar 2009 22:42:48 +0000]
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.

15 years agolibadmin-vos-ihandle-20090323
Jeffrey Altman [Mon, 23 Mar 2009 22:38:16 +0000]
libadmin-vos-ihandle-20090323

LICENSE IPL10

include afs/ihandle.h in order to gain access to the FD_t definition

15 years agovolser-fcn-return-types-20090323
Derrick Brashear [Mon, 23 Mar 2009 19:53:46 +0000]
volser-fcn-return-types-20090323

LICENSE IPL10

make internal functions have correct return types

15 years agoprintf-sanity-args-20090323
Derrick Brashear [Mon, 23 Mar 2009 19:39:59 +0000]
printf-sanity-args-20090323

LICENSE IPL10

fix type specifier for correct arg

15 years agodisconnected-put-back-vcaches-we-held-20090323
Simon Wilkinson [Mon, 23 Mar 2009 19:11:16 +0000]
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

15 years agodisconnected-dont-double-dequeue-shadow-removal-20090323
Simon Wilkinson [Mon, 23 Mar 2009 18:59:53 +0000]
disconnected-dont-double-dequeue-shadow-removal-20090323

LICENSE IPL10
FIXES 124496

queue_Remove twice tends to cause things like panics

15 years agoviced-type-fixups-20090323
Derrick Brashear [Mon, 23 Mar 2009 18:46:40 +0000]
viced-type-fixups-20090323

LICENSE IPL10

SetLogThreadNum takes a fcn returning int.
get_key's first arg is a void*

15 years agovolid-unsigned-int32-20090323
Jeffrey Altman [Mon, 23 Mar 2009 18:18:44 +0000]
volid-unsigned-int32-20090323

LICENSE IPL10
FIXES 124510

assume volume ids are always unsigned 32 bit values

15 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

15 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

15 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

15 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

15 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

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

LICENSE IPL10

update from upstream