openafs.git
12 years agoDEVEL15-man-fs-uuid-tweaks-20071128
Russ Allbery [Thu, 29 Nov 2007 05:17:29 +0000]
DEVEL15-man-fs-uuid-tweaks-20071128

Some minor capitalization and formatting tweaks to the fs uuid man page.

(cherry picked from commit 5743116d700ce279cde3a8dee962757df509d557)

12 years agoDEVEL15-getpag-prototype-20071127
Derrick Brashear [Wed, 28 Nov 2007 05:04:51 +0000]
DEVEL15-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

(cherry picked from commit 031369cd322d5dae4d1e8284c104e69a903c7995)

12 years agoDEVEL15-linux-try-kbuild-deal-with-old-modpost-20071127
Mike Meffie [Tue, 27 Nov 2007 20:46:24 +0000]
DEVEL15-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.

(cherry picked from commit eee1f81821656ed85720523750b312eaf0dd71b4)

12 years agoDEVEL15-macos-no-read-on-directories-20071127
Derrick Brashear [Tue, 27 Nov 2007 20:02:35 +0000]
DEVEL15-macos-no-read-on-directories-20071127

thanks to quentin@mit.edu for pointing this out.

no read() on directories

(cherry picked from commit 746aab982ae3b7b6e1fb8109e5e9892a1821d6ec)

12 years agoDEVEL15-linux-hash-inodes-for-mmap-20071127
Marc Dionne [Tue, 27 Nov 2007 19:28:26 +0000]
DEVEL15-linux-hash-inodes-for-mmap-20071127

FIXES 78544

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

do so.

(cherry picked from commit 89261e8b84697f3b5158e197ca9946c6fe9f45ed)

12 years agoDEVEL15-windows-nim-afscred-double-free-20071127
Asanka Herath [Tue, 27 Nov 2007 17:31:39 +0000]
DEVEL15-windows-nim-afscred-double-free-20071127

fix a double free on error condition

(cherry picked from commit 4172d60820fdf3375091b0a451e8d25809019d8d)

12 years agoDEVEL15-redhat-cleanup-authlibs-correctly-20071126
Derrick Brashear [Mon, 26 Nov 2007 22:20:27 +0000]
DEVEL15-redhat-cleanup-authlibs-correctly-20071126

when not packaging authlibs, correctly discard them

(cherry picked from commit 3c401f4724bea0b39baabfb3e38168886925e358)

12 years agoDEVEL15-volprocs-alloc-vnode-instead-of-using-stack-20071126
Derrick Brashear [Mon, 26 Nov 2007 22:12:04 +0000]
DEVEL15-volprocs-alloc-vnode-instead-of-using-stack-20071126

don't use stack here; alloc memory for short term use

(cherry picked from commit 4f98eb48fccde9dd70708b2dd6b0903745d16b7a)

12 years agoDEVEL15-namei-avoid-spurious-emfile-20071126
Rainer Toebbicke [Mon, 26 Nov 2007 21:47:29 +0000]
DEVEL15-namei-avoid-spurious-emfile-20071126

FIXES 77531

before we did not handle the fd cache runnign dry. "oops"

(cherry picked from commit 48bcb88ddc8fe7baa7a2b0f8decee7e704ad32ef)

12 years agoDEVEL15-assorted-warning-cleanup-20071126
Christof Hanke [Mon, 26 Nov 2007 21:08:38 +0000]
DEVEL15-assorted-warning-cleanup-20071126

add missignheader files, missing return values, correct a few calls to printf

(cherry picked from commit da18bb147b25e62ed69c6f88fa6331161018d9fb)

12 years agoDEVEL15-kauth-ubik-wrap-pad-requisite-args-out-20071126
Christof Hanke [Mon, 26 Nov 2007 20:39:46 +0000]
DEVEL15-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

(cherry picked from commit 5d8c44bc09fde707dc6aaaf037b2c8805cce0ed1)

12 years agoDEVEL15-enhance-afsdb-debugging-20071123
Derrick Brashear [Fri, 23 Nov 2007 14:32:56 +0000]
DEVEL15-enhance-afsdb-debugging-20071123

