openafs.git
16 years agoDEVEL15-man-page-fs-updates-20070817
Jason Edgecombe [Sat, 18 Aug 2007 02:55:31 +0000]
DEVEL15-man-page-fs-updates-20070817

Add man pages for fs flushall and fs getcalleraccess.

(cherry picked from commit 024442b020043501f14069d762ecefbf7feef59a)

16 years agoDEVEL15-man-page-bos-util-20070817
Jason Edgecombe [Sat, 18 Aug 2007 02:50:36 +0000]
DEVEL15-man-page-bos-util-20070817

Add a man page for bos_util.

(cherry picked from commit 815ac3c773d9312f2abf6e7903aa3d723618485a)

16 years agoDEVEL15-man-page-updates-20070817
Jason Edgecombe [Sat, 18 Aug 2007 02:46:24 +0000]
DEVEL15-man-page-updates-20070817

Add new man pages for pts interactive, quit, sleep, and source.  Fix POD
errors in a few other man pages and update the to-do list in README.

(cherry picked from commit 87efbab4e8c0dc37c1938503eea88f7f319b7e5d)

16 years agoDEVEL15-man-page-check-pod-20070817
Jason Edgecombe [Sat, 18 Aug 2007 02:42:35 +0000]
DEVEL15-man-page-check-pod-20070817

Add check-pod script to test for POD syntax errors.

(cherry picked from commit a8172fca24f91e2b5ab10f66d62d766b7e5d46c1)

16 years agoDEVEL15-aix-dont-use-root-vfs-for-anything-20070815
Derrick Brashear [Thu, 16 Aug 2007 04:52:33 +0000]
DEVEL15-aix-dont-use-root-vfs-for-anything-20070815

the cache may not be in /; we basically never need rootvfs

(cherry picked from commit 25ace7c2c79705a59be4aded829aaf8d1dc003e2)

16 years agoDEVEL15-windows-fs-utils-prototypes-20070813
Jeffrey Altman [Mon, 13 Aug 2007 20:22:02 +0000]
DEVEL15-windows-fs-utils-prototypes-20070813

use ANSI prototypes and function declarations

(cherry picked from commit b20488de08d230125b3110ec51fe753ef514ddb7)

16 years agoDEVEL15-windows-service-manager-20070812
Jeffrey Altman [Mon, 13 Aug 2007 03:53:30 +0000]
DEVEL15-windows-service-manager-20070812

provide the windows service manager with shutdown hints in addition
to startup hints

(cherry picked from commit 35f91f1203717f8ab9f00f0914025fc6606e102d)

16 years agoDEVEL15-viced-dafs-20070812
Jeffrey Altman [Mon, 13 Aug 2007 03:26:41 +0000]
DEVEL15-viced-dafs-20070812

include viced_prototypes.h

(cherry picked from commit a9e7bedcc91a9cb00b2cb1af80fe273fc70664f6)

16 years agoDEVEL15-windows-remove-is5-20070812
Jeffrey Altman [Mon, 13 Aug 2007 03:13:28 +0000]
DEVEL15-windows-remove-is5-20070812

remove last trace of InstallShield5 from build rules

(cherry picked from commit c677b79931efb672a439993f32571c53ce17c56e)

16 years agoDEVEL15-pts-20070811
Jeffrey Altman [Sun, 12 Aug 2007 00:41:37 +0000]
DEVEL15-pts-20070811

remove SUPERGROUPS condition for compilation of pts commands:
  Interactive, Quit, Source, Sleep

fix the assignment of 'source' to permit it to function

rename functions to avoid conflicts with Win32 API on Windows

replace bcopy and bzero with memcpy and memset to permit compilation
on Windows

replace ubik_Call(xxx) with ubik_xxx() (testpt.c)

add -DSUPERGROUPS and map.c to NTMakefile

(cherry picked from commit 58d5f38b10b35ab3712eacde60f2a06fb2f2a062)

16 years agoDEVEL15-windows-adjustable-block-size-20070810
Jeffrey Altman [Fri, 10 Aug 2007 21:39:26 +0000]
DEVEL15-windows-adjustable-block-size-20070810

New registry value "BlockSize" can be used to specify an alternative
block size.  The default is 4K.  A larger blocksize will be needed if
you want to support a 6TB cache.

Also extend the service startup timeout hint to two minutes to give
the AFS client service more time to startup successfully when the
cache is really large.

(cherry picked from commit e7ff4185a5e978798b194f8214056425debc8fbc)

16 years agoDEVEL15-windows-wix-20070810
Jeffrey Altman [Fri, 10 Aug 2007 13:37:59 +0000]
DEVEL15-windows-wix-20070810

add a separate description string for the 32-bit afs shell extension

(cherry picked from commit 7a042f3ce4914079ade3c159a7b541445acf758b)

16 years agoDEVEL15-viced-cleanup-head-20070810 openafs-devel-1_5_22
Derrick Brashear [Fri, 10 Aug 2007 05:13:04 +0000]
DEVEL15-viced-cleanup-head-20070810

fix demand attach rwlock code on macos, fix host tracking code everywhere

only applies to head and 1.5

(cherry picked from commit 493cad12aa00c321ad125118a9bd9b037a651863)

