openafs.git
15 years agoDEVEL15-linux-new-aop-20081108
Marc Dionne [Sat, 8 Nov 2008 16:49:42 +0000]
DEVEL15-linux-new-aop-20081108

LICENSE IPL10
FIXES 123580

support for 2.6.28

(cherry picked from commit 041f09e17b7e1760a968c0e38f52d7feac2862ba)

15 years agoDEVEL15-linux-fh-based-cache-20081108
Marc Dionne [Sat, 8 Nov 2008 16:34:40 +0000]
DEVEL15-linux-fh-based-cache-20081108

LICENSE IPL10
FIXES 123620

use linux fh (exportfs api) to do cache file access. conditionalize based on
configure switch.

(cherry picked from commit 4eab64ebd81305845d10c4a5fdfd1861bc41520b)

15 years agoDEVEL15-linux-disable-readahad-20081108
Marc Dionne [Sat, 8 Nov 2008 16:13:59 +0000]
DEVEL15-linux-disable-readahad-20081108

LICENSE IPL10
FIXES 123604

The code has long contained a backing_dev_info structure, but it
was never attached to anything.  Initialize its use properly with
bdi_init, and attach it to i_mapping for every newly filled inode.
bdi_init and bdi_destroy are needed for proper initialization of
some percpu counters, otherwise we get some oopses.

(cherry picked from commit 18e78d91e78e541fce6c9295919946af0744aa7e)

15 years agoDEVEL15-salvager-no-chdir-20081108
Steve McIntosh [Sat, 8 Nov 2008 15:58:18 +0000]
DEVEL15-salvager-no-chdir-20081108

LICENSE IPL10
FIXES 123577

make sure salvager cores don't get left in vice partitions

(cherry picked from commit 0ac956b3384842b3c60e72bde78a4baf58a5877f)

15 years agoDEVEL15-cellservdb-20081107
Jeffrey Hutzelman [Sat, 8 Nov 2008 02:29:26 +0000]
DEVEL15-cellservdb-20081107

new cellservdb from central.org

(cherry picked from commit 35bc549bf9b6d5f1e4628621f0283d68c5808da5)

15 years agoDEVEL15-windows-version-20081107
Jeffrey Altman [Sat, 8 Nov 2008 02:08:36 +0000]
DEVEL15-windows-version-20081107

LICENSE MIT

1.5.5500.0 == 1.5.55

15 years agoDEVEL15-windows-release-notes-20081107
Jeffrey Altman [Sat, 8 Nov 2008 00:06:39 +0000]
DEVEL15-windows-release-notes-20081107

LICENSE MIT

notes for 1.5.55

15 years agoDEVEL15-windows-linked-cells-10081107
Jeffrey Altman [Fri, 7 Nov 2008 21:00:54 +0000]
DEVEL15-windows-linked-cells-10081107

LICENSE MIT

prevent stack overflow

(cherry picked from commit aff6ee8987961bc2631fa5dfd599de91a2c51419)

15 years agoDEVEL15-windows-notes-20081107
Jeffrey Altman [Fri, 7 Nov 2008 19:24:12 +0000]
DEVEL15-windows-notes-20081107

LICENSE MIT

1.5.55

15 years agoDEVEL15-windows-nim-afs-longer-cell-names-20081107
Asanka Herath [Fri, 7 Nov 2008 18:19:51 +0000]
DEVEL15-windows-nim-afs-longer-cell-names-20081107

LICENSE MIT

permit cell and realm names to be longer than the input field.

(cherry picked from commit 99e202b073c35a5c7d76a66a9d9cd2d0b9a6c73d)

15 years agoDEVEL15-windows-nim-afs-linked-cells-20081107
Jeffrey Altman [Fri, 7 Nov 2008 16:36:03 +0000]
DEVEL15-windows-nim-afs-linked-cells-20081107

LICENSE MIT

add linked cell support to the NIM afs provider.

(cherry picked from commit fffc8d7016b3f659d111276a1657dad8acc8cf50)

15 years agoDEVEL15-windows-aklog-linked-cells-20081106
Jeffrey Altman [Fri, 7 Nov 2008 05:41:11 +0000]
DEVEL15-windows-aklog-linked-cells-20081106

LICENSE MIT

Add support for linked cells.  Acquire tokens for the linked cell in
addition to the specified cell.

(cherry picked from commit 01c4e08cf8c90c4f01a70e14a73c07e2382d3451)

15 years agoDEVEL15-windows-config-ipaddr-parsing-20081106
Jeffrey Altman [Thu, 6 Nov 2008 22:09:18 +0000]
DEVEL15-windows-config-ipaddr-parsing-20081106

LICENSE MIT

when parsing ipaddrs in CellServDB rejects addrs whose components are
values greater than 255.

(cherry picked from commit 68902640a2eb1d47d7dd13b3fae9d19eddf64a6e)

15 years agoDEVEL15-windows-afsd-hook-20081106
Jeffrey Altman [Thu, 6 Nov 2008 19:18:51 +0000]
DEVEL15-windows-afsd-hook-20081106

LICENSE MIT