allow cmdebug to show locks on cells. add fstrace event for afsdb

(cherry picked from commit b776352e3b824d7c733ef05a71eac85c025b290b)

12 years agoDEVEL15-krb5-klog-solaris-20071123
Sean O'Malley [Fri, 23 Nov 2007 13:59:34 +0000]
DEVEL15-krb5-klog-solaris-20071123

FIXES 77575

make this work on solaris

(cherry picked from commit aa5c3518df8d73c2b0aa625e77179f33df97c2af)

12 years agoDEVEL15-linux-2624-20071123
Marc Dionne [Fri, 23 Nov 2007 13:40:36 +0000]
DEVEL15-linux-2624-20071123

FIXES 77370

support linux 2.6.24

(cherry picked from commit af7cf697ef8c0a416251d3fbfd516738e14c290b)

12 years agoDEVEL15-macos-buildpkg-cleanup-cruft-20071123
Derrick Brashear [Fri, 23 Nov 2007 13:03:05 +0000]
DEVEL15-macos-buildpkg-cleanup-cruft-20071123

don't leave the old dmg around since it makes a new one bomb

(cherry picked from commit dda101f22d4690f2c7c8731740fd9676f2a85c66)

12 years agoDEVEL15-giveupallcallbacks-locking-20071121
Jeffrey Altman [Wed, 21 Nov 2007 19:34:36 +0000]
DEVEL15-giveupallcallbacks-locking-20071121

FIXES 74708

Hold H_LOCK across calls into GiveUpAllCallbacks_r

(cherry picked from commit b0b3565b69b0b8fda46b25e7bd73c5116b32d83e)

12 years agoDEVEL15-windows-dv-logging-20071114
Jeffrey Altman [Wed, 14 Nov 2007 17:19:41 +0000]
DEVEL15-windows-dv-logging-20071114

64-bit data version logging updates

(cherry picked from commit 5d84c50e5eb754eb33de0e53eab3fd64d170bb36)

12 years agoDEVEL15-windows-64bit-data-version-20071114
Jeffrey Altman [Wed, 14 Nov 2007 06:23:33 +0000]
DEVEL15-windows-64bit-data-version-20071114

Add support for 64-bit AFSFetchStatus data version values

(cherry picked from commit 5d245327f057389950c30bb36af6d12f6f96c73a)

12 years agoDEVEL15-dafs-inode-convert-20071113
Derrick Brashear [Wed, 14 Nov 2007 04:36:14 +0000]
DEVEL15-dafs-inode-convert-20071113

the dafs version of this

(cherry picked from commit 473b0345210c98a44cffb8c5de1d0da5980969f4)

12 years agoDEVEL15-inode-convert-ro-to-rw-20071113
Derrick Brashear [Tue, 13 Nov 2007 22:15:20 +0000]
DEVEL15-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.

(cherry picked from commit b98b51185dbd46ef6d9ef0249b032bbc49d13bfb)

12 years agoDEVEL15-redhat-spec-no-strip-20071112
Derrick Brashear [Tue, 13 Nov 2007 00:47:19 +0000]
DEVEL15-redhat-spec-no-strip-20071112

suggested by simon. debuginfo support in rpmbuild strips for us. deal here.

(cherry picked from commit 524f749430e78edab581ad84978d13870911b6f8)

12 years agoDEVEL15-redhat-reunrevert-fedora-build-change-20071112
Simon Wilkinson [Tue, 13 Nov 2007 00:31:25 +0000]
DEVEL15-redhat-reunrevert-fedora-build-change-20071112

"oops"

(cherry picked from commit 606ce43066bf1d818a990982f9704a973371c456)

12 years agoDEVEL15-redhat-packaging-updates-20071112
Derrick Brashear [Tue, 13 Nov 2007 00:03:11 +0000]
DEVEL15-redhat-packaging-updates-20071112

FIXES 76890

various updates to deal with fedora 8 and remove obsolete stuff

(cherry picked from commit 9f284c66a9ad685eab201e480372633d538938b3)

12 years agoDEVEL15-viced-accurately-track-file-callbacks-20071112
Jeffrey Altman [Mon, 12 Nov 2007 19:04:27 +0000]
DEVEL15-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

