]> git.michaelhowe.org Git - packages/o/openafs.git/log
packages/o/openafs.git
19 years agoSTABLE14-macos-avoid-reclaim-hang-20060124 openafs-stable-1_4_1-rc5
Derrick Brashear [Wed, 25 Jan 2006 04:47:11 +0000 (04:47 +0000)]
STABLE14-macos-avoid-reclaim-hang-20060124

FIXES 25686

based on chaskiel's suggestion, implement a lookaside reclaim list

(cherry picked from commit 1649de223462f5290974b7f05d09a41f9ff29bde)

19 years agoSTABLE14-release-avoid-negative-time-20060124
Jeffrey Hutzelman [Wed, 25 Jan 2006 03:49:53 +0000 (03:49 +0000)]
STABLE14-release-avoid-negative-time-20060124

avoid any possibility of time going negative when releasing incrementally

(cherry picked from commit 179b4c31d93b511a5762c818a47cddc0e364c9d3)

19 years agoSTABLE14-implement-vpeek-for-listvol-20060124
Derrick Brashear [Wed, 25 Jan 2006 03:25:49 +0000 (03:25 +0000)]
STABLE14-implement-vpeek-for-listvol-20060124

roll back for listonevolume (only)

(cherry picked from commit feccc2a98770fd48eee58d380671539e4bc1fdfb)

19 years agoSTABLE14-usebuffer-macros-20060124
Chas Williams [Tue, 24 Jan 2006 17:41:20 +0000 (17:41 +0000)]
STABLE14-usebuffer-macros-20060124

FIXES 25819

get rid of usebuffers macro usage warning

(cherry picked from commit 1c53d7f34db626f6f44821844912e7f7012e5bfb)

19 years agoSTABLE14-windows-notes-20060124
Jeffrey Altman [Tue, 24 Jan 2006 17:19:09 +0000 (17:19 +0000)]
STABLE14-windows-notes-20060124

more updates for 1.4.1-rc5

19 years agoSTABLE14-windows-continued-refcount-cleanup-20060124
Jeffrey Altman [Tue, 24 Jan 2006 17:16:05 +0000 (17:16 +0000)]
STABLE14-windows-continued-refcount-cleanup-20060124

* re-enable LogoffTokenTransferTimeout and LogoffTokenTransfer.
  Tokens are now destroyed at logoff based upon the values specified
  here.  Default is ON and 120 seconds.  Setting this to OFF will
  result in tokens never being destroyed.  This will leak memory.

* protect global queues with mutexes and avoid a variety of race
  conditions.

(cherry picked from commit 97304b84f76154d067717e3b34a3525abebc0cf7)

19 years agoSTABLE14-viced-grow-h_maxSlots-20060123
Chaskiel M Grundman [Mon, 23 Jan 2006 21:30:18 +0000 (21:30 +0000)]
STABLE14-viced-grow-h_maxSlots-20060123

and jhutz@cs.cmu.edu

The size of h_maxSlots as computed based upon the value of
MAX_FILESERVER_THREAD is too small.   It is possible for h_lwpIndex
(in the pthread case) to have produce the same Slot value for multiple
threads.  In that case it is possible for the following to occur:

       X: h_Hold_r(host)
       X: H_UNLOCK
       ...
       E: H_LOCK
       E: Check h_Held_r(host); it is true, so don't hold
       E: H_UNLOCK
       X: H_LOCK
       X: h_Release_r(host)
       X: h_TossStuff_r(host)  [called by h_Release_r]
       X: H_UNLOCK
       E: CheckHost(host)

The end result would be a crash due to a reference to a null field
in the host processed by CheckHost.

This patch is a bit of a hack in that it solves the problem by increasing
the number of slots for threads and does not determine the correct number
of threads the process should be allowed to produce.

(cherry picked from commit 4a5dda84178842e3eaa61d03fecc96149333dd13)

19 years agoSTABLE14-check-host-optimize-20060123
Jeffrey Altman [Mon, 23 Jan 2006 21:28:43 +0000 (21:28 +0000)]
STABLE14-check-host-optimize-20060123

There should never be a case where h_Enumerate calls CheckHost with a
host whose callback_rxcon that is NULL.  However, due to a bug it ended up
being the case that it happened.  An examination of the CheckHost code
showed that the check for the HOSTDELETED flag should take place before
a reference to callback_rxcon is obtained.  If HOSTDELETED were set, the
code would simply release the reference immediately.  However, the process
of obtaining and releasing the reference required dropping and obtaining
locks that would be a performance hit.

(cherry picked from commit ff40c87da3ce4c6a7a58c08eaa223e8760dc8f73)

19 years agoSTABLE14-fs-getfid-20060123
Derrick Brashear [Mon, 23 Jan 2006 21:07:42 +0000 (21:07 +0000)]
STABLE14-fs-getfid-20060123

add a fs subcommand to get a fid

(cherry picked from commit db98b697fe4e1b38ac5e73d60dd101b2506e12a4)

19 years agoSTABLE14-windows-smb-logoff-or-abandonment-detection-20060121
Jeffrey Altman [Sat, 21 Jan 2006 23:40:36 +0000 (23:40 +0000)]
STABLE14-windows-smb-logoff-or-abandonment-detection-20060121

This patch:

(1) removes the rest of the dead logoff code that was originally
    stripped of any meaning by DELTA
    winnt-win2000-win98-afs-client-updates-20010623.

(2) gives new meaning to smb_TokenTransfer and smb_TokenTransferTimeout.
    these variables now control how long a smb_username_t and its
    associated cm_user_t and its cm_cellinfo_t (including tokens)
    will be preserved after a logoff.

(3) adds logic to detect logoff conditions