When loading the afsdhook.dll require that it be in the same directory
as afsd_service.exe.  This prevents LoadLibrary() from searching the PATH
environment variable if it cannot be found.   If the PATH environment
variable contains a path in AFS, the library will fail to load and take
a very long time doing so.

(cherry picked from commit a36618213694f37cd1cec660336267a38cee9344)

15 years agoDEVEL15-redhat-packaging-krb-conf-man-page-20081105
Simon Wilkinson [Wed, 5 Nov 2008 21:29:47 +0000]
DEVEL15-redhat-packaging-krb-conf-man-page-20081105

LICENSE IPL10

account for the new manpage

(cherry picked from commit eccc12fb07cc5fef660ee29fe5ebcc573b027568)

15 years agoDEVEL15-windows-linked-cells-20081103
Jeffrey Altman [Mon, 3 Nov 2008 19:56:03 +0000]
DEVEL15-windows-linked-cells-20081103

LICENSE MIT
FIXES 123571

The Windows code base was implemented ignorant of linked cells as
defined in the src/auth/cellconfig.h struct afsconf_cell.  The code
that made use of the afsconf_cell objects would leak the memory from
the linkedCell field if is non-NULL.

Add cm_SearchCellFileEx which is an extended version of cm_SearchCellFile
capable of returning a linked cell obtained from the CellServDB file.

Update GetCellConfig to populate the linkedCell field of the afsconf_cell
structure.

Modify cm_cell_t to support a linked cell name.

Modify cm_GetCell_Gen() to populate the cm_cell_t linked cell and enforce
that two cells are linked to each other.

Modify cm_GetVolumeByID() and cm_GetVolumeByName() to perform fallback
to the linked cell if the response is CM_ERROR_NOSUCHVOLUME.

(cherry picked from commit 70fda445bd0fb8bd3e246e859b4582170ea271eb)

15 years agoDEVEL15-windows-prevent-wow64-execution-20081031
Jeffrey Altman [Sat, 1 Nov 2008 03:38:12 +0000]
DEVEL15-windows-prevent-wow64-execution-20081031

LICENSE MIT

prevent the 32-bit build from being executed in the wow64 environment

(cherry picked from commit 303c70efd4cb54ad673bed5a0c438670ae2b97ad)

15 years agoDEVEL15-aklog-attempt-order-comments-20081029
Simon Wilkinson [Wed, 29 Oct 2008 19:43:53 +0000]
DEVEL15-aklog-attempt-order-comments-20081029

LICENSE IPL10

to clarify what gets tried when and why.

(cherry picked from commit 50e1e59a92f38e0751384b401016ea01fe01ed8f)

15 years agoDEVEL15-windows-setup-utils-20081028
Max Cohan [Tue, 28 Oct 2008 17:58:59 +0000]
DEVEL15-windows-setup-utils-20081028

LICENSE IPL10

correct file name to match the file.
committed broken in windows-file-versioning-20030619

(cherry picked from commit ef70f73141bf9940ec10d42c2d6ab5b6b341cdc9)

15 years agoDEVEL15-initialize-variables-to-avoid-logic-issues-20081027
Simon Wilkinson [Mon, 27 Oct 2008 23:53:44 +0000]
DEVEL15-initialize-variables-to-avoid-logic-issues-20081027

LICENSE IPL10