(cherry picked from commit d284c0e7c11e8ee4755ac152e5e47d4abf304afc)

12 years agoDEVEL15-autoconf-strip-debug-options-sanity-20071112
Kevin McBride [Mon, 12 Nov 2007 18:28:30 +0000]
DEVEL15-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.

(cherry picked from commit 8593c52c2787587110865287937750e51c48afa5)

12 years agoDEVEL15-dafs-optimize-shutdown-20071112
Tom Keiser [Mon, 12 Nov 2007 18:19:59 +0000]
DEVEL15-dafs-optimize-shutdown-20071112

optimize shutdown case as is done elsewhere, for dafs.

(cherry picked from commit cd8311641fd32328dd1d8a07b1318ecb53726bd1)

12 years agoDEVEL15-windows-readonly-volume-callbacks-20071111
Jeffrey Altman [Mon, 12 Nov 2007 03:25:55 +0000]
DEVEL15-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.

(cherry picked from commit f2bff0e675a2ca0b583264d59d288c62636a06b8)

12 years agoDEVEL15-man-page-name-underscore-more-20071111
Russ Allbery [Mon, 12 Nov 2007 00:15:20 +0000]
DEVEL15-man-page-name-underscore-more-20071111

Missed fs apropos when fixing NAME entries to eliminate spaces.

(cherry picked from commit e61efde3236b9cd09a09cb9e869b27a14b68c4ac)

12 years agoDEVEL15-man-page-name-underscore-20071111
Russ Allbery [Sun, 11 Nov 2007 23:51:04 +0000]
DEVEL15-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.

(cherry picked from commit 6ef9f3933595e4fef5c4af334ab580dbb08212c3)

12 years agoDEVEL15-windows-readonly-volume-callbacks-20071110
Jeffrey Altman [Sat, 10 Nov 2007 22:55:19 +0000]
DEVEL15-windows-readonly-volume-callbacks-20071110

avoid a deadlock

(cherry picked from commit b5935d47fb5b06c4f1c74c3671af4b1a481b8ab3)

12 years agoDEVEL15-libafsrpc-makefile-fix-20071110
Simon Wilkinson [Sat, 10 Nov 2007 20:13:39 +0000]
DEVEL15-libafsrpc-makefile-fix-20071110

FIXES 76836

fix double / in makefile

(cherry picked from commit dd1535d31509d48d961085809c132b398edd80ff)

12 years agoDEVEL15-viced-missing-lock-20071109
Dan Hyde [Sat, 10 Nov 2007 00:37:50 +0000]
DEVEL15-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.

(cherry picked from commit 76c886b574b7d21db2557872be8af8e6ca549f34)

12 years agoDEVEL15-cmdebug-human-readable-expiration-time-20071109
Jeffrey Altman [Sat, 10 Nov 2007 00:19:20 +0000]
DEVEL15-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.

(cherry picked from commit 578e0d957547e4ac7f39b0559e166fd9eea5f150)

12 years agoDEVEL15-windows-readonly-volume-callbacks-20071109
Jeffrey Altman [Sat, 10 Nov 2007 00:15:55 +0000]
DEVEL15-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.

(cherry picked from commit b43d778e9342dd19c010354cf6db854fdf1f7d22)

12 years agoDEVEL15-clean-platform-20071109
Derrick Brashear [Fri, 9 Nov 2007 20:18:33 +0000]
DEVEL15-clean-platform-20071109

clean platform dir

(cherry picked from commit 15a52f254b8c079a1e640e18ce90508861ec5d96)

12 years agoDEVEL15-macos-packaging-updates-20071109
Derrick Brashear [Fri, 9 Nov 2007 19:31:22 +0000]
DEVEL15-macos-packaging-updates-20071109

make the readme correct. make dmgs which have a useful name

(cherry picked from commit 10ff33e6092a63107600b3b58c44c8d15849bbe6)

12 years agoDEVEL15-hpux11-thread-lock-tracking-20071109
Derrick Brashear [Fri, 9 Nov 2007 19:20:29 +0000]
DEVEL15-hpux11-thread-lock-tracking-20071109