16 years agoDEVEL15-openafs-1-5-22-20070809
Derrick Brashear [Fri, 10 Aug 2007 04:26:53 +0000]
DEVEL15-openafs-1-5-22-20070809

1.5.22

16 years agoDEVEL15-windows-aklog-20070809
Jeffrey Altman [Thu, 9 Aug 2007 23:54:07 +0000]
DEVEL15-windows-aklog-20070809

correct an error message

(cherry picked from commit 25a64a7eb219e3946e5a45f27e14fc53d43d7fcc)

16 years agoDEVEL15-windows-version-20070809
Jeffrey Altman [Thu, 9 Aug 2007 23:34:21 +0000]
DEVEL15-windows-version-20070809

1.5.2200.0 == 1.5.22

16 years agoDEVEL15-windows-notes-20070809
Jeffrey Altman [Thu, 9 Aug 2007 23:31:47 +0000]
DEVEL15-windows-notes-20070809

1.5.22

16 years agoDEVEL15-windows-release-notes-20070809
Jeffrey Altman [Thu, 9 Aug 2007 16:46:17 +0000]
DEVEL15-windows-release-notes-20070809

updates for 1.5.22

16 years agoDEVEL15-64bit-ticket-file-20070809
Rainer Toebbicke [Thu, 9 Aug 2007 15:58:23 +0000]
DEVEL15-64bit-ticket-file-20070809

fix the ticket files we write on 64 bit

(cherry picked from commit 6811175f37ba51691556d64309d59dbff8a1a29c)

16 years agoDEVEL15-windows-dirty-buffer-optimization-20070808
Jeffrey Altman [Thu, 9 Aug 2007 06:33:56 +0000]
DEVEL15-windows-dirty-buffer-optimization-20070808

when storing dirty buffers only store the bytes that are dirty

increase the default chunksize from 128KB to 1MB

remove OVERLAPPED field from cm_buf_t.  It was unused.

add a dummy pointer in order to ensure data structure compatibility
between the checked and release builds.

(cherry picked from commit 377689b39a1821eb268b25cebc9e6cb1ccc0d88a)

16 years agoDEVEL15-viced-hash-20070808
Jeffrey Altman [Wed, 8 Aug 2007 17:31:25 +0000]
DEVEL15-viced-hash-20070808

(1) fixes a bug that could cause a 'host' structure to not be removed
from the global host list if the 'host' did not possess an interface
list. This would happen with older AFS clients that do not support the
WhoAreYou family of RPCs. Windows clients older than 1.3.80 and old
Transarc UNIX clients.

(2) fixes a bug which could result in ViceLog being called with an
uninitialized 'hoststr' buffer as a parameter.

(3) ensures that only addresses known to belong to the 'host' are
added to the address hash table.  The list of addresses provided by
the client are stored as alternates and are only used when searching
for a client that is no longer accessible on the primary address.
These addresses are not stored in the address hash table within
initInterfaceAddr_r().

The addresses provided by the client should not be added to the hash
table because they have not been verified as belonging to the 'host'
that provided them.  The contents of the list may in fact be completely
unreliable.  Consider the existing UNIX clients that generate the list
at startup and never alter it even after the client has migrated to a
different network.  If two client's both claim the same address,
lookups by address may fail to find the correct one.

a. The client list might contain private address ranges which
are likely to be re-used by many clients allocated addresses
by a NAT.

b. The client list will not include any public addresses that
are hidden by a NAT.

c. Private address ranges that are exposed to the server will
be obtained from the rx connections that use them.

d. Lists provided by the client are not necessarily truthful.
Many existing clients (UNIX) do not refresh the IP address
list as the actual assigned addresses change. The end result
is that they report the initial address list for the lifetime
of the process. In other words, a client can report addresses
that they are in fact not using. Adding these addresses to
the host interface list without verification is not only
pointless, it is downright dangerous.

e. The reported addresses do not include port numbers and
guessing that the port number is 7001 does not work when
port mapping devices such as NATs or some VPNs are in
use.

(4) improves logging to ensure that all references to a 'host' structure
report both a memory address and the IP address/port. this will avoid
confusion *if* more than one 'host' structure is assigned the same
primary address.

(5) logs the UUID along with the client addresses when initializing the
host's interface list. (level 125)

(6) saves memory by using a smaller structure for the UUID hash table

(cherry picked from commit d51feff4b2c79fb25666559abbb007823d938d57)

16 years agoDEVEL15-viced-multi-probe-addr-20070808
Rainer Toebbicke [Wed, 8 Aug 2007 16:56:28 +0000]
DEVEL15-viced-multi-probe-addr-20070808

FIXES 67355

MultiProbeAlternateAddress_r badly indexes the list of interfaces for
clients with multiple IP interfaces, resulting in peers with IP
address 0 port 0 to be created. This in turn results in rxi_sendmsg
errors (on systems where caught early, as on Linux, on others it may
pass unnoticed).

(cherry picked from commit f099df38b2eff9c8c5afb52ec1a69dd89af22dad)

16 years agoDEVEL15-windows-afsd-uninit-vars-20070806
Jeffrey Altman [Tue, 7 Aug 2007 05:00:49 +0000]
DEVEL15-windows-afsd-uninit-vars-20070806