make sure any variable whose value is used will be initialized before that
value is used. (these aren't just warnings)

(cherry picked from commit fc78255c1dc29c55b67f7a7b4599bed141282213)

15 years agoDEVEL15-kill-uninitialized-variable-warnings-20081026
Simon Wilkinson [Mon, 27 Oct 2008 23:41:43 +0000]
DEVEL15-kill-uninitialized-variable-warnings-20081026

LICENSE IPL10

kill lots of compiler warnings

(cherry picked from commit f27165f13796a84cdbc36c31714781509ad25ba0)

15 years agoDEVEL15-windows-pioctl-drive-map-20081026
Jeffrey Altman [Sun, 26 Oct 2008 21:52:43 +0000]
DEVEL15-windows-pioctl-drive-map-20081026

LICENSE MIT

a remote drive connection may not be mapped to a local drive letter.

(cherry picked from commit aa09aa2be151d44a9fe5008ff5931dd1892ddf35)

15 years agoDEVEL15-rx-rdwr-avoid-free-null-packet-20081026
Jeffrey Altman [Sun, 26 Oct 2008 21:17:41 +0000]
DEVEL15-rx-rdwr-avoid-free-null-packet-20081026

LICENSE MIT

avoid a potential call to rxi_FreePacket with a NULL pointer as input

(cherry picked from commit a824cbda621151c34dd85d00c3ee2779d839c237)

15 years agoDEVEL15-ptutils-restricted-accessok-20081025
Jeffrey Altman [Sun, 26 Oct 2008 07:50:55 +0000]
DEVEL15-ptutils-restricted-accessok-20081025

LICENSE MIT

Fix restricted mode test when 'any' is not set on AccessOK

(cherry picked from commit a614a8d95476ae49642d055cb0ac7942109d021e)

15 years agoDEVEL15-exporter-call-gethost-method-correctly-20081025
Simon Wilkinson [Sun, 26 Oct 2008 01:45:55 +0000]
DEVEL15-exporter-call-gethost-method-correctly-20081025

LICENSE IPL10

actually call the correct method for EXP_GETHOST

(cherry picked from commit 8a33059215c00f688ea38fa039b2ac53d8d26dc9)

15 years agoDEVEL15-aklog-chatty-20081025
Simon Wilkinson [Sun, 26 Oct 2008 01:00:07 +0000]
DEVEL15-aklog-chatty-20081025

LICENSE IPL10

make aklog not accidentally be chatty

(cherry picked from commit f2014112bcc27ecc1426ef078af7456285d839d2)

15 years agoDEVEL15-windows-reformatting-20081021
Jeffrey Altman [Wed, 22 Oct 2008 02:25:38 +0000]
DEVEL15-windows-reformatting-20081021

LICENSE MIT

reformat some of the recent changes

cast away warnings on 64-bit windows

(cherry picked from commit f64ecbf721dbc115103684a3d71a095854607812)

15 years agoDEVEL15-fd-setsize-test-20081021
Derrick Brashear [Tue, 21 Oct 2008 19:36:46 +0000]
DEVEL15-fd-setsize-test-20081021

LICENSE BSD

a test so we can deal with platforms which don't honor FD_SETSIZE

(cherry picked from commit a7a1846ab7fb049360b2c69486b7c673d09b8b28)

15 years agoDEVEL15-linux24-writepage-antideadlock-20081021
Derrick Brashear [Tue, 21 Oct 2008 14:46:02 +0000]
DEVEL15-linux24-writepage-antideadlock-20081021

LICENSE IPL10

also make this work for 2.4.x

(cherry picked from commit 9bca8ce22add91b32f45922650c429404d74797d)

15 years agoDEVEL15-blacklist-move-init-checks-back-into-req-code-20081020
Derrick Brashear [Mon, 20 Oct 2008 20:29:36 +0000]
DEVEL15-blacklist-move-init-checks-back-into-req-code-20081020

LICENSE IPL10

revise things so we don't need to check initd outside analyze.c/InitReq

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

since these end up being used, init them too

(cherry picked from commit 6d14b44b7c83918bcd7e6e07ec365f8430ad23c5)

15 years agoDEVEL15-linux-mmap-antirecursion-20081020
Derrick Brashear [Mon, 20 Oct 2008 13:38:18 +0000]
DEVEL15-linux-mmap-antirecursion-20081020

LICENSE IPL10
FIXES 120491

avoid deadlocking ourselves due to recursion when flushing pages on an
mmap()ed file larger than the cache

(cherry picked from commit 4a587356a31ac5afdf17d329a8598f70cf8bc3af)

15 years agoDEVEL15-autoconf-262-support-20081020
Marc Dionne [Mon, 20 Oct 2008 13:35:13 +0000]
DEVEL15-autoconf-262-support-20081020

LICENSE IPL10
FIXES 118058

fix the quoting and remove the tests we shouldn't need anymore

(cherry picked from commit bc9c0a14154639d8e45554a3abeb867af9a8d0b2)

15 years agoDEVEL15-blacklist-check-only-existing-servers-20081020
Derrick Brashear [Mon, 20 Oct 2008 13:03:55 +0000]
DEVEL15-blacklist-check-only-existing-servers-20081020

LICENSE IPL10

based on suggestion from haba@pdc.kth.se

(cherry picked from commit 3ad8fba85f5b45cdd6537c3ca71717c9370cc48e)

15 years agoDEVEL15-blacklistonce-use-only-initd-vrequest-20081020
Marc Dionne [Mon, 20 Oct 2008 13:01:47 +0000]
DEVEL15-blacklistonce-use-only-initd-vrequest-20081020

LICENSE IPL10

avoid using an un "initd" vrequest for server blacklisting

(cherry picked from commit 7366eb3d46506b1fdda5ece843abd96aa76b7936)

15 years agoDEVEL15-DELTA15-windows-handle-invalid-utf16-names-20081019
Asanka Herath [Mon, 20 Oct 2008 00:19:33 +0000]
DEVEL15-DELTA15-windows-handle-invalid-utf16-names-20081019

LICENSE MIT
FIXES 116641

Windows will deliver to OpenAFS UTF16 strings that are not valid Unicode
and cannot be converted to UTF8.  Return bad file name errors in those
cases.

Make sure all file server strings once converted to UTF16 can be converted
back.  If not, escape the invalid portions of the string so that the
file can be accessed.

15 years agoDEVEL15-windows-smb-rdr-duration-logging-20081019
Jeffrey Altman [Sun, 19 Oct 2008 23:50:33 +0000]
DEVEL15-windows-smb-rdr-duration-logging-20081019

LICENSE MIT

if an smb request takes longer than 45 seconds, log info to afsd_init.log
that might be helpful in determining patterns in the smb client disconnects

(cherry picked from commit 0c7d7ce3b8386a1aca6d1fc3d738c8621708eb95)

15 years agoDEVEL15-windows-smb-bridge-nowild-error-handling-20081019
Jeffrey Altman [Sun, 19 Oct 2008 23:45:46 +0000]
DEVEL15-windows-smb-bridge-nowild-error-handling-20081019

LICENSE MIT

add the error preprocessor symbol to the error string

if both an NRC_BRIDGE and NRC_NOWILD error are received within
the smb_Listener thread, try re-adding the NetbiosName to the lana
before giving up and quiting.

(cherry picked from commit 622f9b0de85f2a45d3a327cd8b8bea470dba9862)

15 years agoDEVEL15-newtrans-lock-fix-fix-20081018
Jeffrey Hutzelman [Sat, 18 Oct 2008 20:26:07 +0000]
DEVEL15-newtrans-lock-fix-fix-20081018

LICENSE IPL10

swap in the freshly allocated memory instead of throwing it away

(cherry picked from commit 2767cbf773653bffaa63e098cce463ada804d6d7)

15 years agoDEVEL15-smb-symlink-to-vnovnode-attribute-20081017
Jeffrey Altman [Sat, 18 Oct 2008 18:01:19 +0000]
DEVEL15-smb-symlink-to-vnovnode-attribute-20081017

LICENSE MIT

When reporting the attribute of a directory name which happens to be
a symlink object to a file that cannot be accessed or does not exist,
use the target name to guess the type of the object.  If it has an
extension, consider it a file, otherwise report it as a directory.

(cherry picked from commit f9191fdebcf694f1a6afac8c0f4679c35114ce93)

15 years agoDEVEL15-ubik-uninitialized-var-20081018
Jeffrey Altman [Sat, 18 Oct 2008 16:24:45 +0000]
DEVEL15-ubik-uninitialized-var-20081018

LICENSE MIT

'pass' must be initialized.  do so.

(cherry picked from commit 7e8c41d53fcd51ae0ff4420ba1027b354af306c8)

15 years agoDEVEL15-restore-uninitialized-var-20081018
Jeffrey Altman [Sat, 18 Oct 2008 16:23:24 +0000]
DEVEL15-restore-uninitialized-var-20081018

LICENSE MIT

'last' must be initialized.  do so.

(cherry picked from commit f69137625fde97e465671978820350d41ca5d5b8)

15 years agoDEVEL15-fix-maxmtu-command-line-20081018
Jeffrey Altman [Sat, 18 Oct 2008 16:09:07 +0000]
DEVEL15-fix-maxmtu-command-line-20081018

LICENSE MIT

fix the variable used for maxmtu command line processing

(cherry picked from commit 1bdea5e4707e9c60b949cc55b847c498fc9a7bec)

15 years agoDEVEL15-windows-pioctl-wnet-connected-20081018
Jeffrey Altman [Sat, 18 Oct 2008 14:12:38 +0000]
DEVEL15-windows-pioctl-wnet-connected-20081018

LICENSE MIT

refactor.  consolidate netbios name acquistion.

(cherry picked from commit f5455f74988da78a652f035cd93c3184aa2ce490)

15 years agoDEVEL15-windows-pioctl-wnet-connected-20081017
Jeffrey Altman [Sat, 18 Oct 2008 07:19:31 +0000]
DEVEL15-windows-pioctl-wnet-connected-20081017

LICENSE MIT

use WNetEnumXXX functions to list connected disk resources.
If the requested drive letter is an AFS resource, perform the pioctl
test.  If it is not, fail immediately.

(cherry picked from commit 75f496df1727a5b1d00809fcf493c7c815c90816)

15 years agoDEVEL15-windows-reset-acl-list-20081017
Jeffrey Altman [Sat, 18 Oct 2008 05:45:05 +0000]
DEVEL15-windows-reset-acl-list-20081017

LICENSE MIT

Move definition of cm_ResetACLCache from cm_ioctl.c to cm_aclent.c

(cherry picked from commit edf7a4020318b305ce8fd3852f09f2f565563f7c)

15 years agoDEVEL15-windows-shell-extension-20081017
Jeffrey Altman [Sat, 18 Oct 2008 05:12:35 +0000]
DEVEL15-windows-shell-extension-20081017

LICENSE MIT

windows-afsreg-20081017 wraps strings for wide char usage.
use the wide char versions of win32 apis to match.

(cherry picked from commit 4c79498bc3dd87cb45d1827133aff3c93c2caff8)

15 years agoDEVEL15-windows-afsreg-20081017
Jeffrey Altman [Sat, 18 Oct 2008 05:09:56 +0000]
DEVEL15-windows-afsreg-20081017

LICENSE MIT

wrap all text strings with TEXT() to permit use with wide char functions

(cherry picked from commit 81a921759520b03088ddcc37c1c624c0641981fc)

15 years agoDEVEL15-windows-pthread-rwlock-20081017
Jeffrey Altman [Fri, 17 Oct 2008 21:24:49 +0000]
DEVEL15-windows-pthread-rwlock-20081017

LICENSE MIT

Adds pthread rwlock support to the library.

(cherry picked from commit e4b6e4d4a63c036be326e3e933fb7f7c6787275b)

15 years agoDEVEL15-windows-install-nsis-20081016
Jeffrey Altman [Fri, 17 Oct 2008 02:41:37 +0000]
DEVEL15-windows-install-nsis-20081016

LICENSE MIT

update copyright dates

remove old AFS IFS entries

delete afslogon* and afscpcc.* from $SYSDIR

correct install location of afslogon.dll in WinLogon\Notify registry key

(cherry picked from commit c3251a3b18a83bf66d4d2f0a549fa573eccbdde2)

15 years agoDEVEL15-windows-netbios-name-logging-20081015
Jeffrey Altman [Thu, 16 Oct 2008 02:39:11 +0000]
DEVEL15-windows-netbios-name-logging-20081015

LICENSE MIT

log more data to afsd_init.log regarding events that
can cause the netbios name registration to become
invalid.

(cherry picked from commit bfd01550bddcce18f6f76e97231e21680a545e3f)

15 years agoDEVEL15-windows-dnlc-20081015
Jeffrey Altman [Thu, 16 Oct 2008 02:26:24 +0000]
DEVEL15-windows-dnlc-20081015

LICENSE MIT
FIXES 116641

Do not use the DNLC if the name when converted from Unicode is NULL.

(cherry picked from commit e0298d5f09d7e791aeb0f98438e299ad1faf186a)

15 years agoDEVEL15-windows-checkVCs-20081015
Jeffrey Altman [Wed, 15 Oct 2008 14:51:12 +0000]
DEVEL15-windows-checkVCs-20081015

LICENSE MIT
FIXES 116641

Do not drop references to 'nextp' until we are done with the object.
Dropping the last reference can result in the object being destroyed.

(cherry picked from commit 1115e29dacab98ed29ec603edfdaa8f697507daa)

15 years agoDEVEL15-linux-alt-builddir-fix-20081014
Mike Meffie [Tue, 14 Oct 2008 15:38:41 +0000]
DEVEL15-linux-alt-builddir-fix-20081014

LICENSE IPL10
FIXES 121650

correct the if test to include missing x

(cherry picked from commit 9be6b92a17ebe1d125e13c1cbd7bce620e7672ce)

15 years agoDEVEL15-linux-proc-walk-locking-20081012
Derrick Brashear [Sun, 12 Oct 2008 19:44:36 +0000]
DEVEL15-linux-proc-walk-locking-20081012

LICENSE IPL10
FIXES 116603

sort out rcu locking versus tasklist lock. if this fails we probably have to
disable walking entirely

(cherry picked from commit 24ce8010cd414c8c573f2b035d186a2418900546)

15 years agoDEVEL15-disconnected-rmdir-infinite-recursion-20081012
Dragos Tatulea [Sun, 12 Oct 2008 19:10:14 +0000]
DEVEL15-disconnected-rmdir-infinite-recursion-20081012

LICENSE IPL10
FIXES 121226

fix infinite recursion when replaying rmdir transaction

(cherry picked from commit 0195d7c0828e3eae7281aad3b983160089b8846a)

15 years agoDEVEL15-disconnected-getvcache-avoid-duplicate-work-20081012
Simon Wilkinson [Sun, 12 Oct 2008 19:07:01 +0000]
DEVEL15-disconnected-getvcache-avoid-duplicate-work-20081012

LICENSE IPL10
FIXES 121254

don't do duplicate work finding a vcache we already had

(cherry picked from commit 7c6fac305c81af3e10f48560c03db4d2da630527)

15 years agoDEVEL15-linux-alternate-kernel-builddir-20081012
Stefaan De Roeck [Sun, 12 Oct 2008 19:02:18 +0000]
DEVEL15-linux-alternate-kernel-builddir-20081012

LICENSE IPL10
FIXES 121354

add support for KBUILD_OUTPUT=... builds.

(cherry picked from commit 726fc5b8425eb7bbaab4bdde38d977382dc17a9d)

15 years agoDEVEL15-volser-newtrans-racy-20081012
Jeffrey Hutzelman [Sun, 12 Oct 2008 18:53:17 +0000]
DEVEL15-volser-newtrans-racy-20081012

LICENSE IPL10
FIXES 121263

avoid a race on creating new transactions in volserver

(cherry picked from commit 322f7e0e9fff02c5d6cad8d9aded3e40abce93ef)

15 years agoDEVEL15-doxygen-comments-20081010
Dragos Tatulea [Sat, 11 Oct 2008 00:27:02 +0000]
DEVEL15-doxygen-comments-20081010

LICENSE IPL10
FIXES 98819 99069

add doxygen comments for some parts of openafs cache manager

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

add doxygen comments for some parts of openafs cache manager

(cherry picked from commit 4b72f8765cdf88540354291e8e7072185538ae5d)

15 years agoDEVEL15-cachemgr-blacklist-down-servers-20081010
Derrick Brashear [Fri, 10 Oct 2008 17:25:46 +0000]
DEVEL15-cachemgr-blacklist-down-servers-20081010

LICENSE IPL10
FIXES 121035

fix to issue suggested by reuter@rzg.mpg.de

(cherry picked from commit 523dd766ef7ed26c2207c7ec4bebe8f74e4dc408)

15 years agoDEVEL15-volser-dumpstuff-log-errors-20081010
Jeffrey Hutzelman [Fri, 10 Oct 2008 15:42:40 +0000]
DEVEL15-volser-dumpstuff-log-errors-20081010

LICENSE IPL10
FIXES 121040

return sensible (ENOSPC) errors when out of tags or vnodes. don't perror. log
instead.

(cherry picked from commit 8b1b390713a79fadd300d17713350f5789879615)

15 years agoDEVEL15-cmdebug-entry-count-20081010
Harald Barth [Fri, 10 Oct 2008 12:54:29 +0000]
DEVEL15-cmdebug-entry-count-20081010

LICENSE IPL10

raise max number of entries as cache managers routinely have more
than 10,000 vnode status objects

(cherry picked from commit d569a083e337c2971a4ac471d8adeb1788518684)

15 years agoDEVEL15-hpux-gop-lookupname-20081009
Derrick Brashear [Thu, 9 Oct 2008 19:56:53 +0000]
DEVEL15-hpux-gop-lookupname-20081009

LICENSE IPL10

add missing gop_lookupname macro for hpux

(cherry picked from commit 7034078b3386e074a399f9387ff9b387e479f4f0)

15 years agoDEVEL15-solaris-gop-lookupname-20081009
Derrick Brashear [Thu, 9 Oct 2008 19:54:17 +0000]
DEVEL15-solaris-gop-lookupname-20081009

LICENSE IPL10

add missing gop_lookupname macro for solaris

(cherry picked from commit 2e15aa2b261f49a1d6648c36a34300cade3c968c)

15 years agoDEVEL15-bypasscache-fix-linux24-20081009
Derrick Brashear [Thu, 9 Oct 2008 13:55:37 +0000]
DEVEL15-bypasscache-fix-linux24-20081009

LICENSE IPL10

no f_mapping in 2.4.x

(cherry picked from commit 9f8865744e3f4c1830afdf32b6b38f6b8f584801)

15 years agoDEVEL15-volser-dumpstuff-uninitialized-variable-20081008
Jeffrey Altman [Wed, 8 Oct 2008 23:21:13 +0000]
DEVEL15-volser-dumpstuff-uninitialized-variable-20081008

LICENSE MIT

lcode should be initialized to zero but wasn't.

15 years agoDEVEL15-windows-build-do-not-mix-pthread-and-lwp-20081008
Jeffrey Altman [Wed, 8 Oct 2008 22:15:10 +0000]
DEVEL15-windows-build-do-not-mix-pthread-and-lwp-20081008

LICENSE MIT

The rx library is built in lwp and pthread forms.  The methods used to
export data symbols are incompatible between the two.  The ubik library
is built with rx headers but only in the lwp form.  As a result it is
not possible to link the ubik libs without also including the lwp rx
lib.  We have pthreaded servers that require linking to the pthreaded
rx and ubik.  To fix the problem all of the macros that assigned values
to variables and were used by ubik have been converted to functions
(but only for Windows.)

(cherry picked from commit 32977eadf12aaec6608ce3457a976a0810da8590)

15 years agoDEVEL15-windows-cell-name-trailing-dot-removal-20081008
Jeffrey Altman [Wed, 8 Oct 2008 18:43:17 +0000]
DEVEL15-windows-cell-name-trailing-dot-removal-20081008

LICENSE MIT
FIXES 120318

Lookups of cell names that have a trailing dot should have the dot removed
otherwise there is a risk of duplicate cell entries since "foo" and "foo."
will not match but both will resolve to the same AFSDB record in DNS.

(cherry picked from commit e7b06ab695b83114954b58bd8cd25e5c0ad3f395)

15 years agoDEVEL15-windows-libafsrpc-20081007 openafs-devel-1_5_54
Jeffrey Altman [Tue, 7 Oct 2008 23:28:49 +0000]
DEVEL15-windows-libafsrpc-20081007

LICENSE MIT

export missing symbols necessary for tbutc and performance testing.

(cherry picked from commit ab2d343c31fe41d663c5a5feb796c3a9250c60d8)

15 years agoDEVEL15-windows-tbutc-20081007
Jeffrey Altman [Tue, 7 Oct 2008 23:26:44 +0000]
DEVEL15-windows-tbutc-20081007

LICENSE MIT

do not link to both pthread and lwp rx libs

(cherry picked from commit b8b3bd8d1b7ca1a95c07e2ee3a0004b07a0b9537)

15 years agoDEVEL15-windows-release-notes-20081007
Jeffrey Altman [Tue, 7 Oct 2008 23:09:54 +0000]
DEVEL15-windows-release-notes-20081007

LICENSE MIT

1.5.54

15 years agoDEVEL15-windows-version-20081007
Jeffrey Altman [Tue, 7 Oct 2008 22:56:55 +0000]
DEVEL15-windows-version-20081007

LICENSE MIT

1.5.5400.0 == 1.5.54

15 years agoDEVEL15-windows-notes-20081007
Jeffrey Altman [Tue, 7 Oct 2008 22:54:18 +0000]
DEVEL15-windows-notes-20081007

LICENSE MIT

1.5.54

15 years agoDEVEL15-openafs-1-5-54-20081007
Derrick Brashear [Tue, 7 Oct 2008 22:31:47 +0000]
DEVEL15-openafs-1-5-54-20081007

LICENSE IPL10

make 1.5.54

15 years agoDEVEL15-darwin-fake-more-disk-free-20081007
Derrick Brashear [Tue, 7 Oct 2008 22:30:33 +0000]
DEVEL15-darwin-fake-more-disk-free-20081007

LICENSE IPL10

placate finder. this time for sure

(cherry picked from commit 967cbd2628c02060870c2381bd6fca3480f5711a)

15 years agoDEVEL15-linux-d-reval-rewrite-mtpts-when-fakestat-enabled-20081007
Derrick Brashear [Tue, 7 Oct 2008 20:00:42 +0000]
DEVEL15-linux-d-reval-rewrite-mtpts-when-fakestat-enabled-20081007

LICENSE IPL10
FIXES 113558

avoid case where revalidate saw a mountpoint which hadn't been rewritten yet
and failed to handle it, exposing ENOENT where the entry existed.

(cherry picked from commit b3bf4b89e345b991984a416d97e3f9aeacc0e159)

15 years agoDEVEL15-find-new-xbsa-first-20081007
Derrick Brashear [Tue, 7 Oct 2008 19:51:34 +0000]
DEVEL15-find-new-xbsa-first-20081007

LICENSE IPL10
FIXES 119162

change test order

(cherry picked from commit af0b03055e8a3244881d8ac3e7c52ed775ae86d1)

15 years agoDEVEL15-ubik-notruncate-dont-pollute-fd-cache-20081007
Derrick Brashear [Tue, 7 Oct 2008 18:44:13 +0000]
DEVEL15-ubik-notruncate-dont-pollute-fd-cache-20081007

LICENSE IPL10

issue suggested by Chaskiel Grundman; while it should not have been an issue
we now behave usefully in the notruncate recovery code.

(cherry picked from commit fe0186dccd4e4d16c0610f211d454a90b0841a83)

15 years agoDEVEL15-vldb-check-fix-more-kinds-of-corruption-20081007
Derrick Brashear [Tue, 7 Oct 2008 16:38:29 +0000]
DEVEL15-vldb-check-fix-more-kinds-of-corruption-20081007

LICENSE IPL10

work harder to ferret out corruption; still reruns itself so if 2 hash chains
are comingled they get split back out correctly without having to flush state
continuously

(cherry picked from commit 1e3674cafe3c3feea0840c531cc0461d358f87c6)

15 years agoDEVEL15-linux-fakestat-revalidate-to-validity-20081006
Derrick Brashear [Tue, 7 Oct 2008 04:41:02 +0000]
DEVEL15-linux-fakestat-revalidate-to-validity-20081006

LICENSE IPL10

we had something which fakestat was faking, but the inode had no ops, so
we ended up ENOTDIRing. oops.

(cherry picked from commit 2cfe5d555e2e9eaedf5107a34d5a2f74092b98b1)

15 years agoDEVEL15-rx-varargs-20081003
Jeffrey Altman [Sat, 4 Oct 2008 06:05:20 +0000]
DEVEL15-rx-varargs-20081003

LICENSE MIT

call va_start on Windows

(cherry picked from commit 061634bfc96e70e3c02ce93319f1f269e5c16a44)

15 years agoDEVEL15-kdump-rx-stats-20081003
Hans-Werner Paulsen [Fri, 3 Oct 2008 21:39:56 +0000]
DEVEL15-kdump-rx-stats-20081003

LICENSE IPL10
FIXES 118700

add change to kdump also

(cherry picked from commit 5158e8c7aff8f0385edbebb688b6c79b19c604c3)

15 years agoDEVEL15-rx-windows-dpf-20081003
Jeffrey Altman [Fri, 3 Oct 2008 15:57:19 +0000]
DEVEL15-rx-windows-dpf-20081003

LICENSE MIT

dpf on windows is conditional on rxdebug_active, not rx_debugFile

(cherry picked from commit b8caeee989fcc096a1846c87b088263d3db130d9)

15 years agoDEVEL15-rx-vaargs-20081003
Jeffrey Altman [Fri, 3 Oct 2008 15:56:10 +0000]
DEVEL15-rx-vaargs-20081003

LICENSE MIT

define va_list ap where it will be defined on all platforms

(cherry picked from commit 82fc110302a7f1b7e7971285777658bdce3735ac)

15 years agoDEVEL15-rx-varargs-20080924
Simon Wilkinson [Fri, 3 Oct 2008 15:55:12 +0000]
DEVEL15-rx-varargs-20080924

LICENSE IPL10

make rx use varargs instead of a large fixed set of parms

(cherry picked from commit 8aa9d07e35c132ba5bbc1704fc9c0ba289b277fd)

15 years agoDEVEL15-windows-smb_dir_watch_lock-20081003
Jeffrey Altman [Thu, 2 Oct 2008 13:14:02 +0000]
DEVEL15-windows-smb_dir_watch_lock-20081003

LICENSE MIT

re-order the lock hierarchyfor smb_Dir_Watch_Lock so that the
lock does not have to be dropped when sending notifications
within smb_NotifyChange().

(cherry picked from commit 38800039a7039c3fa832718799667557a5e24f66)

15 years agoDEVEL15-rx-current-packet-double-free-20081003
Jeffrey Altman [Thu, 2 Oct 2008 12:53:18 +0000]
DEVEL15-rx-current-packet-double-free-20081003

LICENSE MIT

in rxi_WriteProc() make sure that rx_call currentPacket is
set to NULL after the rx_packet is added to a queue or
passed to rx_freePacket().  Otherwise we will panic when
we attempt to call rx_freePacket twice on the same packet.

(cherry picked from commit 1e7203940456e783aad215e939c04ed01dd45599)

15 years agoDEVEL15-linux-nfstrans-libafs-tree-20080926
Simon Wilkinson [Fri, 26 Sep 2008 11:17:17 +0000]
DEVEL15-linux-nfstrans-libafs-tree-20080926

LICENSE IPL10

add missing files needed for nfs variants

(cherry picked from commit 6acd68f0e88ffa40891be4b908b70af784b397a2)

15 years agoDEVEL15-windows-version-20080925
Jeffrey Altman [Thu, 25 Sep 2008 21:39:31 +0000]
DEVEL15-windows-version-20080925

LICENSE MIT

1.5.53 == 1.5.5300.0

15 years agoDEVEL15-windows-notes-20080925
Jeffrey Altman [Thu, 25 Sep 2008 20:24:24 +0000]
DEVEL15-windows-notes-20080925

LICENSE MIT

1.5.53

15 years agoDEVEL15-windows-release-notes-20080925
Jeffrey Altman [Thu, 25 Sep 2008 20:19:04 +0000]
DEVEL15-windows-release-notes-20080925

LICENSE MIT

1.5.53

15 years agoDEVEL15-disconn-prototypes-20080926 openafs-devel-1_5_53
Simon Wilkinson [Fri, 26 Sep 2008 09:24:00 +0000]
DEVEL15-disconn-prototypes-20080926

LICENSE IPL10

add a prototype we need for disconnected

(cherry picked from commit 3853c326155d58613bb1711a10123ac88acce002)

15 years agoDEVEL15-openafs-1-5-53-20080925
Derrick Brashear [Thu, 25 Sep 2008 22:42:01 +0000]
DEVEL15-openafs-1-5-53-20080925

LICENSE IPL10

make 1.5.53

15 years agoDEVEL15-pthread-ubik-volser-stupidity-20080925
Simon Wilkinson [Thu, 25 Sep 2008 22:40:44 +0000]
DEVEL15-pthread-ubik-volser-stupidity-20080925

LICENSE IPL10

make volserver build again for not pthreaded ubik

(cherry picked from commit 3f11790f6ab999be828fb0868b64ea00b98a5ea4)

15 years agoDEVEL15-rx-dpf-clarify-20080924
Simon Wilkinson [Thu, 25 Sep 2008 21:19:57 +0000]
DEVEL15-rx-dpf-clarify-20080924

LICENSE IPL10

rework dpf macro slightly so there are no trailing ; issues

(cherry picked from commit 3a5e912230fd09c72c1a27d7f7d4e4ac78f9323b)

15 years agoDEVEL15-rx-clear-queues-correctly-20080925
Jeffrey Altman [Thu, 25 Sep 2008 21:17:54 +0000]
DEVEL15-rx-clear-queues-correctly-20080925

LICENSE IPL10

don't potentially leak packets by leaving them behind and initing queues;
in fact, if you are cleaning up there is no need to init queues anyway.

(cherry picked from commit 8b50c9d9e3d181f749d0982f57410a5b4906627c)

15 years agoDEVEL15-rx-packet-allocation-debug-20080925
Jeffrey Altman [Thu, 25 Sep 2008 20:55:16 +0000]
DEVEL15-rx-packet-allocation-debug-20080925

LICENSE IPL10

add field to track allocated packets

(cherry picked from commit b84da5849261867b201646e957c014e933a2c17f)

15 years agoDEVEL15-rx-change-packet-allocation-calculation-20080925
Jeffrey Altman [Thu, 25 Sep 2008 20:36:34 +0000]
DEVEL15-rx-change-packet-allocation-calculation-20080925

LICENSE IPL10

don't alloc ourselves to death; try harder to manage growth

(cherry picked from commit 230dcebcd61064cc9aab6d20d34ff866a5c575ea)

15 years agoDEVEL15-rx-flag-all-packets-20080925
Jeffrey Altman [Thu, 25 Sep 2008 19:59:45 +0000]
DEVEL15-rx-flag-all-packets-20080925

LICENSE IPL10

flag packets for all queues, and when they are currentPacket somewhere

(cherry picked from commit 559ea99b1e6e6e82ec6a77541ef9844ccc764de8)

15 years agoDEVEL15-rx-global-lock-macro-correction-20080925
Jeffrey Altman [Thu, 25 Sep 2008 18:26:35 +0000]
DEVEL15-rx-global-lock-macro-correction-20080925

LICENSE IPL10

refer to the same macro everyone else does

(cherry picked from commit 939e070c869b46abc707bbd916d4dfbe1e66a55e)