do this for hpux also

(cherry picked from commit 757bdb092ec4e1db9c7dc949499cc761982bd105)

12 years agoDEVEL15-darwin-vfs-context-pullback-20071108
Derrick Brashear [Thu, 8 Nov 2007 14:40:12 +0000]
DEVEL15-darwin-vfs-context-pullback-20071108

again, commit fix we have in 1.4

(cherry picked from commit bb900e97df905c9805d9e7dc53a9303c671cf819)

12 years agoDEVEL15-reconvert-aklog-to-afs-com-err-20071108
Derrick Brashear [Thu, 8 Nov 2007 14:28:04 +0000]
DEVEL15-reconvert-aklog-to-afs-com-err-20071108

make this match what we're shipping in 1.4

(cherry picked from commit 7f8f251c3f252e352096f972e71c93db5cd9d3d9)

12 years agoDEVEL15-aix5-revert-kcred-20071108
Derrick Brashear [Thu, 8 Nov 2007 14:23:27 +0000]
DEVEL15-aix5-revert-kcred-20071108

pull this back to 1.5 and head

(cherry picked from commit 277c37f48c8126ba9cb986ffc7361fcb98e2bbf2)

12 years agoDEVEL15-revert-aix5-curpag-20061009
Derrick Brashear [Thu, 8 Nov 2007 14:14:49 +0000]
DEVEL15-revert-aix5-curpag-20061009

failed to commit this. commit now
VS: ----------------------------------------------------------------------

(cherry picked from commit 763dc42ff054dfd12c60aaf184271aedfffe589a)

12 years agoDEVEL15-openafs-1-5-27-20071106 openafs-devel-1_5_27
Derrick Brashear [Wed, 7 Nov 2007 04:43:42 +0000]
DEVEL15-openafs-1-5-27-20071106

make 1.5.27

12 years agoDEVEL15-shutdown-cleanup-not-yet-20071106
Derrick Brashear [Wed, 7 Nov 2007 04:33:59 +0000]
DEVEL15-shutdown-cleanup-not-yet-20071106

(cherry picked from commit 044b90beb46177691fd05e08d552a37a48ad2ac8)

12 years agoDEVEL15-windows-notes-20071106
Jeffrey Altman [Wed, 7 Nov 2007 04:09:13 +0000]
DEVEL15-windows-notes-20071106

1.5.27

12 years agoDEVEL15-linux-nsec-timestamp-zero-20071106
Jeffrey Altman [Wed, 7 Nov 2007 04:04:20 +0000]
DEVEL15-linux-nsec-timestamp-zero-20071106

don't leave garbage in nsec

(cherry picked from commit ad30730abd77fa489a6d3777e26621357724af9f)

12 years agoDEVEL15-windows-release-notes-20071106
Jeffrey Altman [Wed, 7 Nov 2007 03:42:23 +0000]
DEVEL15-windows-release-notes-20071106

1.5.27

12 years agoDEVEL15-windows-version-20071106
Jeffrey Altman [Wed, 7 Nov 2007 02:55:33 +0000]
DEVEL15-windows-version-20071106

1.5.27 == 1.5.2700.0

12 years agoDEVEL15-linux-splice-support-20071106
Anders Kaseorg [Tue, 6 Nov 2007 18:32:37 +0000]
DEVEL15-linux-splice-support-20071106

support splice in kernels new enough to support it (sendfile is deprecated)

(cherry picked from commit 1951d7d6c773aead0ea6e9d120e23d15fee4a29f)

12 years agoDEVEL15-aklog-no-kimpersonate-in-more-cases-20071105
Derrick Brashear [Mon, 5 Nov 2007 22:10:48 +0000]
DEVEL15-aklog-no-kimpersonate-in-more-cases-20071105

aix's NAS kerberos can't support kimpersonate. deal

(cherry picked from commit e06a144f33347bcac29131cd450d828c2803b9c0)

12 years agoDEVEL15-krb5-klog-no-err-table-yet-20071105
Derrick Brashear [Mon, 5 Nov 2007 21:44:23 +0000]
DEVEL15-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.

(cherry picked from commit bf7787ba99d5cae9a9413ba59dd4c01996a6d557)