FIXES 67126

ensure the connp is set to NULL in case of error

(cherry picked from commit 8c69510d92052607f94d947ce2dd3e0b40eee42f)

16 years agoDEVEL15-man-page-vos-size-20070805
Jason Edgecombe [Mon, 6 Aug 2007 00:41:53 +0000]
DEVEL15-man-page-vos-size-20070805

Add a new man page for vos size.

(cherry picked from commit 87d2f5cd3f1e370f6daf6b6170e00f156644315a)

16 years agoDEVEL15-man-page-fs-newalias-20070805
Jason Edgecombe [Mon, 6 Aug 2007 00:38:42 +0000]
DEVEL15-man-page-fs-newalias-20070805

Add a new fs newalias man page.  Add -help to the synopsis and options of
the other new man pages.  Add additional missing links in the fs man page.
Fix some wording in the CellAlias man page.

(cherry picked from commit e7742db31f68acf2d227c13840e0a0ed9291d247)

16 years agoDEVEL15-man-page-fs-listaliases-20070805
Jason Edgecombe [Mon, 6 Aug 2007 00:33:33 +0000]
DEVEL15-man-page-fs-listaliases-20070805

Add manual page for fs listaliases.  Also add the links in the fs(1) man
page and update README more for the current to-do list.

(cherry picked from commit 95cfc0cfafe5c0a3f9f8ff07cb3c2be29fe9e3fc)

16 years agoDEVEL15-man-page-style-20070805
Russ Allbery [Mon, 6 Aug 2007 00:19:31 +0000]
DEVEL15-man-page-style-20070805

Some style fixes and some additional style documentation in README.

(cherry picked from commit e735ef962de3623f8fa11cca92d13151d62b5aaa)

16 years agoDEVEL15-man-page-afsd-crypt-alias-20070805
Jason Edgecombe [Sun, 5 Aug 2007 23:10:41 +0000]
DEVEL15-man-page-afsd-crypt-alias-20070805

Complete the documentation of the afsd flags and update a few things like
-settime and -nosettime.  Add man pages for fs setcrypt, fs getcrypt, and
CellAlias.  Based on work by Jason Edgecombe and then extensively edited,
so any errors I probably introduced.

(cherry picked from commit 8761673c608986d32bb858b26441b09c24f41696)

16 years agoDEVEL15-windows-local-directory-updates-smb-20070802
Asanka Herath [Thu, 2 Aug 2007 22:06:39 +0000]
DEVEL15-windows-local-directory-updates-smb-20070802

The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server.   As the directory size increases, the clock
time necessary to perform the reload increases.

This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c.  It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:

 1. the data version on the directory as a result of the change
    was incremented by one.

 2. all of the directory buffers required for the update are in
    the cache.

If these conditions are not met, the directory is reloaded from the file
server.

(cherry picked from commit 9353e122a33044df752e61de95f155f63876f0a2)

16 years agoDEVEL15-windows-no-more-infinite-recursion-20070802
Jeffrey Altman [Thu, 2 Aug 2007 21:58:42 +0000]
DEVEL15-windows-no-more-infinite-recursion-20070802

FIXES 15855

In cm_NameI, keep track of what fids were crossed when evaluating the
path.  If we discover a loop return a CM_ERROR_TOO_MANY_SYMLINKS error.

This resolves the complaint that when infinite loops are hit in the afs
name space the afsd_service.exe process uses 100% of the CPU.

(cherry picked from commit ac5346c3703e199eaabf8eeb7e156e42644092c4)

16 years agoDEVEL15-windows-local-directory-updates-20070802
Asanka Herath [Thu, 2 Aug 2007 21:53:51 +0000]
DEVEL15-windows-local-directory-updates-20070802

The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server.   As the directory size increases, the clock
time necessary to perform the reload increases.

This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c.  It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:

 1. the data version on the directory as a result of the change
    was incremented by one.

 2. all of the directory buffers required for the update are in
    the cache.

If these conditions are not met, the directory is reloaded from the file
server.

(cherry picked from commit c4047f6cb52927890329b09669b1a2686ace6059)

16 years agoDEVEL15-windows-do-not-expire-cbs-when-servers-are-down-20070802
Jeffrey Altman [Thu, 2 Aug 2007 21:46:12 +0000]
DEVEL15-windows-do-not-expire-cbs-when-servers-are-down-20070802

if all of the servers are down when a callback is due to expire
delay the expiration until at least one server is available.
this prevents some applications that are running when the CM
is off the network from failing if their pages are swapped out.

(cherry picked from commit 10b76dffa0ece0cca898637a00d34b27809b9eb9)

16 years agoDEVEL15-windows-libafsrpc-20070802
Jeffrey Altman [Thu, 2 Aug 2007 06:21:36 +0000]
DEVEL15-windows-libafsrpc-20070802

use bg-fcrypt in libafsrpc.dll which is used by the CM

(cherry picked from commit 4d75b4758e70d42999bc6605971f606b03127bc9)

16 years agoDEVEL15-rxkad-bg-fcrypt-unbreak-windows-20070731
Jeffrey Altman [Tue, 31 Jul 2007 23:20:59 +0000]
DEVEL15-rxkad-bg-fcrypt-unbreak-windows-20070731

