openafs.git
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

12 years agoDEVEL15-fssync-poll-interface-20071022
Simon Wilkinson [Mon, 22 Oct 2007 18:29:49 +0000]
DEVEL15-fssync-poll-interface-20071022

FIXES 74708

support a poll interface

otherwise, the fd setsize can screw with us

(cherry picked from commit d0285a2193de9868024eb0f432a495bd1802663f)

12 years agoDEVEL15-windows-notes-20071022
Jeffrey Altman [Mon, 22 Oct 2007 16:05:15 +0000]
DEVEL15-windows-notes-20071022

notes for 1.5.26

12 years agoDEVEL15-cpp-avoid-cc-E-20071022
Simon Wilkinson [Mon, 22 Oct 2007 14:22:57 +0000]
DEVEL15-cpp-avoid-cc-E-20071022

finding the right cpp is good. having it not be cc -E is better

(cherry picked from commit e25e21e909c5684025a1c6066dedaffa2666c3c7)

12 years agoDEVEL15-windows-ntstatus-warnings-20071021
Jeffrey Altman [Mon, 22 Oct 2007 04:33:20 +0000]
DEVEL15-windows-ntstatus-warnings-20071021

suppress warnings caused by multiple definitions of NTSTATUS values

(cherry picked from commit fd1bf06004bc698242d8ceec88126384bba8f30f)

12 years agoDEVEL15-windows-del-symlink-20071021
Jeffrey Altman [Mon, 22 Oct 2007 04:30:04 +0000]
DEVEL15-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.

(cherry picked from commit f90153625efee1e5589df5e6b66a1162e07ddbfa)

12 years agoDEVEL15-windows-registry-OfflineReadOnlyIsValid-20071019
Jeffrey Altman [Sat, 20 Oct 2007 05:03:04 +0000]
DEVEL15-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.

(cherry picked from commit 20cfc16e3d6d874a6a21f6ed68ff904dd45142d5)

12 years agoDEVEL15-cpp-autoconf-located-20071019
Arno Schuring [Sat, 20 Oct 2007 01:23:42 +0000]
DEVEL15-cpp-autoconf-located-20071019

let autoconf find cpp

(cherry picked from commit 6122c757e1902baabc35d0ce0f6de336c2576b22)

12 years agoDEVEL15-darwin80-dnlc-dont-return-deadvnodes-20071019
Derrick Brashear [Fri, 19 Oct 2007 21:39:07 +0000]
DEVEL15-darwin80-dnlc-dont-return-deadvnodes-20071019

FIXES 41550

obvious. if we are going to be like GetVCache, we should

(cherry picked from commit 7e752ba085729991101782fe40f9db8c6f384734)

12 years agoDEVEL15-windows-pioctl-parse-path-20071018
Jeffrey Altman [Fri, 19 Oct 2007 05:27:03 +0000]
DEVEL15-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.

(cherry picked from commit 05ee11d3155489bf28ca35b8b1ea4f32c97bf76b)

12 years agoDEVEL15-windows-pioctl-error-codes-20071018
Jeffrey Altman [Thu, 18 Oct 2007 23:07:59 +0000]
DEVEL15-windows-pioctl-error-codes-20071018

add knowledge of new cm error codes

(cherry picked from commit 53baa78733c01dfcf842a7d8339bc3e8c55d517e)

12 years agoDEVEL15-windows-smb-20071018
Jeffrey Altman [Thu, 18 Oct 2007 06:29:09 +0000]
DEVEL15-windows-smb-20071018

refactoring, suppression of duplicate status value definition warnings,
and removal of old pattern matching code

(cherry picked from commit 8598b81a6904e4a7d3436d5545fdfd7f1ee99890)

12 years agoDEVEL15-windows-freelance-symlink-20071018
Jeffrey Altman [Thu, 18 Oct 2007 06:28:39 +0000]
DEVEL15-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.

(cherry picked from commit 91855b82c75f7a9d840eb7e47663dd2c41eb561b)

12 years agoDEVEL15-windows-afskfw-20071018
Jeffrey Altman [Thu, 18 Oct 2007 06:21:35 +0000]
DEVEL15-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.

(cherry picked from commit deced1c9328ee5451c7f6927afb5b08b5d9e4ed4)

12 years agoDEVEL15-redhat-spec-require-bison-flex-20071018
Derrick Brashear [Thu, 18 Oct 2007 05:12:44 +0000]
DEVEL15-redhat-spec-require-bison-flex-20071018

require everything we need to build

(cherry picked from commit 930f1d7ad79b9fbc6f329eb85d84a7263b8908d6)