12 years agoDEVEL15-cbd-use-callback-size-for-callbacks-20071105
Thomas Mueller [Mon, 5 Nov 2007 20:29:11 +0000]
DEVEL15-cbd-use-callback-size-for-callbacks-20071105

FIXES 76408

cast correctly

(cherry picked from commit 564be8601c1447b85984eb3773b48ccaa22b4343)

12 years agoDEVEL15-windows-bplus-tree-20071105
Jeffrey Altman [Mon, 5 Nov 2007 18:26:49 +0000]
DEVEL15-windows-bplus-tree-20071105

Migrate search key into thread local storage

(cherry picked from commit 55149d5e2b69cd6dfa7f6fd3d02e0d488b3fd69d)

12 years agoDEVEL15-windows-afsd-notification-20071105
Jeffrey Altman [Mon, 5 Nov 2007 18:24:34 +0000]
DEVEL15-windows-afsd-notification-20071105

fidp->cell is not a pointer

(cherry picked from commit 981f984b2dd675bab31d5d0374592c9e0fa12bbb)

12 years agoDEVEL15-windows-afsd-notification-20071104
Jeffrey Altman [Mon, 5 Nov 2007 00:24:45 +0000]
DEVEL15-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.

(cherry picked from commit 89ac3ec2f68db045cf719d619eea1fb97a6364a3)

12 years agoDEVEL15-windows-osi-lock-assert-msg-20071104
Jeffrey Altman [Mon, 5 Nov 2007 00:18:37 +0000]
DEVEL15-windows-osi-lock-assert-msg-20071104

modify lock_AssertXXX macros to call osi_assertx() and provide a
descriptive message.

(cherry picked from commit bc7a0be8eb24f5347b8a5b51067b15270aa84691)

12 years agoDEVEL15-windows-scache-syncop-waiters-20071103
Asanka Herath [Sat, 3 Nov 2007 16:33:54 +0000]
DEVEL15-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.

(cherry picked from commit 45e2d81aa3f62927adc85e4e23daf511478829e4)

12 years agoDEVEL15-windows-dir-20071103
Jeffrey Altman [Sat, 3 Nov 2007 16:19:28 +0000]
DEVEL15-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.

(cherry picked from commit 2c45d9ec9fc888c2c6eed46538fe4a9c440e3c8c)

12 years agoDEVEL15-windows-buf-20071103
Jeffrey Altman [Sat, 3 Nov 2007 16:09:14 +0000]
DEVEL15-windows-buf-20071103

assert that the cm_scache_t mutex is held when calling
buf_ForceDataVersion().

(cherry picked from commit ef6684d005b3858dd6a1a94deee48b4bbd167932)

12 years agoDEVEL15-windows-bplus-tree-20071103
Jeffrey Altman [Sat, 3 Nov 2007 16:06:53 +0000]
DEVEL15-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.

(cherry picked from commit e4ddca6854f7bd4b4ce153b2377bb6ca31f44b8f)

12 years agoDEVEL15-windows-cellservdb-20071103
Jeffrey Hutzelman [Sat, 3 Nov 2007 15:59:32 +0000]
DEVEL15-windows-cellservdb-20071103

GCO Public CellServDB 25 Oct 2007

(cherry picked from commit a08f0f4dc05890147eb58d8420ada45d2bf69864)

12 years agoDEVEL15-windows-install-des-prototypes-20071102
Jeffrey Altman [Sat, 3 Nov 2007 01:07:29 +0000]
DEVEL15-windows-install-des-prototypes-20071102

required by auth-getkey-prototyping-20071102

(cherry picked from commit 75729fa4ae564f1c5e9efb6f387840ab4b24263f)

12 years agoDEVEL15-auth-getkey-prototyping-20071102
Derrick Brashear [Fri, 2 Nov 2007 18:05:07 +0000]
DEVEL15-auth-getkey-prototyping-20071102

make this sane

(cherry picked from commit 32828680ae0342b91bea9fc2c4ecceb25510d7f3)

12 years agoDEVEL15-viced-new-host-reup-h-lock-20071101
Ken Raeburn [Thu, 1 Nov 2007 19:13:39 +0000]
DEVEL15-viced-new-host-reup-h-lock-20071101