(4) adds cm_CheckVCs().  This function probes the SMB client with a ECHO
    response to determine if the associated SMB virtual circuit is still
    valid.   This is executed once every five minutes by smb_Daemon()
    and whenever the machine's IP addresses change.  This allows
    abandoned VCs to be detected and the associated user credentials,
    file handles, and locks to be cleaned up.  This will also prevent
    the exhaustion of the limited number of SMB sessions.

====================
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.
====================

and remember to mark the session dead so it can be re-used

====================

fix an error caused by patch conflict during pullup

(cherry picked from commit 7fde756a2c6f17e6a3b0db7659c6edcc2eaa0bd7)

19 years agoSTABLE14-windows-notes-20060121
Jeffrey Altman [Sat, 21 Jan 2006 21:40:36 +0000 (21:40 +0000)]
STABLE14-windows-notes-20060121

more notes for 1.4.1-rc5

19 years agoSTABLE14-h_gethost_r-hold-fix-20060121
Jeffrey Altman [Sat, 21 Jan 2006 21:24:16 +0000 (21:24 +0000)]
STABLE14-h_gethost_r-hold-fix-20060121

fix hold errors

(cherry picked from commit 96100b6dea66ea5053956e545ada6228aabe2e4a)

19 years agoSTABLE14-openafs-stable-1_4_1-rc5-20060120
Derrick Brashear [Fri, 20 Jan 2006 06:32:22 +0000 (06:32 +0000)]
STABLE14-openafs-stable-1_4_1-rc5-20060120

make 1.4.1-rc5

19 years agoSTABLE14-cached-lookup-mtpt-20060120
Chaskiel M Grundman [Fri, 20 Jan 2006 05:21:02 +0000 (05:21 +0000)]
STABLE14-cached-lookup-mtpt-20060120

FIXES 25647

don't do lookups on the wrong vnode, if it's a mvstat=1 vnode, it's not useful

(cherry picked from commit a784c131709a8252fa1e8cb4ce49cb0c655dd7aa)

19 years agoSTABLE14-aix-vm-rdwr-fix-20060120
Tom Keiser [Fri, 20 Jan 2006 05:06:57 +0000 (05:06 +0000)]
STABLE14-aix-vm-rdwr-fix-20060120

FIXES 25650

avoid a loop in vm_rdwr on aix. also fix ifnet_flags macro

(cherry picked from commit f3a7aabbc523cc3e90b4cc11788523cc72e72822)

19 years agoSTABLE14-cmdebug-no-zero-pad-output-20060119
Derrick Brashear [Fri, 20 Jan 2006 00:03:10 +0000 (00:03 +0000)]
STABLE14-cmdebug-no-zero-pad-output-20060119

length, dv and refcnt no longer 0 padded

19 years agoSTABLE14-windows-integrated-logon-hack-fix-for-proper-refcounts-20060119
Jeffrey Altman [Thu, 19 Jan 2006 23:08:44 +0000 (23:08 +0000)]
STABLE14-windows-integrated-logon-hack-fix-for-proper-refcounts-20060119

The Integrated Logon hack of setting a token for a smb name different
than the one associated with the current smb session fails when smb
virtual circuits, sessions and username objects are properly reference
counted.  When refcounts are not leaked the constructed smb_username_t
is destroyed immediately after the token is set since there are not
references to it from a current session.

The fix is to mark the smb_username_t object with a flag indicating that
it was created by the Network Provider.  This flag prevents the destruction
when the refcount is zero so that it will be available at the time the
smb session is created (just a moment or two later.)  During the binding
of the smb_username_t to the smb_vc_t the flag is cleared allowing the
tokens to be destroyed when the smb session is closed.

(cherry picked from commit 70b76b3a1cff1dabe9b10b8222cd84fc207b6704)

19 years agoSTABLE14-linux-vrefcount-macro-fix-20060118
Derrick Brashear [Wed, 18 Jan 2006 06:27:18 +0000 (06:27 +0000)]
STABLE14-linux-vrefcount-macro-fix-20060118

thanks to jhutz@cmu.edu for making me consider this

(cherry picked from commit 0806f60ab8d3cdd092449126eb0102a0fcd5edd0)

19 years agoSTABLE14-linux-kernel-bug-macro-inline-20060117
Derrick Brashear [Wed, 18 Jan 2006 02:22:19 +0000 (02:22 +0000)]
STABLE14-linux-kernel-bug-macro-inline-20060117

force oops inline instead of calling bug, so we can printk

(cherry picked from commit 93efc4ae47cc942164c2dfee175df0760fbfca03)

19 years agoSTABLE14-windows-truncate-after-lock-check-20060116
Jeffrey Altman [Tue, 17 Jan 2006 21:45:12 +0000 (21:45 +0000)]
STABLE14-windows-truncate-after-lock-check-20060116

In smb_ReceiveNTCreateX the lock check, cm_CheckNTOpen(), must take place
before we allow the file to be truncated.

(cherry picked from commit d921ee381aa46e4385524f0c31ca5ad606aa920a)

19 years agoSTABLE14-darwin-use-kthreads-20060117
Chaskiel M Grundman [Tue, 17 Jan 2006 17:09:47 +0000 (17:09 +0000)]
STABLE14-darwin-use-kthreads-20060117

FIXES 25542

use kernel threads for afsd processes instead of forked pids

(cherry picked from commit 47d2ab228517deb7c3097ca4c5f46afd84e26098)

19 years agoSTABLE14-macos-locking-behavior-20060117
Chaskiel M Grundman [Tue, 17 Jan 2006 17:06:42 +0000 (17:06 +0000)]
STABLE14-macos-locking-behavior-20060117

FIXES 25543

F_UNLCK is send as a command, remap to F_SETLK like everyone else

(cherry picked from commit b81d0cf8af1c5788de399b630545945004f65345)

19 years agoSTABLE14-tiger-sysctl-20060117
Chaskiel M Grundman [Tue, 17 Jan 2006 16:08:20 +0000 (16:08 +0000)]
STABLE14-tiger-sysctl-20060117

