Russ Allbery [Thu, 29 Nov 2007 02:56:13 +0000]
man-fs-uuid-tweaks-
20071128
Some minor capitalization and formatting tweaks to the fs uuid man page.
Derrick Brashear [Wed, 28 Nov 2007 05:03:03 +0000]
getpag-prototype-
20071127
forward declare this function
====================
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.
====================
returns void, but, whatever
Mike Meffie [Tue, 27 Nov 2007 20:44:47 +0000]
linux-try-kbuild-deal-with-old-modpost-
20071127
the pre 2.6.20.1 modpost issued warnings and not errors for unresolvable symbols.
not overly useful.
Derrick Brashear [Tue, 27 Nov 2007 20:01:00 +0000]
macos-no-read-on-directories-
20071127
thanks to quentin@mit.edu for pointing this out.
no read() on directories
Marc Dionne [Tue, 27 Nov 2007 19:26:42 +0000]
linux-hash-inodes-for-mmap-
20071127
FIXES 78544
inodes are only added to the superblock dirty list if hashed.
do so.
Asanka Herath [Tue, 27 Nov 2007 17:28:44 +0000]
windows-nim-afscred-double-free-
20071127
fix a double free on error condition
Derrick Brashear [Mon, 26 Nov 2007 22:19:02 +0000]
redhat-cleanup-authlibs-correctly-
20071126
when not packaging authlibs, correctly discard them
Derrick Brashear [Mon, 26 Nov 2007 22:10:34 +0000]
volprocs-alloc-vnode-instead-of-using-stack-
20071126
don't use stack here; alloc memory for short term use
Rainer Toebbicke [Mon, 26 Nov 2007 21:47:00 +0000]
namei-avoid-spurious-emfile-
20071126
FIXES 77531
before we did not handle the fd cache runnign dry. "oops"
Christof Hanke [Mon, 26 Nov 2007 21:03:31 +0000]
assorted-warning-cleanup-
20071126
add missignheader files, missing return values, correct a few calls to printf
Christof Hanke [Mon, 26 Nov 2007 20:38:14 +0000]
kauth-ubik-wrap-pad-requisite-args-out-
20071126
of course, if Date is larger than 32 bits, the wrapper is broken anyway. we should really get rid of the wrapper
Derrick Brashear [Fri, 23 Nov 2007 14:29:51 +0000]
enhance-afsdb-debugging-
20071123
allow cmdebug to show locks on cells. add fstrace event for afsdb
Sean O'Malley [Fri, 23 Nov 2007 13:55:49 +0000]
krb5-klog-solaris-
20071123
FIXES 77575
make this work on solaris
Marc Dionne [Fri, 23 Nov 2007 13:37:24 +0000]
linux-2624-
20071123
FIXES 77370
support linux 2.6.24
Derrick Brashear [Fri, 23 Nov 2007 13:00:42 +0000]
macos-buildpkg-cleanup-cruft-
20071123
don't leave the old dmg around since it makes a new one bomb
Jeffrey Altman [Wed, 21 Nov 2007 19:30:51 +0000]
giveupallcallbacks-locking-
20071121
FIXES 74708
Hold H_LOCK across calls into GiveUpAllCallbacks_r
Jeffrey Altman [Wed, 14 Nov 2007 17:18:25 +0000]
windows-dv-logging-
20071114
64-bit data version logging updates
Jeffrey Altman [Wed, 14 Nov 2007 06:22:04 +0000]
windows-64bit-data-version-
20071114
Add support for 64-bit AFSFetchStatus data version values
Derrick Brashear [Wed, 14 Nov 2007 04:34:53 +0000]
dafs-inode-convert-
20071113
the dafs version of this
Derrick Brashear [Tue, 13 Nov 2007 22:15:03 +0000]
inode-convert-ro-to-rw-
20071113
so this functionality works with inode fileserver, also. corrected abstraction from previous versions so vol and volser have correct bits.
Derrick Brashear [Tue, 13 Nov 2007 00:46:09 +0000]
redhat-spec-no-strip-
20071112
suggested by simon. debuginfo support in rpmbuild strips for us. deal here.
Simon Wilkinson [Tue, 13 Nov 2007 00:29:31 +0000]
redhat-reunrevert-fedora-build-change-
20071112
"oops"
Derrick Brashear [Tue, 13 Nov 2007 00:00:57 +0000]
redhat-packaging-updates-
20071112
FIXES 76890
various updates to deal with fedora 8 and remove obsolete stuff
Jeffrey Altman [Mon, 12 Nov 2007 19:03:15 +0000]
viced-accurately-track-file-callbacks-
20071112
FIXES 74708
this should fix the issue with cbfree being corrupted. a more exhaustive pointer-blunting patch should probably be pulled in, but, this is simple and obvious
Kevin McBride [Mon, 12 Nov 2007 18:25:54 +0000]
autoconf-strip-debug-options-sanity-
20071112
To prevent stripping, specify the '--disable-strip-binaries' option on
the ./configure command line. fileserver and volserver are never stripped.
When --enable-debug is specified, binaries will not be stripped by default.
Tom Keiser [Mon, 12 Nov 2007 18:17:43 +0000]
dafs-optimize-shutdown-
20071112
optimize shutdown case as is done elsewhere, for dafs.
Jeffrey Altman [Mon, 12 Nov 2007 03:24:59 +0000]
windows-readonly-volume-callbacks-
20071111
disable the option by default. require the daemonCheckVolCBInterval
registry value be set in order to activate it.
do not renew .readonly volumes whose callbacks are less than 30 minutes
old.
Russ Allbery [Mon, 12 Nov 2007 00:12:28 +0000]
man-page-name-underscore-more-
20071111
Missed fs apropos when fixing NAME entries to eliminate spaces.
Russ Allbery [Sun, 11 Nov 2007 22:54:56 +0000]
man-page-name-underscore-
20071111
The NAME heading for man pages can't contain a space in the program side
or the man pages won't index with some man implementations.
Jeffrey Altman [Sat, 10 Nov 2007 22:50:44 +0000]
windows-readonly-volume-callbacks-
20071110
avoid a deadlock
Simon Wilkinson [Sat, 10 Nov 2007 20:13:27 +0000]
libafsrpc-makefile-fix-
20071110
FIXES 76836
fix double / in makefile
Dan Hyde [Sat, 10 Nov 2007 00:33:41 +0000]
viced-missing-lock-
20071109
FIXES 76713
Add missing lock that needs to protect an in use 'host' from having
HOSTDELETED added to the hostFlags and HWNO_INPROGRESS removed.
Jeffrey Altman [Sat, 10 Nov 2007 00:18:11 +0000]
cmdebug-human-readable-expiration-time-
20071109
add -ctime parameter which produces human readable expiration times.
Doesn't work with OpenAFS for Windows prior to 1.5.28 because time()
was not used in those versions for tracking expiration times.
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.