FIXES 69384

don't leave lock dropped

(cherry picked from commit 6b5146db5b111aca5ab0b3f6423f67fb01303627)

12 years agoDEVEL15-solaris-cc-deal-with-new-64-bit-arch-specifier-20071101
Dale Ghent [Thu, 1 Nov 2007 17:07:31 +0000]
DEVEL15-solaris-cc-deal-with-new-64-bit-arch-specifier-20071101

FIXES 75908

switch from -xmarch=amd64 to -m64

(cherry picked from commit 20a837c5cc0a093b3c74622056cca9f3f561bd6b)

12 years agoDEVEL15-solaris-nevada-update-20071101
Dale Ghent [Thu, 1 Nov 2007 16:57:37 +0000]
DEVEL15-solaris-nevada-update-20071101

FIXES 75896

update for current solaris nevada

(cherry picked from commit 7a0df48baf351eb2aaa2b6c4da0054d111facdb9)

12 years agoDEVEL15-krb5-klog-20071101
Simon Wilkinson [Thu, 1 Nov 2007 16:51:47 +0000]
DEVEL15-krb5-klog-20071101

FIXES 75672

technically just pulling up mdw@umich.edu's work.

12 years agoDEVEL15-auth-cleanup-20071101
Simon Wilkinson [Thu, 1 Nov 2007 16:09:32 +0000]
DEVEL15-auth-cleanup-20071101

kill warnings in auth directory

(cherry picked from commit 089a02bcbc9df2090c275e5620248f478be1e286)

12 years agoDEVEL15-rxgen-ansi-again-20071101
Simon Wilkinson [Thu, 1 Nov 2007 16:02:26 +0000]
DEVEL15-rxgen-ansi-again-20071101

ansified rxgen again, for 1.5

(cherry picked from commit 8b8e0935e474cc2f79638b97134fa9e2d55adee8)

12 years agoDEVEL15-dafs-salvage-deal-with-clones-20071101
Tom Keiser [Thu, 1 Nov 2007 15:00:03 +0000]
DEVEL15-dafs-salvage-deal-with-clones-20071101

FIXES 75591

cope with trying to salvage a clone correctly

(cherry picked from commit eea1cb08145b2669384b2380e0878067f826d3dd)

12 years agoDEVEL15-linux-afs-unlinked-file-dentry-flagging-20071031
Chaskiel M Grundman [Thu, 1 Nov 2007 03:31:29 +0000]
DEVEL15-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]");'

(cherry picked from commit c5678a4af78305cac2246480cc0c038655db324d)

12 years agoDEVEL15-more-anonymous-pointer-cleanup-20071031
Simon Wilkinson [Wed, 31 Oct 2007 22:31:57 +0000]
DEVEL15-more-anonymous-pointer-cleanup-20071031

more char*->void* conversion

(cherry picked from commit 8214014855be3fb99c00c23400a2a3325b2b4a57)

12 years agoDEVEL15-windows-uaewouldblock-20071031
Jeffrey Altman [Wed, 31 Oct 2007 15:36:02 +0000]
DEVEL15-windows-uaewouldblock-20071031

Reorganize the order of the includes to ensure that EWOULDBLOCK is not
assigned the same value as EIO.

(cherry picked from commit d16d5c031274e05ea27f12965e094ae42d8af9e5)

12 years agoDEVEL15-windows-btree-20071031
Jeffrey Altman [Wed, 31 Oct 2007 15:34:38 +0000]
DEVEL15-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.

(cherry picked from commit 27ce37c7a0ea23c46c72484719697a900ac0a714)

12 years agoDEVEL15-windows-begindirop-20071031
Jeffrey Altman [Wed, 31 Oct 2007 15:25:01 +0000]
DEVEL15-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

(cherry picked from commit cf0d1393f4df2c0a8840aa00db05de7bd221c275)

12 years agoDEVEL15-windows-cm_analyze-ewouldblock-20071031
Jeffrey Altman [Wed, 31 Oct 2007 15:21:42 +0000]
DEVEL15-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.