FIXES 25327

implementation of sysctl for tiger

(cherry picked from commit ebf35c3f884b40616700b4b0b2462731cda290ae)

19 years agoSTABLE14-newvcache-can-fail-now-20060116
Peter Somogyi [Tue, 17 Jan 2006 05:00:21 +0000 (05:00 +0000)]
STABLE14-newvcache-can-fail-now-20060116

FIXES 22260

allow newvcache to fail without ooping

sort of nasty, if you want more vcaches, say so.

(cherry picked from commit c19324c8574c66f18cd18f2df4beb486460205aa)

19 years agoSTABLE14-windows-notes-20060116
Jeffrey Altman [Tue, 17 Jan 2006 04:20:11 +0000 (04:20 +0000)]
STABLE14-windows-notes-20060116

updates for 1.4.1-rc5

19 years agoSTABLE14-windows-version-20060116
Jeffrey Altman [Tue, 17 Jan 2006 04:00:46 +0000 (04:00 +0000)]
STABLE14-windows-version-20060116

1.4.1-rc5

19 years agoSTABLE14-windows-afsmap-20060116
Jeffrey Altman [Tue, 17 Jan 2006 03:58:05 +0000 (03:58 +0000)]
STABLE14-windows-afsmap-20060116

strcpy -> strncpy

(cherry picked from commit 4bb334ef6e40250630aec96b319de8db72619134)

19 years agoSTABLE14-remove-dead-prototype-20060116
Chaskiel M Grundman [Tue, 17 Jan 2006 03:33:41 +0000 (03:33 +0000)]
STABLE14-remove-dead-prototype-20060116

remove dead prototype for osi_iput()

(cherry picked from commit 8d158c1b615ec2625756b8f124a9eaff94a67799)

19 years agoSTABLE14-h-enumerate-r-fix-for-real-20060116
Chaskiel M Grundman [Mon, 16 Jan 2006 21:16:33 +0000 (21:16 +0000)]
STABLE14-h-enumerate-r-fix-for-real-20060116

FIXES 24196

make this not simply wrong

(cherry picked from commit 93e1cee7046984a81f0339484713649aceb25f3a)

19 years agoSTABLE14-windows-rx-ehostunreach-20060116
Jeffrey Altman [Mon, 16 Jan 2006 16:23:33 +0000 (16:23 +0000)]
STABLE14-windows-rx-ehostunreach-20060116

another location where EHOSTUNREACH can be returned
such that we can timeout the request immediately

(cherry picked from commit f7b9cd54e50e553486c2ad850df1a8ecaee0d954)

19 years agoSTABLE14-windows-vc-locks-and-more-20060115
Jeffrey Altman [Mon, 16 Jan 2006 02:06:58 +0000 (02:06 +0000)]
STABLE14-windows-vc-locks-and-more-20060115

This patch fixes several issues:

 * the smb virtual circuits can be active and/or dead.   this patch
   improves the handling of vc's making the transition from active
   to dead

 * correct the refcounts on the smb_user_t and smb_vc_t objects

 * replace the deprecated GetCurrentTime() with GetTickCounts() which
   is the new name.  This function needs to be replaced with something
   else because its return value wraps after 49.7 days

 * hold the correct locks when adjusting the scp->fileLocksH queue

(cherry picked from commit 880a6b66a5477e092d5bb74febbf24639d786c64)

19 years agoSTABLE14-windows-cmfinduserbyname-20060112
Jeffrey Altman [Thu, 12 Jan 2006 05:55:58 +0000 (05:55 +0000)]
STABLE14-windows-cmfinduserbyname-20060112

FIXES 25347

Fix invalid access after freeing newly allocated data structure

(cherry picked from commit af202cac551ad541a0a1ca4525b03c2ec05f6507)

19 years agoSTABLE14-linux-clean-up-stupidity-20060111
Chas Williams [Wed, 11 Jan 2006 21:38:30 +0000 (21:38 +0000)]
STABLE14-linux-clean-up-stupidity-20060111

get some of an inadvertant misapplied patch, and get rid of a redundant check

(cherry picked from commit 3e8b96cfc4596c3e9c6c3802c1bdca1784f86271)

19 years agoSTABLE14-windows-stable-20060110 openafs-stable-1_4_1-rc4
Jeffrey Altman [Wed, 11 Jan 2006 04:49:19 +0000 (04:49 +0000)]
STABLE14-windows-stable-20060110

updates for 1.4.1-rc4

19 years agoSTABLE14-afs-sysnames-20060110
Jeffrey Altman [Wed, 11 Jan 2006 04:47:10 +0000 (04:47 +0000)]
STABLE14-afs-sysnames-20060110

move allocations for SYS_NAME_ID_amd64_w2k and  SYS_NAME_ID_i64_w2k to avoid
conflicts

(cherry picked from commit fb6d1dacfc256386f32f59fe4335b546a7d368c3)

19 years agoSTABLE14-openafs-stable-1_4_1-rc4-20060110
Derrick Brashear [Wed, 11 Jan 2006 04:36:10 +0000 (04:36 +0000)]
STABLE14-openafs-stable-1_4_1-rc4-20060110

make 1.4.1-rc4

19 years agoSTABLE14-macos-avoid-ref-leak-20060110
Chaskiel M Grundman [Wed, 11 Jan 2006 04:26:44 +0000 (04:26 +0000)]
STABLE14-macos-avoid-ref-leak-20060110

FIXES 25302

fix for the earlier fix

(cherry picked from commit ab7cfe62ec128b1205193ede1c769ddb369cc563)

19 years agoSTABLE14-macos-reclaim-20060110
Chaskiel M Grundman [Wed, 11 Jan 2006 04:24:39 +0000 (04:24 +0000)]
STABLE14-macos-reclaim-20060110

