4580 Commits

Author SHA1 Message Date
Derrick Brashear
031369cd32 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
2007-11-28 05:03:03 +00:00
Mike Meffie
eee1f81821 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.
2007-11-27 20:44:47 +00:00
Derrick Brashear
746aab982a macos-no-read-on-directories-20071127
thanks to quentin@mit.edu for pointing this out.

no read() on directories
2007-11-27 20:01:00 +00:00
Marc Dionne
89261e8b84 linux-hash-inodes-for-mmap-20071127
FIXES 78544

inodes are only added to the superblock dirty list if hashed.

do so.
2007-11-27 19:26:42 +00:00
Asanka Herath
4172d60820 windows-nim-afscred-double-free-20071127
fix a double free on error condition
2007-11-27 17:28:44 +00:00
Derrick Brashear
3c401f4724 redhat-cleanup-authlibs-correctly-20071126
when not packaging authlibs, correctly discard them
2007-11-26 22:19:02 +00:00
Derrick Brashear
4f98eb48fc volprocs-alloc-vnode-instead-of-using-stack-20071126
don't use stack here; alloc memory for short term use
2007-11-26 22:10:34 +00:00
Rainer Toebbicke
48bcb88ddc namei-avoid-spurious-emfile-20071126
FIXES 77531

before we did not handle the fd cache runnign dry. "oops"
2007-11-26 21:47:00 +00:00
Christof Hanke
da18bb147b assorted-warning-cleanup-20071126
add missignheader files, missing return values, correct a few calls to printf
2007-11-26 21:03:31 +00:00
Christof Hanke
5d8c44bc09 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
2007-11-26 20:38:14 +00:00
Derrick Brashear
b776352e3b enhance-afsdb-debugging-20071123
allow cmdebug to show locks on cells. add fstrace event for afsdb
2007-11-23 14:29:51 +00:00
Sean O'Malley
aa5c3518df krb5-klog-solaris-20071123
FIXES 77575

make this work on solaris
2007-11-23 13:55:49 +00:00
Marc Dionne
af7cf697ef linux-2624-20071123
FIXES 77370

support linux 2.6.24
2007-11-23 13:37:24 +00:00
Derrick Brashear
dda101f22d macos-buildpkg-cleanup-cruft-20071123
don't leave the old dmg around since it makes a new one bomb
2007-11-23 13:00:42 +00:00
Jeffrey Altman
b0b3565b69 giveupallcallbacks-locking-20071121
FIXES 74708


Hold H_LOCK across calls into GiveUpAllCallbacks_r
2007-11-21 19:30:51 +00:00
Jeffrey Altman
5d84c50e5e windows-dv-logging-20071114
64-bit data version logging updates
2007-11-14 17:18:25 +00:00
Jeffrey Altman
5d245327f0 windows-64bit-data-version-20071114
Add support for 64-bit AFSFetchStatus data version values
2007-11-14 06:22:04 +00:00
Derrick Brashear
473b034521 dafs-inode-convert-20071113
the dafs version of this
2007-11-14 04:34:53 +00:00
Derrick Brashear
b98b51185d 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.
2007-11-13 22:15:03 +00:00
Derrick Brashear
524f749430 redhat-spec-no-strip-20071112
suggested by simon. debuginfo support in rpmbuild strips for us. deal here.
2007-11-13 00:46:09 +00:00
Simon Wilkinson
606ce43066 redhat-reunrevert-fedora-build-change-20071112
"oops"
2007-11-13 00:29:31 +00:00
Derrick Brashear
9f284c66a9 redhat-packaging-updates-20071112
FIXES 76890

various updates to deal with fedora 8 and remove obsolete stuff
2007-11-13 00:00:57 +00:00
Jeffrey Altman
d284c0e7c1 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
2007-11-12 19:03:15 +00:00
Kevin McBride
8593c52c27 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.
2007-11-12 18:25:54 +00:00
Tom Keiser
cd8311641f dafs-optimize-shutdown-20071112
optimize shutdown case as is done elsewhere, for dafs.
2007-11-12 18:17:43 +00:00
Jeffrey Altman
f2bff0e675 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.
2007-11-12 03:24:59 +00:00
Russ Allbery
e61efde323 man-page-name-underscore-more-20071111
Missed fs apropos when fixing NAME entries to eliminate spaces.
2007-11-12 00:12:28 +00:00
Russ Allbery
6ef9f39335 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.
2007-11-11 22:54:56 +00:00
Jeffrey Altman
b5935d47fb windows-readonly-volume-callbacks-20071110
avoid a deadlock
2007-11-10 22:50:44 +00:00
Simon Wilkinson
dd1535d315 libafsrpc-makefile-fix-20071110
FIXES 76836

fix double / in makefile
2007-11-10 20:13:27 +00:00
Dan Hyde
76c886b574 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.
2007-11-10 00:33:41 +00:00
Jeffrey Altman
578e0d9575 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.
2007-11-10 00:18:11 +00:00
Jeffrey Altman
b43d778e93 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.
2007-11-10 00:14:26 +00:00
Derrick Brashear
15a52f254b clean-platform-20071109
clean platform dir
2007-11-09 20:15:46 +00:00
Derrick Brashear
10ff33e609 macos-packaging-updates-20071109
make the readme correct. make dmgs which have a useful name
2007-11-09 19:47:18 +00:00
Derrick Brashear
757bdb092e hpux11-thread-lock-tracking-20071109
do this for hpux also
2007-11-09 19:18:49 +00:00
Derrick Brashear
bb900e97df darwin-vfs-context-pullback-20071108
again, commit fix we have in 1.4
2007-11-08 14:38:48 +00:00
Derrick Brashear
7f8f251c3f reconvert-aklog-to-afs-com-err-20071108
make this match what we're shipping in 1.4
2007-11-08 14:26:47 +00:00
Derrick Brashear
277c37f48c aix5-revert-kcred-20071108
pull this back to 1.5 and head
2007-11-08 14:21:06 +00:00
Derrick Brashear
044b90beb4 shutdown-cleanup-not-yet-20071106 2007-11-07 04:23:47 +00:00
Jeffrey Altman
ad30730abd linux-nsec-timestamp-zero-20071106
don't leave garbage in nsec
2007-11-07 04:01:36 +00:00
Anders Kaseorg
1951d7d6c7 linux-splice-support-20071106
support splice in kernels new enough to support it (sendfile is deprecated)
2007-11-06 18:30:19 +00:00
Derrick Brashear
e06a144f33 aklog-no-kimpersonate-in-more-cases-20071105
aix's NAS kerberos can't support kimpersonate. deal
2007-11-05 22:09:12 +00:00
Derrick Brashear
bf7787ba99 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.
2007-11-05 21:43:00 +00:00
Thomas Mueller
564be8601c cbd-use-callback-size-for-callbacks-20071105
FIXES 76408

cast correctly
2007-11-05 20:27:24 +00:00
Jeffrey Altman
55149d5e2b windows-bplus-tree-20071105
Migrate search key into thread local storage
2007-11-05 18:25:33 +00:00
Jeffrey Altman
981f984b2d windows-afsd-notification-20071105
fidp->cell is not a pointer
2007-11-05 18:23:30 +00:00
Jeffrey Altman
89ac3ec2f6 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.
2007-11-05 00:23:54 +00:00
Jeffrey Altman
bc7a0be8eb windows-osi-lock-assert-msg-20071104
modify lock_AssertXXX macros to call osi_assertx() and provide a
descriptive message.
2007-11-05 00:16:58 +00:00
Asanka Herath
45e2d81aa3 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.
2007-11-03 16:31:50 +00:00