12 years agoDEVEL15-redhat-packaging-updates-20071018
Derrick Brashear [Thu, 18 Oct 2007 05:04:10 +0000]
DEVEL15-redhat-packaging-updates-20071018

make the buildall script know centos and new fedora; make the spec file include it

(cherry picked from commit bc1cc5a65b4096d8d489c1d20e0cb3a6f8b5b556)

12 years agoDEVEL15-darwin-fsref-other-races-20071017
Derrick Brashear [Wed, 17 Oct 2007 21:34:17 +0000]
DEVEL15-darwin-fsref-other-races-20071017

FIXES 41550

not clear this is exactly correct but testing seems to vet it.

(cherry picked from commit d8faa623f7ae0c26efd9923953f10b80eaed8042)

12 years agoDEVEL15-darwin-finalizevnode-get-vnode-inside-lock-20071017
Chaskiel M Grundman [Wed, 17 Oct 2007 18:17:15 +0000]
DEVEL15-darwin-finalizevnode-get-vnode-inside-lock-20071017

FIXES 41550

the ovp initialization should happen while we have the vnode locked, regardless.

(cherry picked from commit 49630f29571b5d602e8d57aa1b48e3fe710e2a53)

12 years agoDEVEL15-afs-shutdown-free-resources-20071017
Derrick Brashear [Wed, 17 Oct 2007 15:34:53 +0000]
DEVEL15-afs-shutdown-free-resources-20071017

try hard to free resources

(cherry picked from commit eac13cbb48a95170a310dedb5d7efd1eeb4350b3)

12 years agoDEVEL15-darwin90-disk-cache-20071016
Derrick Brashear [Wed, 17 Oct 2007 04:48:07 +0000]
DEVEL15-darwin90-disk-cache-20071016

FIXES 43303

don't break memcache, also

(cherry picked from commit 30193a043e0b3d965139ec92227f73ce31f24403)

12 years agoDEVEL15-translator-sysnamelist-bugfix-20071016
Douglas Engert [Tue, 16 Oct 2007 22:56:45 +0000]
DEVEL15-translator-sysnamelist-bugfix-20071016

FIXES 74478

fix sysname list support bug when the list is empty

(cherry picked from commit 62689b013451c38843d369ae86e46ab37099648a)

12 years agoDEVEL15-windows-fs-uuid-20071016
Jeffrey Altman [Tue, 16 Oct 2007 18:26:08 +0000]
DEVEL15-windows-fs-uuid-20071016

do not require afs client administrator access to display the current
Uuid value.

(cherry picked from commit 89c8d7e125a5b46f57081000fcbc698eba9e5daa)

12 years agoDEVEL15-fs-uuid-20071016
Jason Edgecombe [Tue, 16 Oct 2007 18:21:55 +0000]
DEVEL15-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.

(cherry picked from commit 7b2fc6e8d53d1ca8f111cd757e723ab27e9a31d9)

12 years agoDEVEL15-restore-20071016
Jeffrey Altman [Tue, 16 Oct 2007 17:58:41 +0000]
DEVEL15-restore-20071016

FIXES 74531

afs_com_err() was called without specifying the error code.

(cherry picked from commit b8ecf28e22b24cf220bbae8042ca3c2d16c7e080)

12 years agoDEVEL15-darwin-access-avoid-confusing-cp-20071015
Derrick Brashear [Mon, 15 Oct 2007 20:20:43 +0000]
DEVEL15-darwin-access-avoid-confusing-cp-20071015

FIXES 69363

it wants EPERM; EACCES, and it just retries forever.

"no means no. now go away"

(cherry picked from commit 38719a218c44dd78300afe179bf051e3fbd08e0f)

12 years agoDEVEL15-darwin-install-fstrace-catalog-20071015
Derrick Brashear [Mon, 15 Oct 2007 18:28:57 +0000]
DEVEL15-darwin-install-fstrace-catalog-20071015

fstrace needs the message catalog to be useful. install it.

(cherry picked from commit d66f71cc08fe1d992e4354938a8968cae03d1ce0)

12 years agoDEVEL15-redhat-spec-no-kdump-really-20071015
Derrick Brashear [Mon, 15 Oct 2007 18:01:58 +0000]
DEVEL15-redhat-spec-no-kdump-really-20071015

make really, really sure it's not there

(cherry picked from commit 38a653ea0d4d3ba8307f50c1ba6637b10d90d176)

12 years agoDEVEL15-volser-return-extended-stats-to-callers-20071015
Rainer Toebbicke [Mon, 15 Oct 2007 15:15:56 +0000]
DEVEL15-volser-return-extended-stats-to-callers-20071015

FIXES 74398

make sure when we roll over stats we return the new values

(cherry picked from commit 14e71a12b6da596880debc21c224b94c33a5b6f2)