FIXES 25165

avoid a vnode cleaning pnaic during recycle

(cherry picked from commit 29924c8302431a25d4889ef4500fc5f0eeb97b2e)

19 years agoSTABLE14-remove-vnop-mem-leak-20060110
Derrick Brashear [Tue, 10 Jan 2006 15:11:08 +0000 (15:11 +0000)]
STABLE14-remove-vnop-mem-leak-20060110

avoid leaking mvid when we use .__afsXXXX renaming in remove

(cherry picked from commit 8a1d347b2e129a6085fb605f706917d88aa054b7)

19 years agoSTABLE14-remove-vnop-lock-order-20060110
Derrick Brashear [Tue, 10 Jan 2006 15:04:40 +0000 (15:04 +0000)]
STABLE14-remove-vnop-lock-order-20060110

FIXES 25118

finegrained dcache lock order not obeyed

(cherry picked from commit 39b23a0dc16f2e26abf3b7df53bfadb98377748d)

19 years agoSTABLE14-windows-smb-username-refcount-20060110
Jeffrey Altman [Tue, 10 Jan 2006 13:28:01 +0000 (13:28 +0000)]
STABLE14-windows-smb-username-refcount-20060110

the smb_username_t objects are reference counted but they were never
released on their own accord.  Instead the smb_uid_t objects when
released were also cleaning up the smb_username_t.  Since the smb_username_t
is reused, now that smb_user_t objects are being cleaned up, this was
a problem.

(cherry picked from commit a9df3ca715f483a31c14b72bae3f548a4c9291d4)

19 years agoSTABLE14-windows-version-20060108
Jeffrey Altman [Mon, 9 Jan 2006 05:36:52 +0000 (05:36 +0000)]
STABLE14-windows-version-20060108

1.4.1-rc4 == 1.4.0094

19 years agoSTABLE14-windows-relnotes-20060108
Jeffrey Altman [Mon, 9 Jan 2006 05:29:23 +0000 (05:29 +0000)]
STABLE14-windows-relnotes-20060108

updates 1.4.1-rc4

19 years agoSTABLE14-windows-notes-20060108
Jeffrey Altman [Mon, 9 Jan 2006 05:26:35 +0000 (05:26 +0000)]
STABLE14-windows-notes-20060108

1.4.1-rc4

19 years agoSTABLE14-windows-byte-range-locking-20060108
Asanka Herath [Mon, 9 Jan 2006 04:49:17 +0000 (04:49 +0000)]
STABLE14-windows-byte-range-locking-20060108

When SMB sessions are prematurely terminated as part of the tear down
of the virtual circuit we must clean up any remaining file handles,
tree connections, and user sessions.

(cherry picked from commit 78c40badbd8c65d82f6c384fdff8056c03100b67)

19 years agoSTABLE14-windows-byte-range-locks-fix-20060107
Jeffrey Altman [Sun, 8 Jan 2006 04:18:53 +0000 (04:18 +0000)]
STABLE14-windows-byte-range-locks-fix-20060107

fix the SERVERLOCKS_ENABLED macro

(cherry picked from commit 36596b93e0b45cb1074b554e57c5f71171350f62)

19 years agoSTABLE14-windows-byte-range-locking-20060107
Jeffrey Altman [Sun, 8 Jan 2006 00:39:56 +0000 (00:39 +0000)]
STABLE14-windows-byte-range-locking-20060107

* Update architectural documentation

* Allow locks to be obtained as soon as it is possible instead of
  enforcing a requirement that locks be granted in order.

* Fix other bugs

* Disable byte range lock processing

(cherry picked from commit f057d9515c72609e4ca9e51ff96f658689679497)

19 years agoSTABLE14-macos-104-change-access-enforcement-20060105
Derrick Brashear [Fri, 6 Jan 2006 03:03:26 +0000 (03:03 +0000)]
STABLE14-macos-104-change-access-enforcement-20060105

don't improperly enforce read attribute restriction on child instead of parent
when it's a directory

avoid screwing ourselves on mode 0 files, also

(cherry picked from commit e07a781b20272a629f73cf8b2377ee8e3bd6cd99)

19 years agoSTABLE14-man-page-rxgen-cmdebug-20051227
Russ Allbery [Thu, 5 Jan 2006 18:55:43 +0000 (18:55 +0000)]
STABLE14-man-page-rxgen-cmdebug-20051227

Add man pages for rxgen and cmdebug.  The cmdebug man page was written from
scratch based on the source code.  The rxgen man page is a conversion of an
old TeX document to POD.

(cherry picked from commit 8863143052cb1a60de4fe90c1617df0bb3eca931)

19 years agoSTABLE14-man-page-misc-improvements-20051221
Russ Allbery [Thu, 5 Jan 2006 18:55:18 +0000 (18:55 +0000)]
STABLE14-man-page-misc-improvements-20051221

Add new man pages for livesys and voldump.  Fix the man page for sys to say
what it actually does, rather than implying that it works like livesys, and
to recommend livesys instead.  Fix a path error in the NetInfo
documentation.  Update the README for the current status, including
listing all installed commands that don't have man pages.  (There may still
be some subcommands that don't have man pages but aren't listed.)

(cherry picked from commit 90bc5c0092652b047c4eabffb5577e05859c80f4)

19 years agoSTABLE14-man-page-installation-20051221
Russ Allbery [Thu, 5 Jan 2006 18:54:50 +0000 (18:54 +0000)]
STABLE14-man-page-installation-20051221

On installation, substitute the configured paths into the man pages,
replacing the Transarc paths.  Also fix a problem with the way that
pinstall was being used to install man pages.  (Silly me, I was assuming
it had the same behavior as install.)