i (derrick) broke everything. fix it.

(cherry picked from commit 4b8db9f2119de86b9e52e947cc5708d89dbcc3f5)

16 years agoDEVEL15-viced-avoid-tying-up-all-threads-20070730
Derrick Brashear [Mon, 30 Jul 2007 14:19:02 +0000]
DEVEL15-viced-avoid-tying-up-all-threads-20070730

FIXES 19461

implement a thread quota.

(cherry picked from commit ece19eefbe46400e1c28834570deed7294761167)

16 years agoDEVEL15-darwin-avoid-fsref-panic-maybe-20070728
Derrick Brashear [Sat, 28 Jul 2007 15:33:26 +0000]
DEVEL15-darwin-avoid-fsref-panic-maybe-20070728

maybe this works.

(cherry picked from commit a608cd2e24e50026c36148eb357c03d583384dde)

16 years agoDEVEL15-windows-fs-20070727
Jeffrey Altman [Sat, 28 Jul 2007 04:04:37 +0000]
DEVEL15-windows-fs-20070727

return error when GetCell fails

(cherry picked from commit 840ad12eb3f2f5b35a37d876aef93c01a0bea3d3)

16 years agoDEVEL15-windows-rdrtimeout-20070727
Jeffrey Altman [Sat, 28 Jul 2007 03:51:16 +0000]
DEVEL15-windows-rdrtimeout-20070727

RDRtimeout is seconds.  need to convert to milliseconds for comparison

(cherry picked from commit 0ba1a6275755e7df19cab1cf20fb1b7aaf176c61)

16 years agoDEVEL15-man-page-demand-attach-20070726
Steven Jenkins [Fri, 27 Jul 2007 19:07:43 +0000]
DEVEL15-man-page-demand-attach-20070726

Document additional bos flags for the demand attach file server.

(cherry picked from commit b741b29b4b1272ceb4081f7ab25e556e6513d7e5)

16 years agoDEVEL15-man-page-updates-20070726
Jason Edgecombe [Fri, 27 Jul 2007 19:00:25 +0000]
DEVEL15-man-page-updates-20070726

FIXES 65988

Mention aklog and kinit in klog's man page, add -dynroot to the afsd man
page, and mention that -skipauth tells uss not to create any Kerberos
principal and this has to be done separately.

(cherry picked from commit 2367c273bbfd3cbecc72b770ede579e60da153e2)

16 years agoDEVEL15-windows-client_config-20070727
Jeffrey Altman [Fri, 27 Jul 2007 16:41:53 +0000]
DEVEL15-windows-client_config-20070727

FIXES 66302

change text of error message to indicate that the user is not a member
of the AFS Administrators Group instead of not being a Windows administrator.

(cherry picked from commit d7d12d7c9b9cec32d4415b9d7bf1058d99d63d14)

16 years agoDEVEL15-md5inum-md5-clobbers-input-20070726
Derrick Brashear [Thu, 26 Jul 2007 18:05:40 +0000]
DEVEL15-md5inum-md5-clobbers-input-20070726

(cherry picked from commit ed13fac9114d3743ca1d448d3bce7f9d43bf4f5a)

16 years agoDEVEL15-windows-afsd-ubik-20070722
Jeffrey Altman [Mon, 23 Jul 2007 00:10:17 +0000]
DEVEL15-windows-afsd-ubik-20070722

not currently in use but replace ubik_Call(FOO,...) with ubik_FOO(...)

(cherry picked from commit 8ba66b7ff5f78463420bed521d0cf78f708497ed)

16 years agoDEVEL15-volser-directoryless-incremental-dumps-20070719
Derrick Brashear [Thu, 19 Jul 2007 19:52:14 +0000]
DEVEL15-volser-directoryless-incremental-dumps-20070719

add an rpc, give vos a switch, allow incrementals which do not include directory objects

(cherry picked from commit 16b32c134590fbdb13b83ea71be0579338ab8f7e)

16 years agoDEVEL15-windows-afs-svrmgr-20070719
Jeffrey Altman [Thu, 19 Jul 2007 16:56:53 +0000]
DEVEL15-windows-afs-svrmgr-20070719

uninitialized variable removal

(cherry picked from commit 960ac913a43a2fba408c08518d7114fe6b633ab5)

16 years agoDEVEL15-viced-assert-less-20070719
Derrick Brashear [Thu, 19 Jul 2007 16:15:43 +0000]
DEVEL15-viced-assert-less-20070719

in don't assert for every silly thing

(cherry picked from commit 58d6f0b42ad552972e03c75d61d90a0398adf0cc)

16 years agoDEVEL15-viced-no-nulluuid-20070719
Derrick Brashear [Thu, 19 Jul 2007 16:11:09 +0000]
DEVEL15-viced-no-nulluuid-20070719

a host with a zero uuid has no uuid support

(cherry picked from commit 91fee8a699e31ad825e84a4f2bd56eb9093ea85a)

16 years agoDEVEL15-kill-more-ubikcall-20070719
Derrick Brashear [Thu, 19 Jul 2007 16:01:41 +0000]
DEVEL15-kill-more-ubikcall-20070719

