Jeffrey Altman [Sat, 10 Nov 2007 00:14:26 +0000]
windows-readonly-volume-callbacks-
20071109
A .readonly volume callback applies to the entire volume. Track it
in the cm_volume_t cbExpiresRO field and apply it to all cm_scache_t
objects with valid callbacks that are associated with that volume upon
each daemon callback check. This will prevent premature callback
expiration.
Also, attempt to automatically refresh the callbacks every 30 minutes
by obtaining a callback on the volume root. This value is configurable
with the "daemonCheckVolCBInterval" registry value.
Change from osi_Time() to time() for expiration values in order to
permit conversion to human readable values in cmdebug.
Derrick Brashear [Fri, 9 Nov 2007 20:15:46 +0000]
clean-platform-
20071109
clean platform dir
Derrick Brashear [Fri, 9 Nov 2007 19:47:18 +0000]
macos-packaging-updates-
20071109
make the readme correct. make dmgs which have a useful name
Derrick Brashear [Fri, 9 Nov 2007 19:18:49 +0000]
hpux11-thread-lock-tracking-
20071109
do this for hpux also
Derrick Brashear [Thu, 8 Nov 2007 14:38:48 +0000]
darwin-vfs-context-pullback-
20071108
again, commit fix we have in 1.4
Derrick Brashear [Thu, 8 Nov 2007 14:26:47 +0000]
reconvert-aklog-to-afs-com-err-
20071108
make this match what we're shipping in 1.4
Derrick Brashear [Thu, 8 Nov 2007 14:21:06 +0000]
aix5-revert-kcred-
20071108
pull this back to 1.5 and head
Derrick Brashear [Wed, 7 Nov 2007 04:23:47 +0000]
shutdown-cleanup-not-yet-
20071106
Jeffrey Altman [Wed, 7 Nov 2007 04:01:36 +0000]
linux-nsec-timestamp-zero-
20071106
don't leave garbage in nsec
Anders Kaseorg [Tue, 6 Nov 2007 18:30:19 +0000]
linux-splice-support-
20071106
support splice in kernels new enough to support it (sendfile is deprecated)
Derrick Brashear [Mon, 5 Nov 2007 22:09:12 +0000]
aklog-no-kimpersonate-in-more-cases-
20071105
aix's NAS kerberos can't support kimpersonate. deal
Derrick Brashear [Mon, 5 Nov 2007 21:43:00 +0000]
krb5-klog-no-err-table-yet-
20071105
right now we don't have this everywhere, until we reorder libraries, and
test usefully with configure, forget it.
Thomas Mueller [Mon, 5 Nov 2007 20:27:24 +0000]
cbd-use-callback-size-for-callbacks-
20071105
FIXES 76408
cast correctly
Jeffrey Altman [Mon, 5 Nov 2007 18:25:33 +0000]
windows-bplus-tree-
20071105
Migrate search key into thread local storage
Jeffrey Altman [Mon, 5 Nov 2007 18:23:30 +0000]
windows-afsd-notification-
20071105
fidp->cell is not a pointer
Jeffrey Altman [Mon, 5 Nov 2007 00:23:54 +0000]
windows-afsd-notification-
20071104
the difference between osi_assert() and osi_assertx() is whether or not
a description is specified as part of the call. When no message is
specified afsd_notifier() is called with a NULL msgp parameter. This
results in a null pointer dereference during the EventLog() call.
As a result, none of the information describing the assertion is written
to the log file.
This commit sets a default message for use when no other message is
provided and it replaces all calls to osi_assert with osi_assertx and
adds descriptions.
Jeffrey Altman [Mon, 5 Nov 2007 00:16:58 +0000]
windows-osi-lock-assert-msg-
20071104
modify lock_AssertXXX macros to call osi_assertx() and provide a
descriptive message.
Asanka Herath [Sat, 3 Nov 2007 16:31:50 +0000]
windows-scache-syncop-waiters-
20071103
One of the issues that has become a serious problem since the addition
of the local directory updates is that although cm_SyncOp synchronizes
operations, it does not preserve the order of requests. This has always
been a problem in that it has been possible for a request to fail to
complete due to its worker thread's bad luck. When a request takes
longer than the Windows SMB Redirector's timeout, the SMB Redirector
tears down the SMB virtual circuit.
When using the local directory updates it is really important that
the directory update operations complete in the order that they were
sent to the file server. If they don't, then the local directory
state and the file server state will not match and the local directory
state must be discarded which in turn forces a new read of the entire
directory contents over the network.
This patch adds a new cm_scache_waiter_t object that is used to store
the current thread, buffer, and syncop flags within a waiters queue
on each cm_scache_t object. If a thread is forced to sleep in cm_SyncOp,
upon waking it will check to see if there are any other threads waiting
that are attempting to perform a similar task ahead of it in the queue.
If yes, the thread goes back to sleep. If not, it goes ahead and
enters the cm_SyncOp conflict resolution block.
This patch has the additional side effect of reducing the number of
competing threads that must obtain the cm_scache_t mutex and process
the cm_SyncOp conflict resolution block. As a result, the overall
CPU utilization of the service and the clock time associated with
processing requests will be reduced.
Jeffrey Altman [Sat, 3 Nov 2007 16:18:14 +0000]
windows-dir-
20071103
Reorganize the locking for cm_BeginDirOp and cm_EndDirOp.
There are a number of locations where locks are obtained, dropped, and
reobtained. This reorganization attempts to accomplish several things:
(1) be optimistic for the most common case so it will be fast
(2) add consistency checks after each location where locks are dropped
and re-obtained. If we lose a race in cm_BeginDirOp and the bplus
tree is out of date, retry until we get to a consistent state
that we can use.
(3) Ensure that all operations take place with the correct locks.
Jeffrey Altman [Sat, 3 Nov 2007 16:08:03 +0000]
windows-buf-
20071103
assert that the cm_scache_t mutex is held when calling
buf_ForceDataVersion().
Jeffrey Altman [Sat, 3 Nov 2007 16:05:43 +0000]
windows-bplus-tree-
20071103
rename findNode to leafNode in bplus_Lookup
replace all OutputDebugString calls with osi_LogX calls
modify bestMatch to special case the return values for leaf nodes.
If an entry is above or below the values available in the leaf node
return BTLOWER or BTUPPER instead of BTERROR.
In insert and delete operations check for BTLOWER/BTUPPER and isleaf,
if true convert to either slot 0 or Max and perform the insertion.
This produces easier to read code when performing lookups.
Jeffrey Hutzelman [Sat, 3 Nov 2007 15:59:12 +0000]
windows-cellservdb-
20071103
GCO Public CellServDB 25 Oct 2007
Jeffrey Altman [Sat, 3 Nov 2007 01:05:53 +0000]
windows-install-des-prototypes-
20071102
required by auth-getkey-prototyping-
20071102
Derrick Brashear [Fri, 2 Nov 2007 18:01:32 +0000]
auth-getkey-prototyping-
20071102
make this sane
Ken Raeburn [Thu, 1 Nov 2007 19:12:38 +0000]
viced-new-host-reup-h-lock-
20071101
FIXES 69384
don't leave lock dropped
Dale Ghent [Thu, 1 Nov 2007 17:05:33 +0000]
solaris-cc-deal-with-new-64-bit-arch-specifier-
20071101
FIXES 75908
switch from -xmarch=amd64 to -m64
Dale Ghent [Thu, 1 Nov 2007 16:57:26 +0000]
solaris-nevada-update-
20071101
FIXES 75896
update for current solaris nevada
Simon Wilkinson [Thu, 1 Nov 2007 16:09:22 +0000]
auth-cleanup-
20071101
kill warnings in auth directory
Simon Wilkinson [Thu, 1 Nov 2007 15:58:59 +0000]
rxgen-ansi-again-
20071101
another look at lettign rxgen do ansification
Tom Keiser [Thu, 1 Nov 2007 14:59:38 +0000]
dafs-salvage-deal-with-clones-
20071101
FIXES 75591
cope with trying to salvage a clone correctly
Chaskiel M Grundman [Thu, 1 Nov 2007 03:23:09 +0000]
linux-afs-unlinked-file-dentry-flagging-
20071031
fix case:
perl -e 'open FOO, ">foo"; unlink(foo); @stat = stat(FOO); print "inode for foo(unlinked) is $stat[1]\n"; system("/bin/ls -ali | grep $stat[1]");'
Simon Wilkinson [Wed, 31 Oct 2007 22:31:38 +0000]
more-anonymous-pointer-cleanup-
20071031
more char*->void* conversion
Jeffrey Altman [Wed, 31 Oct 2007 15:33:27 +0000]
windows-btree-
20071031
Add additional validation and error handling code after each call to
getSlot(). If an invalid slot is returned, return NONODE. If the
invalid slot is returned when extracting a data node, invalidate the
tree.
Modify compareKeys() to always perform a case-insensitive comparison
and only perform a case sensistive comparison if the case-insensitive
one matches. This ensures the ordering is consistently reported.
Add lock assertions to ensure that all calls are being performed with
the correct locks being held. There have been some crash reports that
provide stack data that does not appear to be possible unless there is
a race. However, there are no obvious locations where the race is
taking place and the test suite indicates that all of the correct locks
are being held. We shall see what happens in the field.
For consistency replace all calls to findKey in which the range is
(1,numentries) with calls to getSlot().
Optimize the depth search loop by testing the slot value in the for
statement instead of forcing the loop to be broken later.
Jeffrey Altman [Wed, 31 Oct 2007 15:23:42 +0000]
windows-begindirop-
20071031
Avoid a race condition in cm_BeginDirOp() caused by the failure to
hold the cm_scache_t mutex while copying status data from the scp to
the dirop
Jeffrey Altman [Wed, 31 Oct 2007 15:20:14 +0000]
windows-cm_analyze-ewouldblock-
20071031
Add support for EWOULDBLOCK to cm_Analyze. If the file server returns
EWOULDBLOCK, retry the request every two seconds for up to the RDRtimeout.
Jeffrey Altman [Wed, 31 Oct 2007 15:18:10 +0000]
windows-uaewouldblock-
20071031
Reorganize the order of the includes to ensure that EWOULDBLOCK is not
assigned the same value as EIO.
Simon Wilkinson [Wed, 31 Oct 2007 12:36:33 +0000]
util-cleanup-
20071031
kill the warnings in src/util
Simon Wilkinson [Wed, 31 Oct 2007 04:20:33 +0000]
openafs-bozo-varargs-
20071031
convert bozo to be prototypable
Simon Wilkinson [Wed, 31 Oct 2007 04:05:27 +0000]
openafs-void-star-pointers-
20071031
convert anonymous pointers from char* to void*
Simon Wilkinson [Tue, 30 Oct 2007 15:10:37 +0000]
openafs-string-header-cleanup-
20071030
include only what we need
Simon Wilkinson [Tue, 30 Oct 2007 03:53:08 +0000]
redhat-packaging-update-
20071029
update rpm packaging stuff for what shipped in 1.4.5
Jim Rees [Fri, 26 Oct 2007 17:41:54 +0000]
update-bsd-readme-
20071026
Update build info for Open/FreeBSD.
Simon Wilkinson [Fri, 26 Oct 2007 17:20:22 +0000]
redhat-fedora-build-driver-
20071026
driver script for fedora builds
Derrick Brashear [Fri, 26 Oct 2007 17:09:40 +0000]
redhat-spec-fix-hugemem-modpath-
20071026
make this match other kernsls
Derrick Brashear [Thu, 25 Oct 2007 06:19:17 +0000]
release-notes-1-4-5-
20071025
release notes for 1.4.5
Jeffrey Altman [Thu, 25 Oct 2007 05:47:23 +0000]
windows-aclent-remove-extraneous-code-
20071024
Microsoft provided a dump showing cm_data.aclLRUEndp == NULL in
GetFreeACLEnt(). Couldn't find any reason why that would be true.
However, there is extraneous code that manipulates the value of
aclLRUEndp when it should be left to osi_QRemoveHT() to update
the pointer values.
Also add an additional explicit test for aclLRUEndp == NULL in
GetFreeACLEnt().
Derrick Brashear [Thu, 25 Oct 2007 04:42:07 +0000]
macos-installer-crap-
20071025
put it back the way it was
Simon Wilkinson [Wed, 24 Oct 2007 16:44:26 +0000]
linux-nfstrans-
20071024
FIXES 75233
better track changes so we can build an nfstranslator module for new linux kernels
Dan Hyde [Wed, 24 Oct 2007 16:33:31 +0000]
cblater-bitmask-bug-
20071024
FIXES 75304
add missing ()
Derrick Brashear [Wed, 24 Oct 2007 06:40:12 +0000]
darwin-allow-finder-to-unlink-rsrc-files-
20071024
finder tries hard to clean up resource fork files it creates when you drop something in a dropbox that don't then get updates.
let it think it won
Chaskiel M Grundman [Wed, 24 Oct 2007 06:25:46 +0000]
finder-and-tiger-cp-deal-with-dropboxes-
20071024
FIXES 69363
this way copying finishes
Jeffrey Altman [Wed, 24 Oct 2007 04:49:07 +0000]
windows-wix-nsis-uninstall-
20071023
At somepoint windows installer broke the use of the 'file' RegistrySearch
type. Instead of returning the full file name path we are only getting
the directory. Switch to using the 'raw' type since we know we aren't
prefixing the file name with a hash.
Mike Meffie [Tue, 23 Oct 2007 23:36:06 +0000]
afs-shutdown-free-resources-
20071023
try hard to free resources
Derrick Brashear [Tue, 23 Oct 2007 18:37:58 +0000]
darwin-uio-64-
20071023
use the 64 bit awareness in the KPI
Jason Edgecombe [Tue, 23 Oct 2007 17:59:16 +0000]
pod-man-fs-uuid-
20071023
FIXES 75175
add man page for fs uuid
Derrick Brashear [Tue, 23 Oct 2007 15:28:22 +0000]
darwin-afsd-cleanup-power-notification-nicely-
20071023
don't drop a core on shutdown
Derrick Brashear [Tue, 23 Oct 2007 15:19:07 +0000]
vos-restore-check-doesnt-apply-to-pipes-
20071023
as pointed out by hung pham
Derrick Brashear [Tue, 23 Oct 2007 01:30:03 +0000]
darwin-modify-cp-workaround-
20071022
more work will be needed to fool finder into just copying the d**n file, since
it's checking too hard.
Derrick Brashear [Tue, 23 Oct 2007 01:02:39 +0000]
change-default-probeint-for-rfc4787-
20071022
an RFC compliant port mapping device guarantees less time than we previously probed.
Simon Wilkinson [Mon, 22 Oct 2007 18:29:28 +0000]
fssync-poll-interface-
20071022
FIXES 74708
support a poll interface
otherwise, the fd setsize can screw with us
Simon Wilkinson [Mon, 22 Oct 2007 14:21:26 +0000]
cpp-avoid-cc-E-
20071022
finding the right cpp is good. having it not be cc -E is better
Jeffrey Altman [Mon, 22 Oct 2007 04:32:09 +0000]
windows-ntstatus-warnings-
20071021
suppress warnings caused by multiple definitions of NTSTATUS values
Jeffrey Altman [Mon, 22 Oct 2007 04:27:14 +0000]
windows-del-symlink-
20071021
The cmd.exe "del" command operates by opening a file and then setting
the file disposition to delete on close followed by closing the file.
When the filename is a symlink, the smb_fid_t scp refers to the final
destination object and not the symlink. In smb_CloseFid() the correct
object would be removed from the directory by name, but the wrong cm_scache_t
would be marked deleted. This would result in subsequent references to
the target file being considered invalid.
Fix it by looking up the cm_scache_t of the symlink prior to performing
the deletion.
Jeffrey Altman [Sat, 20 Oct 2007 04:58:40 +0000]
windows-registry-OfflineReadOnlyIsValid-
20071019
Add registry value "OfflineReadOnlyIsValid" option. When set to non-zero
value, an offline or down read only volume will be treated as if it has
a valid callback even if it doesn't.
Arno Schuring [Sat, 20 Oct 2007 01:20:51 +0000]
cpp-autoconf-located-
20071019
let autoconf find cpp
Derrick Brashear [Fri, 19 Oct 2007 21:37:15 +0000]
darwin80-dnlc-dont-return-deadvnodes-
20071019
FIXES 41550
obvious. if we are going to be like GetVCache, we should
Jeffrey Altman [Fri, 19 Oct 2007 05:25:39 +0000]
windows-pioctl-parse-path-
20071018
cm_ParseIoctlPath() moves the ioctlp->inDatap past the ioctl path
to the next data value if there is one. Make sure we move the pointer
before we alter the contents of the buffer. Otherwise, the caller
uses the wrong string for its next data blob.
Jeffrey Altman [Thu, 18 Oct 2007 23:06:35 +0000]
windows-pioctl-error-codes-
20071018
add knowledge of new cm error codes
Jeffrey Altman [Thu, 18 Oct 2007 06:27:40 +0000]
windows-freelance-symlink-
20071018
More tweaking of the IoctlPathParsing code.
Add special handling for many more pioctl operations performed on
the Freelance root.afs volume.
Add informative error values for symlink freelance operations.
Jeffrey Altman [Thu, 18 Oct 2007 06:24:39 +0000]
windows-smb-
20071018
refactoring, suppression of duplicate status value definition warnings,
and removal of old pattern matching code
Jeffrey Altman [Thu, 18 Oct 2007 06:20:08 +0000]
windows-afskfw-
20071018
Add SOFTWARE\OpenAFS\Client AcceptDottedPrincipalNames registry
value to control whether the use of Kerberos v5 principal names
with dots in the first component are permitted.
Derrick Brashear [Thu, 18 Oct 2007 05:11:16 +0000]
redhat-spec-require-bison-flex-
20071018
require everything we need to build
Derrick Brashear [Thu, 18 Oct 2007 05:02:42 +0000]
redhat-packaging-updates-
20071018
make the buildall script know centos and new fedora; make the spec file include it
Derrick Brashear [Wed, 17 Oct 2007 21:32:38 +0000]
darwin-fsref-other-races-
20071017
FIXES 41550
not clear this is exactly correct but testing seems to vet it.
Chaskiel M Grundman [Wed, 17 Oct 2007 18:16:19 +0000]
darwin-finalizevnode-get-vnode-inside-lock-
20071017
FIXES 41550
the ovp initialization should happen while we have the vnode locked, regardless.
Derrick Brashear [Wed, 17 Oct 2007 15:32:50 +0000]
afs-shutdown-free-resources-
20071017
try hard to free resources
Derrick Brashear [Wed, 17 Oct 2007 04:46:19 +0000]
darwin90-disk-cache-
20071016
FIXES 43303
don't break memcache, also
Douglas Engert [Tue, 16 Oct 2007 22:55:38 +0000]
translator-sysnamelist-bugfix-
20071016
FIXES 74478
fix sysname list support bug when the list is empty
Jeffrey Altman [Tue, 16 Oct 2007 18:24:31 +0000]
windows-fs-uuid-
20071016
do not require afs client administrator access to display the current
Uuid value.
Jason Edgecombe [Tue, 16 Oct 2007 18:18:28 +0000]
fs-uuid-
20071016
FIXES 74473
Change "fs uuid" to "fs uuid -generate" where "-generate" is a
required parameter.
This command requires root access to execute it.
Unlike the Windows variant, the UNIX version does not yet support displaying
the current UUID to the user. When this functionality is added, "-generate"
should become an optional parameter.
Jeffrey Altman [Tue, 16 Oct 2007 17:55:10 +0000]
restore-
20071016
FIXES 74531
afs_com_err() was called without specifying the error code.
Derrick Brashear [Mon, 15 Oct 2007 20:19:03 +0000]
darwin-access-avoid-confusing-cp-
20071015
FIXES 69363
it wants EPERM; EACCES, and it just retries forever.
"no means no. now go away"
Derrick Brashear [Mon, 15 Oct 2007 18:23:54 +0000]
darwin-install-fstrace-catalog-
20071015
fstrace needs the message catalog to be useful. install it.
Derrick Brashear [Mon, 15 Oct 2007 18:00:58 +0000]
redhat-spec-no-kdump-really-
20071015
make really, really sure it's not there
Rainer Toebbicke [Mon, 15 Oct 2007 15:13:42 +0000]
volser-return-extended-stats-to-callers-
20071015
FIXES 74398
make sure when we roll over stats we return the new values
Jeffrey Altman [Mon, 15 Oct 2007 04:18:30 +0000]
windows-clean-eventlog-
20071014
delete AFS_component_version_number.h in the lang subdirectory
Jeffrey Altman [Mon, 15 Oct 2007 03:32:12 +0000]
windows-pioctl-two-
20071014
Two more locations where an intermediary path of length zero should
be ignored.
Jeffrey Altman [Sun, 14 Oct 2007 06:54:06 +0000]
windows-pioctl-
20071014
do not parse an intermediary path if the path length is 0
Derek Atkins [Fri, 12 Oct 2007 05:28:55 +0000]
rpm-kmodule-patch-
20071012
install the openafs module in the kernel module area, in rpms
Marc Dionne [Thu, 11 Oct 2007 18:44:53 +0000]
gcc42-integer-overflow-fix-
20071007
fix issue where gcc 4.2 compiled kernel modules were breaking on linux
====================
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.
====================
with fix from Hans-Werner Pulsen
====================
with fix from Hans-Werner Pulsen
Derrick Brashear [Thu, 11 Oct 2007 17:51:56 +0000]
macos-version-generation-
20071011
make release time simpler
Simon Wilkinson [Thu, 11 Oct 2007 17:38:56 +0000]
rpm-files-update-
20071011
updates for the specfile and rpm generation
Jeffrey Altman [Wed, 10 Oct 2007 19:50:25 +0000]
windows-freelance-pioctl-two-
20071010
explicitly process the last component of the path separately and do not
follow symlinks or chase mountpoints on the last component.
Derrick Brashear [Wed, 10 Oct 2007 18:38:45 +0000]
darwin90-disk-cache-
20071010
FIXES 43303
support disk cache in darwin90
Jeffrey Altman [Wed, 10 Oct 2007 17:05:47 +0000]
windows-build-xstat-
20071010
build xstat directory
Jeffrey Altman [Wed, 10 Oct 2007 16:43:30 +0000]
windows-clean-eventlog-
20071010
clean eventlog/lang/AFS_component_version_number.h
Jeffrey Altman [Wed, 10 Oct 2007 16:37:25 +0000]
windows-installer-wix-
20071010
Later versions of the wix toolset require that all variables be defined
with a value.
Jeffrey Altman [Wed, 10 Oct 2007 16:20:29 +0000]
windows-freelance-pioctl-
20071010
pioctl commands were failing with CM_ERROR_NOSUCHCELL because the
Freelance cell object was not being added to the Cell Name and ID
hash tables.
ParseIoctlPath was not consistently returning the FID of the specified
symlink or mount point object. The was still one more case in which
CM_FLAG_FOLLOW was being specified left over from
windows-parse-ioctl-path-
20070629. Changed the use of CM_FLAG_FOLLOW
into a 'follow' variable to ease testing and permit easy migration to
adding a 'follow' parameter to the function.
RXAFS_GetVolumeStatus is always going to fail for Freelance volumes.
Fake the response data.
UpdateVolume() was performing the wrong test for Freelance volumes.
Freelance volumes should not be marked offline even though they have
no servers.
Derrick Brashear [Tue, 9 Oct 2007 22:28:18 +0000]
darwin90-debug-harder-
20071009
stab the stabs
Derrick Brashear [Tue, 9 Oct 2007 22:26:24 +0000]
taking-rx-back-into-the-20th-century-
20061228
ken's patch is now on the ipv6 branch