This is just a quick first pass.  Longer term, it's probably better to
replace all paths in the man pages with unambiguous tokens and then
replace those tokens instead of assuming that the man pages use Transarc
paths and replacing those paths specifically.  The current method has a
few minor problems, such as not being able to distinguish between the
various paths that make up /usr/afs/bin.  Still, the results of this method
are good enough to start with.

(cherry picked from commit 5fde2994348d1c7f6239f98aac355011125b06ad)

19 years agoSTABLE14-man-page-whitespace-20051220
Russ Allbery [Thu, 5 Jan 2006 18:54:17 +0000 (18:54 +0000)]
STABLE14-man-page-whitespace-20051220

Remove all trailing whitespace while we have the chance and there are no
merge issues yet.

(cherry picked from commit 160854bd2bd9994b615216c566473598e871d13b)

19 years agoSTABLE14-man-page-generation-20051220
Russ Allbery [Thu, 5 Jan 2006 18:53:20 +0000 (18:53 +0000)]
STABLE14-man-page-generation-20051220

Move man page generation out into a separate script that's just invoked
from regen.sh, so that someone can run that separate script later if they
wish.  Make that script more robust against problems such as empty podN
directories.  Diagnose a missing pod2man and warn about old versions of
Pod::Man.

Also, remove the old programs used to do the initial conversion from HTML.
Enough post-conversion editing was done that they're no longer necessary
except for historical curiosity, and for that purpose they can be pulled
out of CVS.

(cherry picked from commit 0b21e24d0a96401033d55d3c079c954138b7c50e)

19 years agoSTABLE14-retire-cat-pages-20051213
Russ Allbery [Thu, 5 Jan 2006 18:48:34 +0000 (18:48 +0000)]
STABLE14-retire-cat-pages-20051213

These can go now that we have POD versions of, in most cases, newer
versions of the same documentation.

(cherry picked from commit 5d2b5780c463af51ffa264386daff210c633263f)

19 years agoSTABLE14-man-merge-cleanup-20060105
Russ Allbery [Thu, 5 Jan 2006 18:39:25 +0000 (18:39 +0000)]
STABLE14-man-merge-cleanup-20060105

Add package_test.pod on the stable branch; for some reason the delta pullup
didn't add it properly.

19 years agoSTABLE14-man5-editing-pass-20051213
Russ Allbery [Thu, 5 Jan 2006 18:36:31 +0000 (18:36 +0000)]
STABLE14-man5-editing-pass-20051213

This completes the first editing pass of the man pages.  Very little
content editing has been done, but the server and client versions of
various man pages have been combined into a single man page for the
file (affects CellServDB, ThisCell, NetInfo, and NetRestrict), the
descriptions of the various AFS cache files have been combined into one
afs_cache man page, and the descriptions of the two butc log files have
been combined into one butc_logs man page.

For man pages for databases with two files, symlinks are now created on
installation for the secondary file name.

All of the man pages should now be ready for public review, additional
editing and cleanup, and content editing.

(cherry picked from commit f64a78e7013ebafd9ce4a0a50822a6087ff62f6c)

19 years agoSTABLE14-man8-editing-pass-20051213
Russ Allbery [Thu, 5 Jan 2006 18:35:30 +0000 (18:35 +0000)]
STABLE14-man8-editing-pass-20051213

This completes the initial editing pass of the section eight man pages.
Only small amounts of content editing has been done.  Some known problems
have been noted in README, but there will doubtless be others, as well as
some lingering formatting problems.  However, the quality should now be
good enough for general public review.

Some of the section eight man pages were really supposed to be section one,
the package apropros and package help commands are too useless to document,
and a few of the difficult-to-name section five man pages have now acquired
names.

RCS file: /cvs/openafs/doc/man-pages/pod8/Attic/package_apropos.pod,v
Working file: doc/man-pages/pod8/package_apropos.pod
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 4; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/man-pages/pod8/Attic/package_help.pod,v
Working file: doc/man-pages/pod8/package_help.pod
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 4; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/man-pages/pod8/Attic/package_test.pod,v
Working file: doc/man-pages/pod8/package_test.pod
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 4; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/man-pages/pod8/Attic/tapeconfig.pod,v
Working file: doc/man-pages/pod8/tapeconfig.pod
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 4; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/man-pages/pod8/Attic/xstat_cm_test.pod,v
Working file: doc/man-pages/pod8/xstat_cm_test.pod
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 4; selected revisions: 0
description:

RCS file: /cvs/openafs/doc/man-pages/pod8/Attic/xstat_fs_test.pod,v
Working file: doc/man-pages/pod8/xstat_fs_test.pod
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 4; selected revisions: 0
description:

(cherry picked from commit ab4abf15fef60308b982c73b6d1a17fa60577120)

19 years agoSTABLE14-man-page-readme-20051209
Russ Allbery [Thu, 5 Jan 2006 18:34:48 +0000 (18:34 +0000)]
STABLE14-man-page-readme-20051209

Initial documentation for the man page project, including initial notes
on conversion, a start at a formatting guide, information on how to
contribute, and an initial issues list of things I happened to notice
while editing the section one pages.

(cherry picked from commit d60224477f13bbf6a16d9582040e38d539859518)

19 years agoSTABLE14-man-page-reorg-20051209
Russ Allbery [Thu, 5 Jan 2006 18:34:26 +0000 (18:34 +0000)]
STABLE14-man-page-reorg-20051209

Generate the man pages in man1, man5, and man8 subdirectories rather than
directly in the doc/man-pages directory to reduce clutter.  Add a
.cvsignore to reduce noise.

(cherry picked from commit 7b5bfb1c1793c488fff06fc9014119a286ec86a7)

19 years agoSTABLE14-man1-editing-pass-20051209
Russ Allbery [Thu, 5 Jan 2006 18:33:51 +0000 (18:33 +0000)]
STABLE14-man1-editing-pass-20051209

This file got the wrong name when it was originally committed.  Fix.