tested more ubik call death, so, byebye

(cherry picked from commit c01005269959257ed5c4ecfbde176a02ee25dea3)

16 years agoDEVEL15-vos-validate-dumpfile-20070719
Derrick Brashear [Thu, 19 Jul 2007 15:56:30 +0000]
DEVEL15-vos-validate-dumpfile-20070719

based on code from jon nials
validate a dumpfile as being complete (look for end of dump signature)

(cherry picked from commit 982f455debcb50d0a59b0997085e7b2e9475b604)

16 years agoDEVEL15-libadmin-deubikcall-cleanup-20070718
Cesar Garcia [Wed, 18 Jul 2007 15:22:43 +0000]
DEVEL15-libadmin-deubikcall-cleanup-20070718

remove bogus extra arg

(cherry picked from commit ef76695bb906c331a69356d1eb63ef00e56ea615)

16 years agoDEVEL15-windows-pioctl-20070718
Jeffrey Altman [Wed, 18 Jul 2007 14:03:44 +0000]
DEVEL15-windows-pioctl-20070718

cm_dir.h depends on cm_buf.h

(cherry picked from commit 397cd0c3b87348d2eb642b2bb5f8a175c1d96b8e)

16 years agoDEVEL15-windows-single-dir-search-not-bulk-20070718
Jeffrey Altman [Wed, 18 Jul 2007 13:09:06 +0000]
DEVEL15-windows-single-dir-search-not-bulk-20070718

the single directory search routine used when there are no wildcards
does not perform a bulk stat operation.  do not set the flag on the
cm_scache_t.

(cherry picked from commit a8b270d5a3db7a873de5cb945ccfc5c6425798f9)

16 years agoDEVEL15-fs-state-only-in-dafs-20070717
Derrick Brashear [Tue, 17 Jul 2007 18:05:47 +0000]
DEVEL15-fs-state-only-in-dafs-20070717

FIXES 65681

only in dafs. oops.

(cherry picked from commit 5e8227cd5e73631bb925710108638b109e6e43ff)

16 years agoDEVEL15-osi-probe-check-readable-20070717
Jeffrey Hutzelman [Tue, 17 Jul 2007 13:16:45 +0000]
DEVEL15-osi-probe-check-readable-20070717

FIXES 63971

avoid potentially reading pges that don't exist

(cherry picked from commit 65c1b37f15e0fc7963aac9fa630613cf0d29df26)

16 years agoDEVEL15-bg-fcrypt-64bit-fix-20070717
Marcus Watts [Tue, 17 Jul 2007 13:08:18 +0000]
DEVEL15-bg-fcrypt-64bit-fix-20070717

instead of this arcane ifdef which is flawed, we know which platforms support 64 bit types...

(cherry picked from commit 2abf6e204c6f72993021a45485523aa04bca8ac2)

16 years agoDEVEL15-sparc32-no-ucontext-20070716
Russ Allbery [Tue, 17 Jul 2007 05:05:29 +0000]
DEVEL15-sparc32-no-ucontext-20070716

Undefine USE_UCONTEXT on sparc32 Linux since glibc doesn't implement
getcontext/setcontext for that architecture.

(cherry picked from commit 7fb5e02ff4d9a7fe70b2ecbfdb50065d7e6322ff)

16 years agoDEVEL15-sparc32-no-getcontext-20070716
Derrick Brashear [Tue, 17 Jul 2007 04:12:36 +0000]
DEVEL15-sparc32-no-getcontext-20070716

implement ptr_mangle for sparc32

(cherry picked from commit f489b05a1c055f3aa8eccdbcd96f8bbcfbf466e7)

16 years agoDEVEL15-xbsa-54-solaris-cplusplus-fun-20070716
Eric Sturdivant [Mon, 16 Jul 2007 21:42:05 +0000]
DEVEL15-xbsa-54-solaris-cplusplus-fun-20070716

FIXES 65588

deal with change to c++ xbsa library

(cherry picked from commit 5662cd310b03b14d17f4443035b47126f9729207)

16 years agoDEVEL15-libadmin-ubik_call-20070715
Jeffrey Altman [Mon, 16 Jul 2007 01:02:16 +0000]
DEVEL15-libadmin-ubik_call-20070715

replace all calls to ubik_Call(FOO, ...) with ubik_FOO(...)

correct the incorrect parameter lists for ubik_FOO()

(cherry picked from commit 82cb8884c8c962c7fbc3fc75f923e3dfdfc24a76)

16 years agoDEVEL15-linux-remove-pullup-errors-20070713
Derrick Brashear [Fri, 13 Jul 2007 23:17:25 +0000]
DEVEL15-linux-remove-pullup-errors-20070713

pullup script glitched.

16 years agoDEVEL15-aix-aklog-lam-plugin-20070713
Derrick Brashear [Fri, 13 Jul 2007 20:55:00 +0000]
DEVEL15-aix-aklog-lam-plugin-20070713

allow aklog equivalent from lam

(cherry picked from commit a818f2d6b6dfb1538e929c74db466cbec1a1ae64)