(cherry picked from commit ff4c519c789af1c4b126d926dd94f3efab1ebd14)

12 years agoDEVEL15-util-cleanup-20071031
Simon Wilkinson [Wed, 31 Oct 2007 12:36:18 +0000]
DEVEL15-util-cleanup-20071031

kill the warnings in src/util

(cherry picked from commit 3e1646fed23cb58a7220e622aeb8afd519bb9840)

12 years agoDEVEL15-openafs-bozo-varargs-20071031
Simon Wilkinson [Wed, 31 Oct 2007 04:21:14 +0000]
DEVEL15-openafs-bozo-varargs-20071031

convert bozo to be prototypable

(cherry picked from commit 3f449eb48eb0f4069062401a6a27f7481c0e88d3)

12 years agoDEVEL15-openafs-void-star-pointers-20071031
Simon Wilkinson [Wed, 31 Oct 2007 04:09:10 +0000]
DEVEL15-openafs-void-star-pointers-20071031

convert anonymous pointers from char* to void*

(cherry picked from commit 855e6442615ad2c42ca8f485d8a7efbcdb8f2105)

12 years agoDEVEL15-openafs-string-header-cleanup-20071030
Simon Wilkinson [Tue, 30 Oct 2007 15:16:33 +0000]
DEVEL15-openafs-string-header-cleanup-20071030

fix string head inclusion issue

(cherry picked from commit 7d05bd439e144aa3bc5fd68908d1a359182897b0)

12 years agoDEVEL15-redhat-packaging-update-20071029
Simon Wilkinson [Tue, 30 Oct 2007 03:56:53 +0000]
DEVEL15-redhat-packaging-update-20071029

update rpm packaging stuff for what shipped in 1.4.5

(cherry picked from commit 7fe8131c049186e8340890a1effdf109d87f0611)

12 years agoDEVEL15-redhat-fedora-build-driver-20071026
Simon Wilkinson [Fri, 26 Oct 2007 17:21:51 +0000]
DEVEL15-redhat-fedora-build-driver-20071026

driver script for fedora builds

(cherry picked from commit 1b3ecae23c87a0d97b561169ca33a6e7eca449ee)

12 years agoDEVEL15-redhat-spec-fix-hugemem-modpath-20071026
Derrick Brashear [Fri, 26 Oct 2007 17:11:14 +0000]
DEVEL15-redhat-spec-fix-hugemem-modpath-20071026

make this match other kernsls

(cherry picked from commit 2ced26c8badb79a81152523bbfb4ef2cc476cb03)

12 years agoDEVEL15-windows-aclent-remove-extraneous-code-20071024
Jeffrey Altman [Thu, 25 Oct 2007 05:49:00 +0000]
DEVEL15-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().

(cherry picked from commit fb7595ad1d31c5ccafa18de854f2bf8bc8c067de)

12 years agoDEVEL15-macos-installer-crap-20071025
Derrick Brashear [Thu, 25 Oct 2007 04:43:39 +0000]
DEVEL15-macos-installer-crap-20071025

put it back the way it was

(cherry picked from commit 511aed14e0d18aa8c3a9a3742d79443912a4d9ff)

12 years agoDEVEL15-STABLE14-yscall-cleanup-if-we-installed-20071024
Derrick Brashear [Wed, 24 Oct 2007 19:22:21 +0000]
DEVEL15-STABLE14-yscall-cleanup-if-we-installed-20071024

FIXES 75307

12 years agoDEVEL15-linux-nfstrans-20071024
Simon Wilkinson [Wed, 24 Oct 2007 16:45:01 +0000]
DEVEL15-linux-nfstrans-20071024

FIXES 75233

better track changes so we can build an nfstranslator module for new linux kernels

(cherry picked from commit d78b844133549b530273fc7ad1ea376d582985d9)

12 years agoDEVEL15-cblater-bitmask-bug-20071024
Dan Hyde [Wed, 24 Oct 2007 16:35:27 +0000]
DEVEL15-cblater-bitmask-bug-20071024

FIXES 75304

add missing ()

(cherry picked from commit 1d9ba682a5533bb720ef033287f78cff467aac11)