RCS file: /cvs/openafs/doc/man-pages/pod5/Attic/afsmonitor.5,v
Working file: doc/man-pages/pod5/afsmonitor.5
head: 1.2
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 2; selected revisions: 0
description:

(cherry picked from commit 03b9fcc8834bfaaac069b27c0cd919934b68e833)

19 years agoSTABLE14-man-page-conversion-20051208
Russ Allbery [Thu, 5 Jan 2006 18:28:16 +0000 (18:28 +0000)]
STABLE14-man-page-conversion-20051208

This is the initial conversion of the AFS Adminstrators Reference into POD
for use as man pages.  The man pages are now generated via pod2man from
regen.sh so that only those working from CVS have to have pod2man
available.  The Makefile only installs.  The pages have also been sorted
out into pod1, pod5, and pod8 directories, making conversion to the right
section of man page easier without maintaining a separate list and allowing
for names to be duplicated between pod5 and pod1 or pod8 (which will likely
be needed in a few cases).

This reconversion is done with a new script based on work by Chas Williams.
In some cases, the output is worse than the previous POD pages, but this is
a more comprehensive conversion.

This is only the first step, and this initial conversion has various
problems.  In addition, the file man pages that didn't have simple names
have not been converted in this pass and will be added later.  Some of the
man pages have syntax problems and all of them have formatting errors.  The
next editing pass, coming shortly, will clean up most of the remaining
mess.

(cherry picked from commit e3dfba8e6c10c296c09e9b0ac0c0355658ce0be7)

19 years agoSTABLE14-openafs-1_4_1-rc3-20060105 openafs-stable-1_4_1-rc3
Derrick Brashear [Thu, 5 Jan 2006 06:24:39 +0000 (06:24 +0000)]
STABLE14-openafs-1_4_1-rc3-20060105

make 1.4.1-rc3

19 years agoSTABLE14-macos-vnode-get-fixes-20060105
Chaskiel M Grundman [Thu, 5 Jan 2006 05:57:55 +0000 (05:57 +0000)]
STABLE14-macos-vnode-get-fixes-20060105

The afs_pioctl.c change should fix a real crash (panic), but fs flushv isn't
that common an operation.
Other changes:
don't GUNLOCK() around vnode_get(). we weren't consistent about it, and it
doesn't appear to be strictly required.
handle vnode_get() failures in more cases
darwin_vn_hold will panic if vnode is terminating rather than mess up the
refcounts.

(cherry picked from commit 8b015a5e325b52969203d0647f67945ab7e402cc)

19 years agoSTABLE14-windows-notes-20060104
Jeffrey Altman [Thu, 5 Jan 2006 04:51:57 +0000 (04:51 +0000)]
STABLE14-windows-notes-20060104

changes since 1.4.1-rc2

19 years agoSTABLE14-windows-version-20060104
Jeffrey Altman [Thu, 5 Jan 2006 04:43:40 +0000 (04:43 +0000)]
STABLE14-windows-version-20060104

1.4.1-rc3 == 1.4.0093

19 years agoSTABLE14-windows-vista-wix-install-20051230
Asanka Herath [Fri, 30 Dec 2005 22:41:49 +0000 (22:41 +0000)]
STABLE14-windows-vista-wix-install-20051230

Update the MSI to install the network provider without impersonation

(cherry picked from commit 40f151f5c47460927bcaa5b5a631057ae72790ad)

19 years agoSTABLE14-windows-process-detach-20051227
Jeffrey Altman [Tue, 27 Dec 2005 16:18:53 +0000 (16:18 +0000)]
STABLE14-windows-process-detach-20051227

The procmgmt library replaces the C RunTime Library's signal handlers
but does not restore them on process detachment.  This leaves the
process with signal handlers pointing to invalid code that generates
an invalid access error during process termination if the library
was previously unloaded.

(cherry picked from commit 3875eec844609443710d3b98a2ac795d7f2d9121)

19 years agoSTABLE14-solaris-uniqtime32-20051223
Chas Williams [Sat, 24 Dec 2005 01:09:52 +0000 (01:09 +0000)]
STABLE14-solaris-uniqtime32-20051223

FIXES 24445

afs really wants the 32 bit timeval/uniqtime stuff

(cherry picked from commit 5a238125533fc826e3e39250fbc02e59bf352ec4)

19 years agoSTABLE14-darwin-dnlc-cache-purge-20051223
Chaskiel M Grundman [Sat, 24 Dec 2005 00:29:11 +0000 (00:29 +0000)]
STABLE14-darwin-dnlc-cache-purge-20051223

FIXES 22644

cache_purge() to hint to darwin that we changed something instead of letting it cache invalid data

(cherry picked from commit 518bebb032c410a520a8923a16263e605370d60c)

19 years agoSTABLE14-tiger-fixes-20051215
Chaskiel M Grundman [Sat, 24 Dec 2005 00:21:45 +0000 (00:21 +0000)]
STABLE14-tiger-fixes-20051215

potential reclaim in progress fix, and per Chaskiel,
"I don't remember why I put it there, but the fact that
it gets triggered means that we're leaking a vcache object lock. It looks
like the "rename to .__afsXXXX" codepath is responsible (as afsrename does
not use the fact that adp (or aodp) is locked by afs_remove, and locks it
again. I'm surprised it's not deadlocking)" so i coded up a fix

====================
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.
====================

chaskiel says
The RHS shouldn't be a double negative...
       There's no bug (other than the assert itself)

(cherry picked from commit 97ebc776712b455b1e85df598b61ba6c847ca0a6)

19 years agoSTABLE14-darwin-lost-wakeups-20051223
Chaskiel M Grundman [Sat, 24 Dec 2005 00:10:02 +0000 (00:10 +0000)]
STABLE14-darwin-lost-wakeups-20051223

FIXES 24492

rewrite for tiger to avoid losing wakeups