16 years agoDEVEL15-suser-aix-macro-20070712
Derrick Brashear [Thu, 12 Jul 2007 19:12:54 +0000]
DEVEL15-suser-aix-macro-20070712

can't use ifdefs inside the macro...

(cherry picked from commit 7aa5f7ad8b50e74eba1a9f359c1c5ae44b87a016)

16 years agoDEVEL15-demand-attach-init-fsstate-rwlock-20070712
Derrick Brashear [Thu, 12 Jul 2007 09:29:34 +0000]
DEVEL15-demand-attach-init-fsstate-rwlock-20070712

the rwlock needs to be initd before use

(cherry picked from commit 1e86d1f3cc8166b8303e208e3a12922d44061317)

16 years agoDEVEL15-openafs-1-5-21-20070711 openafs-devel-1_5_21
Derrick Brashear [Wed, 11 Jul 2007 05:36:12 +0000]
DEVEL15-openafs-1-5-21-20070711

make 1.5.21

16 years agoDEVEL15-aklog-deal-without-524-20070711
Douglas Engert [Wed, 11 Jul 2007 05:31:06 +0000]
DEVEL15-aklog-deal-without-524-20070711

patch in a way of dealing with no krb524

(cherry picked from commit e13f8859a01509a45d686972959c73be1d46e500)

16 years agoDEVEL15-pagsh-krb5-20070710
Rainer Toebbicke [Tue, 10 Jul 2007 21:29:34 +0000]
DEVEL15-pagsh-krb5-20070710

FIXES 54621

clean up the environment

(cherry picked from commit 73087bd4bea8a15032b6d3309940ff183804a99d)

16 years agoDEVEL15-windows-version-20070710
Jeffrey Altman [Tue, 10 Jul 2007 21:17:28 +0000]
DEVEL15-windows-version-20070710

1.5.21 == 1.5.2100.0

16 years agoDEVEL15-windows-notes-20070710
Jeffrey Altman [Tue, 10 Jul 2007 21:01:28 +0000]
DEVEL15-windows-notes-20070710

more updates for 1.5.21

16 years agoDEVEL15-linux-register-fs-deal-with-error-20070709
Derrick Brashear [Mon, 9 Jul 2007 21:00:35 +0000]
DEVEL15-linux-register-fs-deal-with-error-20070709

deal with other people who think they are afs.

(cherry picked from commit 28208c9a241b54d20eb492a2ffdd85b30b03f011)

16 years agoDEVEL15-sparc-linux-des-alignment-20070709
Chaskiel M Grundman [Mon, 9 Jul 2007 20:15:26 +0000]
DEVEL15-sparc-linux-des-alignment-20070709

seems like compilers really hate des. it should would be nice to euthanize this.

it's a shame there's no simple license-friendly des library to use

(cherry picked from commit d8457dd359fccfc461b220061d23cf7600a95a4c)

16 years agoDEVEL15-windows-give-up-callbacks-20070707
Jeffrey Altman [Sat, 7 Jul 2007 14:38:33 +0000]
DEVEL15-windows-give-up-callbacks-20070707

don't try so hard to give up all callbacks.  If the server doesn't
respond in 10 seconds, too bad!

cleanup the server probe code a bit.  reorganize the code so that we
can avoid unnecessary pointer evaluation.  add a missing include file.

(cherry picked from commit 90bc0a7f3108372bfc9408127fea17d37025c9ae)

16 years agoDEVEL15-windows-afsd-misc-20070706
Jeffrey Altman [Sat, 7 Jul 2007 00:22:03 +0000]
DEVEL15-windows-afsd-misc-20070706

* Do not give back callbacks to down servers

* Output more cm_scache_t data in afsd_alloc.log

* call VolStatus_Service_Stopped after the service has stopped

(cherry picked from commit 5e29856f7a079fbfb7d3331a1b57414413c0a484)

16 years agoDEVEL15-budb-ol_verify-20070706
Marcus Watts [Fri, 6 Jul 2007 12:40:40 +0000]
DEVEL15-budb-ol_verify-20070706

FIXES 53210

fixes a missing pointer declaration that would presumably
break on 64-bit architectures.

(cherry picked from commit 62bf68f4ba952d06aa82e1607a43a72a203befd0)

16 years agoDEVEL15-proto-20061026
Jim Rees [Fri, 6 Jul 2007 12:35:24 +0000]
DEVEL15-proto-20061026

prototypes for dbread/dbwrite

(cherry picked from commit 2145b549b304291c9ed022bcb9a8ce8c9042c3a6)

16 years agoDEVEL15-cellservdb-20070705
Jeffrey Hutzelman [Fri, 6 Jul 2007 00:47:40 +0000]
DEVEL15-cellservdb-20070705

GCO Public CellServDB 05 Jul 2007

(cherry picked from commit 600a20f5a2fdd9fbcd0e54412fa29f7a16906359)

16 years agoDEVEL15-windows-volume-status-plugin-20070705
Jeffrey Altman [Thu, 5 Jul 2007 20:22:15 +0000]
DEVEL15-windows-volume-status-plugin-20070705

This delta adds an interface to an optional volume status handler.
The handler (if provided) receives status updates when volumes
change state between online, offline, busy, and alldown.