12 years agoDEVEL15-darwin-allow-finder-to-unlink-rsrc-files-20071024
Derrick Brashear [Wed, 24 Oct 2007 06:41:44 +0000]
DEVEL15-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

(cherry picked from commit 3973d822379ca3af99db43d34d8d3468740cf5a7)

12 years agoDEVEL15-finder-and-tiger-cp-deal-with-dropboxes-20071024
Chaskiel M Grundman [Wed, 24 Oct 2007 06:30:41 +0000]
DEVEL15-finder-and-tiger-cp-deal-with-dropboxes-20071024

FIXES 69363

this way copying finishes

(cherry picked from commit f814c8a9636b2939da9d0f17de4d71c6fd23ae6c)

12 years agoDEVEL15-windows-wix-nsis-uninstall-20071023
Jeffrey Altman [Wed, 24 Oct 2007 04:50:35 +0000]
DEVEL15-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.

(cherry picked from commit 57b28bb8eed956e1fe27cef81efd4cb30e63837d)

12 years agoDEVEL15-afs-shutdown-free-resources-20071023
Mike Meffie [Tue, 23 Oct 2007 23:37:30 +0000]
DEVEL15-afs-shutdown-free-resources-20071023

try hard to free resources

(cherry picked from commit 15f6e3170ce8e0c6f8e92f1fe046e2293cf8e833)

12 years agoDEVEL15-darwin-uio-64-20071023
Derrick Brashear [Tue, 23 Oct 2007 18:39:19 +0000]
DEVEL15-darwin-uio-64-20071023

use the 64 bit awareness in the KPI

(cherry picked from commit 3b3ccef28eb19079e73f78779e2778d3aa44bb83)

12 years agoDEVEL15-pod-man-fs-uuid-20071023
Jason Edgecombe [Tue, 23 Oct 2007 18:01:15 +0000]
DEVEL15-pod-man-fs-uuid-20071023

FIXES 75175

add man page for fs uuid

(cherry picked from commit 66a19a512e2a015b39089343288881a108b8d637)

12 years agoDEVEL15-darwin-afsd-cleanup-power-notification-nicely-20071023
Derrick Brashear [Tue, 23 Oct 2007 15:29:49 +0000]
DEVEL15-darwin-afsd-cleanup-power-notification-nicely-20071023

don't drop a core on shutdown

(cherry picked from commit 4526c6a4f7e6f627249580cac0ba9373735ae667)

12 years agoDEVEL15-vos-restore-check-doesnt-apply-to-pipes-20071023
Derrick Brashear [Tue, 23 Oct 2007 15:20:34 +0000]
DEVEL15-vos-restore-check-doesnt-apply-to-pipes-20071023

as pointed out by hung pham

(cherry picked from commit 79e51892fe1d6fe115a9ae6301f4553e6b6dc07c)

12 years agoDEVEL15-openafs-1-5-26-20071022 openafs-devel-1_5_26
Derrick Brashear [Tue, 23 Oct 2007 04:07:55 +0000]
DEVEL15-openafs-1-5-26-20071022

make 1.5.26

12 years agoDEVEL15-darwin-modify-cp-workaround-20071022
Derrick Brashear [Tue, 23 Oct 2007 01:31:23 +0000]
DEVEL15-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.

(cherry picked from commit 6aaca73002214ff8b7a757322a9bffa3d5af0e3e)

12 years agoDEVEL15-change-default-probeint-for-rfc4787-20071022
Derrick Brashear [Tue, 23 Oct 2007 01:02:50 +0000]
DEVEL15-change-default-probeint-for-rfc4787-20071022

an RFC compliant port mapping device guarantees less time than we previously probed.

(cherry picked from commit 4456aa773929fa959e998058bfafc14d6309ff49)

12 years agoDEVEL15-windows-version-20071022
Jeffrey Altman [Tue, 23 Oct 2007 00:28:14 +0000]
DEVEL15-windows-version-20071022

1.5.26

12 years agoDEVEL15-windows-release-notes-20071022
Jeffrey Altman [Tue, 23 Oct 2007 00:21:56 +0000]
DEVEL15-windows-release-notes-20071022

final for 1.5.26