(cherry picked from commit 856f5288e761e9dfaf720eb38a9bd4e7a053cb0d)

20 years agoSTABLE14-linux-writepage-rename-20051218
Björn Torkelsson [Mon, 19 Dec 2005 03:29:58 +0000 (03:29 +0000)]
STABLE14-linux-writepage-rename-20051218

The ocfs2 patch renames WRITEPAGE_ACTIVE to AOP_WRITEPAGE_ACTIVE, and
Ubuntu has applied that patch to their version of the kernel.  Allow for
either.

(cherry picked from commit 37147a406e5a44d762c976773d7f3bd01154460a)

20 years agoSTABLE14-windows-no-fds-20051217
Jeffrey Altman [Sat, 17 Dec 2005 17:28:31 +0000 (17:28 +0000)]
STABLE14-windows-no-fds-20051217

when collecting rx statistics in response to an RPC query, the rx library
attempts to enumerate the number file descriptors in use.  This is fine
except that file descriptors are a C Run Time Library concept on Windows
and are not related to networking.  In Visual Studio 8, the run time library
will assert() if an invalid file descriptor is passed to fstat() which is
the test used to determine if a file descriptor is valid.

This patch simply returns 0 for the number of file descriptors in use
because that is what would have been returned anyway with the existing
code.  What we probably want to return is the number of open socket
handles.

(cherry picked from commit 8c3cf4b89445d969c9f85e929d5e030f53773f81)

20 years agoSTABLE14-viced-multiple-ports-per-client-20051208
Jeffrey Altman [Fri, 16 Dec 2005 13:29:38 +0000 (13:29 +0000)]
STABLE14-viced-multiple-ports-per-client-20051208

this patch replaces the single address in the Interface structure
with an AddrPort structure.  This enables the servers to send
messages to the correct port if the port on the Interface does not
match the port stored in the client itself.

(cherry picked from commit 71f9628a437e0ac7b9b9754d71c06ca5c3408061)

20 years agoSTABLE14-vos-restore-parent-id-patch-20051215
Jeffrey Hutzelman [Fri, 16 Dec 2005 04:26:40 +0000 (04:26 +0000)]
STABLE14-vos-restore-parent-id-patch-20051215

avoid making broken readonlies when when you restore them

(cherry picked from commit e5c8042e72a077bfcb05232c918995e9e965b7c2)

20 years agoSTABLE14-linux-dentry-multiple-mounts-20051215
Chas Williams [Fri, 16 Dec 2005 03:37:23 +0000 (03:37 +0000)]
STABLE14-linux-dentry-multiple-mounts-20051215

avoid triggering BUG() when a volume is multiply mounted

(cherry picked from commit 1fe17bc36513fffe745df2445754a19d3c0f9863)

20 years agoSTABLE14-freedatabufs-mark-free-20051215
Tom Keiser [Fri, 16 Dec 2005 03:33:08 +0000 (03:33 +0000)]
STABLE14-freedatabufs-mark-free-20051215

avoid an error with marking data packets free

(cherry picked from commit 914ac9204801982e1b1b9e827a92cd519ef18bfd)

20 years agoSTABLE14-multibreak-rework-avoiding-race-20051215
Tom Keiser [Fri, 16 Dec 2005 03:29:18 +0000 (03:29 +0000)]
STABLE14-multibreak-rework-avoiding-race-20051215

avoid a potential race finding the correct connection during
MultiBreakCallBack_r

(cherry picked from commit b34223345b07b16008e3b4253c2572bea25fca55)

20 years agoSTABLE14-rx-osi_alloc-prototype-20051215
Rainer Toebbicke [Thu, 15 Dec 2005 15:16:45 +0000 (15:16 +0000)]
STABLE14-rx-osi_alloc-prototype-20051215

FIXES 24267

must provide prototype for osi_Alloc() on systems with 64-bit pointers
and 32-bit int

(cherry picked from commit d00359b24139753b8f6a62c6a9137c8f8ccd3b7e)

20 years agoSTABLE14-rx-osi_alloc-prototype-20051214
Rainer Toebbicke [Thu, 15 Dec 2005 05:57:12 +0000 (05:57 +0000)]
STABLE14-rx-osi_alloc-prototype-20051214

FIXES 24267

include rx.h in order to safely include rx_prototypes.h in order
to obtain a prototype for osi_Alloc() in order to prevent pointer
truncation on systems with 64-bit pointers and 32-bit int.

(cherry picked from commit f75b0075a79807eaae4e071ea4d0f3bd60d7f547)

20 years agoSTABLE14-windows-rpc-warning-20051214
Jeffrey Altman [Wed, 14 Dec 2005 05:33:46 +0000 (05:33 +0000)]
STABLE14-windows-rpc-warning-20051214

If osi_InitDebug() fails due to RPC_S_NO_PROTSEQS, log to the afsd_init.log
file a warning indicating that the registry should be examined for a
misconfiguration of Windows.

(cherry picked from commit 8204b5968c0181e094f8369b94c5a4cf1a9de04a)

20 years agoSTABLE14-windows-fs-setserverpref-vldb-20051214
Jeffrey Altman [Wed, 14 Dec 2005 05:30:53 +0000 (05:30 +0000)]
STABLE14-windows-fs-setserverpref-vldb-20051214

prevent a panic condition if "fs setserverprefs -vlserver" is executed
more than once before the vlserver is associated with a cell.

(cherry picked from commit b99bd38da60f374a03382090fdaae906a00c8428)

20 years agoSTABLE14-netbsd-statvfs-20051211
Tracy Di Marco White [Sun, 11 Dec 2005 19:00:19 +0000 (19:00 +0000)]
STABLE14-netbsd-statvfs-20051211

FIXES 22905

NetBSD 2.1 doesn't have statvfs, but the version numbering scheme changed
so the test was getting this wrong.