(cherry picked from commit 2b9525fe9e09ad90b08c9a60fa4b098df542c047)

16 years agoDEVEL15-windows-license-translation-20070705
Jeffrey Altman [Thu, 5 Jul 2007 16:55:42 +0000]
DEVEL15-windows-license-translation-20070705

replace GlobalAlloc with malloc.  initialize memory and consider the
inability to read the entire input file as an error.

(cherry picked from commit 01184d053a01973e14e0674c3b4c447b632775d4)

16 years agoDEVEL15-windows-heap-corruption-20070703
Jeffrey Altman [Tue, 3 Jul 2007 15:12:45 +0000]
DEVEL15-windows-heap-corruption-20070703

fix buffer over write error introduced since 1.5.20

(cherry picked from commit 1027ca87a78f02b62af67adfd85fdd4cd43fa65e)

16 years agoDEVEL15-macos-no-default-memcache-20070703
Derrick Brashear [Tue, 3 Jul 2007 15:02:54 +0000]
DEVEL15-macos-no-default-memcache-20070703

this should be leopard only memcache for now

(cherry picked from commit 35a2fe01dd4c8a73515c46cd9a076453e7434547)

16 years agoDEVEL15-des-p-temp-volatile-20070703
Derrick Brashear [Tue, 3 Jul 2007 05:23:12 +0000]
DEVEL15-des-p-temp-volatile-20070703

make des work again on powerpc darwin and possibly elsewhere

(cherry picked from commit a5815643fcdbb96a01d73520fa22f5652f11413d)

16 years agoDEVEL15-windows-get-cellinfo-afsdb-20070702
Jeffrey Altman [Tue, 3 Jul 2007 01:35:13 +0000]
DEVEL15-windows-get-cellinfo-afsdb-20070702

do not perform afsdb lookup for Freelance.Local.Root cell

(cherry picked from commit 8edfefbb9de23f7b1d1b23f6ce73c3310230e034)

16 years agoDEVEL15-volser-delete-clone-not-source-20070702
Dan Hyde [Mon, 2 Jul 2007 18:08:03 +0000]
DEVEL15-volser-delete-clone-not-source-20070702

FIXES 64268

fixes a bug in the UV_CopyVolume2 cleanup code. Without
this patch, the cleanup code will delete the source volume.

(cherry picked from commit a41d0af021b7b56532bb70d7aa63701e3915b099)

16 years agoDEVEL15-windows-parse-ioctl-path-20070629
Jeffrey Altman [Sat, 30 Jun 2007 05:44:23 +0000]
DEVEL15-windows-parse-ioctl-path-20070629

The UNIX client does not follow mount points or symlinks when evaluating
ioctl paths during commands such as "fs examine".  The Windows client did
which was annoying when you wanted to know the FID of a mount point that
was not properly being evaluated.

(cherry picked from commit beb094fb2efaa84e99ac993a737e56379e5d3e1a)

16 years agoDEVEL15-windows-eol-20070629
Jeffrey Altman [Sat, 30 Jun 2007 05:38:52 +0000]
DEVEL15-windows-eol-20070629

fix end of line for memdump output

(cherry picked from commit 871297aa21fbc0de58e696de8bcd2344389bf240)

16 years agoDEVEL15-windows-procmgmt-library-20070629
Jeffrey Altman [Sat, 30 Jun 2007 00:52:54 +0000]
DEVEL15-windows-procmgmt-library-20070629

Since the library creates its own background thread, the library must
load its own reference to itself to prevent the library from being
unloaded behind its back.

(cherry picked from commit 43e97a8ede45ee1c469f9e275f58d50d740977df)

16 years agoDEVEL15-windows-remove-give-up-callbacks-scache-recycling-20070627
Jeffrey Altman [Thu, 28 Jun 2007 05:50:15 +0000]
DEVEL15-windows-remove-give-up-callbacks-scache-recycling-20070627

remove the conditionalized code used to give up callbacks in response
to stat cache recycling due to performance impacts described in the
commit for DELTA windows-give-up-callbacks-20070627

(cherry picked from commit 3309000efc3d6a8738792f27ca6b00c75c9d3963)

16 years agoDEVEL15-windows-give-up-callbacks-20070627
Jeffrey Altman [Thu, 28 Jun 2007 05:05:20 +0000]
DEVEL15-windows-give-up-callbacks-20070627

This large patch adds support for giving up callbacks in response to three
events:

 1. power management suspend

 2. power management shutdown

 3. stat cache object recycling

The third item is submitted as a condition compilation if GIVE_UP_CALLBACKS
is defined.  Properly handing callback give ups and the associated race
conditions with revokes and fetch status requests requires a great deal of
over head.  The first attempt used one GiveUpCallBacks RPC for each callback
that was being dropped as the stat cache object was recycled.  This resulted
in a 27% performance drop in the MIT stress test.  The code that is being
committed maintains a callback give up list on each server object.  The
callback is added to the list as the callbacks are dropped and then they
are sent to the server in bulk by the background daemon thread if the
server is known to be UP after a ping.  Logic is added to the
EndCallbackRequest and CallbackRevoke operations to ensure that race
conditions are addressed.  With all of this, there is a 17% performance drop
in the MIT stress test.