(cherry picked from commit cd6e2b99298bbb12d09b92b6b86de7f811f4e803)

20 years agoSTABLE14-libafssetpag-bsd-20051101
Jim Rees [Sun, 11 Dec 2005 06:34:33 +0000 (06:34 +0000)]
STABLE14-libafssetpag-bsd-20051101

bsd only:
make a real syscall.o (but with no code)
build libafssetpag

(cherry picked from commit eb39935d4b3bdad5ee64afa0b50deea09a18333c)

20 years agoSTABLE14-linux-srcdir-mapfile-20051210
Chas Williams [Sat, 10 Dec 2005 18:45:39 +0000 (18:45 +0000)]
STABLE14-linux-srcdir-mapfile-20051210

FIXES 23317

Look for the shared library mapfile in ${srcdir} on Linux to allow for out
of srcdir builds.

(cherry picked from commit 77d0369d3bdeab78b02f306644ddb6133e1a1484)

20 years agoSTABLE14-windows-afsd-service-20051121
Jeffrey Altman [Wed, 7 Dec 2005 12:02:41 +0000 (12:02 +0000)]
STABLE14-windows-afsd-service-20051121

improvements to VNOVNODE fix

20 years agoSTABLE14-linux-26-390x-update-20051201
Derrick Brashear [Thu, 1 Dec 2005 15:19:38 +0000 (15:19 +0000)]
STABLE14-linux-26-390x-update-20051201

add linux26 version for symlinks

(cherry picked from commit 78bc041fe6349136bf186e90a727566892584210)

20 years agoSTABLE14-macos-103-20051201 openafs-stable-1_4_1-rc2
Derrick Brashear [Thu, 1 Dec 2005 07:37:21 +0000 (07:37 +0000)]
STABLE14-macos-103-20051201

last fixes i swear

(cherry picked from commit 49f0f7bb0ee04b6f80a4f84dbfd00dbf8f274ac2)

20 years agoSTABLE14-macos103-20051201
Derrick Brashear [Thu, 1 Dec 2005 05:43:14 +0000 (05:43 +0000)]
STABLE14-macos103-20051201

one more fix

(cherry picked from commit 3cccddb31f04deefbc20a52f95aabfa9e12853e5)

20 years agoSTABLE14-macos-103-packaging-20051201
Derrick Brashear [Thu, 1 Dec 2005 05:19:49 +0000 (05:19 +0000)]
STABLE14-macos-103-packaging-20051201

fix packaging script for 10.3

(cherry picked from commit 72e221c0c164557d4eac98d982370ca925085f96)

20 years agoSTABLE14-shlibafssetpag-20051015
Russ Allbery [Thu, 1 Dec 2005 05:16:31 +0000 (05:16 +0000)]
STABLE14-shlibafssetpag-20051015

FIXES 18745

implement {sh,}libafssetpag

20 years agoSTABLE14-volume-callback-fix-20051201
Derrick Brashear [Thu, 1 Dec 2005 05:10:55 +0000 (05:10 +0000)]
STABLE14-volume-callback-fix-20051201

fix rainer toebbicke's callbacks vanishing issue. this was probably my fault merging

(cherry picked from commit 05db09ada10f83666a8d46e734d26656e99397f2)

20 years agoSTABLE14-macos10-fstrace-catalog-20051130
Derrick Brashear [Thu, 1 Dec 2005 04:14:33 +0000 (04:14 +0000)]
STABLE14-macos10-fstrace-catalog-20051130

package the fstrace catalog correctly for osx

(cherry picked from commit 8887021eee01111f10e57db19885ace53ad46850)

20 years agoSTABLE14-openafs-1-4-1-rc2-20051130
Derrick Brashear [Thu, 1 Dec 2005 04:09:30 +0000 (04:09 +0000)]
STABLE14-openafs-1-4-1-rc2-20051130

make 1.4.1-rc2

20 years agoSTABLE14-files-per-subdir-math-error-20051130
Mike Garrison [Thu, 1 Dec 2005 04:03:30 +0000 (04:03 +0000)]
STABLE14-files-per-subdir-math-error-20051130

FIXES 23811

use a bitshift instead of xor(!)

(cherry picked from commit 9c3c2428250a8fd78af66fe8d5d6c467e8599b1d)

20 years agoSTABLE14-freepackets-cbuf-leak-20051130
Tom Keiser [Thu, 1 Dec 2005 04:00:39 +0000 (04:00 +0000)]
STABLE14-freepackets-cbuf-leak-20051130

FIXES 23143

at least i'm guessing it fixes that one
fix memory leak for multilevel packet queue stuff

(cherry picked from commit 421e063d9b6500299b5e02b999b22c01dcc7c496)

20 years agoSTABLE14-windows-release-notes-20051130
Jeffrey Altman [Wed, 30 Nov 2005 07:12:55 +0000 (07:12 +0000)]
STABLE14-windows-release-notes-20051130

A very rough set of updates for 1.4.1 RC2

20 years agoSTABLE14-winnotes-20051130
Jeffrey Altman [Wed, 30 Nov 2005 06:44:24 +0000 (06:44 +0000)]
STABLE14-winnotes-20051130

updates for 1.4.1 RC2

20 years agoSTABLE14-windows-version-20051130
Jeffrey Altman [Wed, 30 Nov 2005 06:41:53 +0000 (06:41 +0000)]
STABLE14-windows-version-20051130

version 1.4.0092 for 1.4.1-rc2

20 years agoSTABLE14-windows-afskfw-20051130
Jeffrey Altman [Wed, 30 Nov 2005 06:40:53 +0000 (06:40 +0000)]
STABLE14-windows-afskfw-20051130

correct the construction of the client name (with realm) when krb524
is being used.

(cherry picked from commit eeee5a9e14a693538a62565483db8f1b3d46cc99)