As a result, it is my conclusion that the client side costs associated with
optimizing the load on the server are simply too high.  I am committing this
code to ensure that it is not lost.  I will remove this support in the next
patch while leaving the support for giving up all callbacks in response
to suspend and shutdown events.

(cherry picked from commit 61e6f04009bba3ac13a8eda4a6663f4b6508dbc9)

16 years agoDEVEL15-windows-odd-vnode-is-dir-20070627
Jeffrey Altman [Thu, 28 Jun 2007 04:53:15 +0000]
DEVEL15-windows-odd-vnode-is-dir-20070627

its odd vnodes are directories, not even ones

(cherry picked from commit 5c9c49137f9b08ef919963c0c9d8fdfcb9733307)

16 years agoDEVEL15-windows-pioctl-20070627
Jeffrey Altman [Thu, 28 Jun 2007 04:40:14 +0000]
DEVEL15-windows-pioctl-20070627

add cm_server.h to the include list

(cherry picked from commit b3d34ab12c7dc13dae6fe90596326ba1e8633ae3)

16 years agoDEVEL15-volser-earlier-logging-20070627
Derrick Brashear [Thu, 28 Jun 2007 03:12:24 +0000]
DEVEL15-volser-earlier-logging-20070627

deal with the changes to deal with reconnecting in the unix domain fsync socket

(cherry picked from commit f7c4a7e538a3f4cca0c1ae988f56561ac5383ab2)

16 years agoDEVEL15-windows-afsd-headers-20070627
Jeffrey Altman [Thu, 28 Jun 2007 01:34:26 +0000]
DEVEL15-windows-afsd-headers-20070627

remove unneeded headers and shuffle order where necessary

(cherry picked from commit 9ca8794ed4561e977df075a636869f308ef1f778)

16 years agoDEVEL15-windows-smb-race-20070627
Jeffrey Altman [Thu, 28 Jun 2007 01:16:44 +0000]
DEVEL15-windows-smb-race-20070627

avoid a race condition when the smb_fidp is closed and an active request
is being performed on the referenced cm_scache_t.

(cherry picked from commit 7ecca7a58a5cd64c78ee20c712dfe8f419992678)

16 years agoDEVEL15-amd64-linux-24-syscall-probe-symbol-change-20070623
Kevin Hildebrand [Wed, 27 Jun 2007 22:23:07 +0000]
DEVEL15-amd64-linux-24-syscall-probe-symbol-change-20070623

FIXES 63763

probe for something else for 2.4 and older

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

(cherry picked from commit d9875469022d2aa91dff595dc97f37466852bfbc)

16 years agoDEVEL15-forceallnewconns-prototype-20070627
Derrick Brashear [Wed, 27 Jun 2007 17:30:46 +0000]
DEVEL15-forceallnewconns-prototype-20070627

missed this earlier. linux wants it.

(cherry picked from commit 6e2737190a46c9043ceb2bd7285471f00273a995)

16 years agoDEVEL15-macos-afsd-dont-leak-symbol-20070626
Derrick Brashear [Tue, 26 Jun 2007 20:13:37 +0000]
DEVEL15-macos-afsd-dont-leak-symbol-20070626

avoid leaking a ref to this symbol outside macos code

(cherry picked from commit 17c7ab74613309d1af0b664a81796975ac6f698d)

16 years agoDEVEL15-backup-usedump-20070625
Jeffrey Altman [Tue, 26 Jun 2007 06:42:05 +0000]
DEVEL15-backup-usedump-20070625

FIXES 55704

afs_com_err not com_err

(cherry picked from commit 470be46a4c6231ebf422b9fa9d9c47baa4342824)

16 years agoDEVEL15-aix53-avoid-wait-crash-20070625
Tom Keiser [Mon, 25 Jun 2007 21:24:10 +0000]
DEVEL15-aix53-avoid-wait-crash-20070625

avoid crashing because of unpinned mmemory when doing event handling

(cherry picked from commit 5e5bfa6b9401ebc1fa5446e208cf46c15943c411)

16 years agoDEVEL15-windows-get-server-list-20070625
Jeffrey Altman [Mon, 25 Jun 2007 05:59:40 +0000]
DEVEL15-windows-get-server-list-20070625

return an error when the cm_fid_t * is NULL since we can't look up
the volume to obtain a server list without knowing which volume we
should be looking up

if the fidp is known to be NULL, don't call cm_GetServerList()

(cherry picked from commit 3eb7be5c5e63fbf5cbd978c29f155f3e0de856bb)

16 years agoDEVEL15-memcache-alloc-failures-20070623
Chas Williams [Sat, 23 Jun 2007 16:29:36 +0000]
DEVEL15-memcache-alloc-failures-20070623

FIXES 55339

deal with alloc failures in memcache

(cherry picked from commit 99a61e9762373f0b2b6352fe108bb42cf59f6340)

16 years agoDEVEL15-backup-usedump-20070623
Garry Zacheiss [Sat, 23 Jun 2007 16:14:53 +0000]
DEVEL15-backup-usedump-20070623

FIXES 55704

restore from specific dump id

(cherry picked from commit a2cd5f5ec0cf20cca2f4a568f23759eda42e1fcc)