openafs.git
15 years agoDEVEL15-amd64-fbsd-20081215
Matt Benjamin [Mon, 15 Dec 2008 20:38:05 +0000]
DEVEL15-amd64-fbsd-20081215

LICENSE IPL10
FIXES 123811

add support for fbsd 7.1, amd64 fbsd

(cherry picked from commit c63e2541e5879fe153238ad1d774f60fa00dc0ee)

15 years agoDEVEL15-aix-prototype-fixes-20081215
Derrick Brashear [Mon, 15 Dec 2008 19:12:19 +0000]
DEVEL15-aix-prototype-fixes-20081215

LICENSE IPL10

make the prototyping changes work on aix

(cherry picked from commit b147521611a73d0578aca14b3252e062de1e5d8a)

15 years agoDEVEL15-solaris-vnop-prototyping-20081213
Derrick Brashear [Sat, 13 Dec 2008 21:31:09 +0000]
DEVEL15-solaris-vnop-prototyping-20081213

LICENSE IPL10

make the head sane on solaris again

(cherry picked from commit 7714162e9abb046e67d0fc68578a2e3d68ef2156)

15 years agoDEVEL15-eliminate-cplusplus-style-comments-20081209
Derrick Brashear [Tue, 9 Dec 2008 17:05:11 +0000]
DEVEL15-eliminate-cplusplus-style-comments-20081209

LICENSE IPL10

aix compiler hates // style comments

(cherry picked from commit 1f9467f9b7e3d6bc49267a32a7e2238c6d829ef0)

15 years agoDEVEL15-windows-afsd-ntstatus-wouldblock-20081208
Jeffrey Altman [Mon, 8 Dec 2008 16:25:54 +0000]
DEVEL15-windows-afsd-ntstatus-wouldblock-20081208

LICENSE MIT

Change the mapping of CM_ERROR_WOULDBLOCK from
STATUS_LOCK_NOT_GRANTED to STATUS_CANT_WAIT.
STATUS_LOCK_NOT_GRANTED is used to indicate
CM_ERROR_LOCK_NOT_GRANTED.

(cherry picked from commit 9123966e43bc2f708baba756530aa90fcfe5e93d)

15 years agoDEVEL15-missing-comerr-header-includes-20081130
Derrick Brashear [Sun, 30 Nov 2008 20:24:36 +0000]
DEVEL15-missing-comerr-header-includes-20081130

LICENSE IPL10
FIXES 123676

include com_err header in places where it's not so afs_error_message et al
exist

(cherry picked from commit 8166bd1d199f5a34225a49173b17e4682b5c3a84)

15 years agoDEVEL15-solaris-fs-agnostic-cache-20081130
Douglas Engert [Sun, 30 Nov 2008 20:21:08 +0000]
DEVEL15-solaris-fs-agnostic-cache-20081130

LICENSE IPL10
FIXES 123677

make the cache able to be filesystem-agnostic so a ZFS cache is possible

(cherry picked from commit 29457b1ca71518b29bb9e9e934c58e6fa4b9877a)

15 years agoDEVEL15-linux-nonfh-cache-file-handling-20081130
Andrew Deason [Sun, 30 Nov 2008 20:17:24 +0000]
DEVEL15-linux-nonfh-cache-file-handling-20081130

LICENSE IPL10
FIXES 123771

go back to referencing f.inode and not ainode when not using the fh cachefiles.
put back the dcache reference again.

(cherry picked from commit 4db6293a06ff573eb650cbf9bbf53440a7ee83a2)

15 years agoDEVEL15-disconnected-refcount-fixes-20081130
Dragos Tatulea [Sun, 30 Nov 2008 20:11:17 +0000]
DEVEL15-disconnected-refcount-fixes-20081130

LICENSE IPL10
FIXES 123714

fix code which tweaks refcounts on disconnected vcaches to be correct

(cherry picked from commit fb549013e7bb2cf5cb3da3083349cb559c093e8f)

15 years agoDEVEL15-disconnected-dirty-list-keeps-reference-to-vcache-20081130
Dragos Tatulea [Sun, 30 Nov 2008 20:06:51 +0000]
DEVEL15-disconnected-dirty-list-keeps-reference-to-vcache-20081130

LICENSE IPL10
FIXES 123715

avoid putting vcaches on the dirty list unreferenced

(cherry picked from commit 20aff72a7eae704241b67b6cf40fc92648abb1b0)

15 years agoDEVEL15-uphys-invalidate-returns-void-20081130
Derrick Brashear [Sun, 30 Nov 2008 19:49:29 +0000]
DEVEL15-uphys-invalidate-returns-void-20081130

LICENSE IPL10
FIXES 123723

thanks to Hartmut Reuter for catching this.

(cherry picked from commit 96996e65fcd569565e78b7af79258dfad3b0d261)

15 years agoDEVEL15-libafs-prototypes-20081130
Derrick Brashear [Sun, 30 Nov 2008 19:40:10 +0000]
DEVEL15-libafs-prototypes-20081130

LICENSE IPL10

fix sun5 prototype for afs_close

(cherry picked from commit 0d94742ec33122b83a84eeb7a82bfd1eb8361464)

15 years agoDEVEL15-netrestrict-netinfo-20081129
Jeffrey Altman [Sat, 29 Nov 2008 18:55:43 +0000]
DEVEL15-netrestrict-netinfo-20081129

LICENSE MIT

Rename rxi_getAllAddrMaskMtu to rx_getAllAddrMaskMtu.

Implement rx_getAllAddrMaskMtu for Windows.

Add rx_getAllAddrMaskMtu to the libafsrpc exports list.

Remove restrictions on use of NetRestrict / NetInfo files from
all services on Windows.

(cherry picked from commit 55ac2b7aa7da8ead2b3457781d9d60958bfad6be)

15 years agoDEVEL15-pinstall-unused-vars-20081129
Simon Wilkinson [Sat, 29 Nov 2008 18:24:39 +0000]
DEVEL15-pinstall-unused-vars-20081129

LICENSE IPL10

remove unused variables from pinstall for the systems which don't need them

15 years agoDEVEL15-libafs-prototypes-20081129
Simon Wilkinson [Sat, 29 Nov 2008 18:20:24 +0000]
DEVEL15-libafs-prototypes-20081129

LICENSE IPL10

 add prototypes missing from libafs

(cherry picked from commit b7e12a1aec9cd3591a02023fb6e87ba6cfcb152f)

15 years agoDEVEL15-standard-header-includes-20081129
Simon Wilkinson [Sat, 29 Nov 2008 18:16:06 +0000]
DEVEL15-standard-header-includes-20081129

LICENSE IPL10

add missing standard headers

(cherry picked from commit deb20d02fb76e52210e44fe03e611e5d3a48a8e5)

15 years agoDEVEL15-rxkad-prototypes-20081129
Simon Wilkinson [Sat, 29 Nov 2008 18:08:49 +0000]
DEVEL15-rxkad-prototypes-20081129

LICENSE IPL10

add prototypes for rxkad

(cherry picked from commit 85f1ef34c2533da2f47757bb8d8a3aecb9083283)

15 years agoDEVEL15-windows-pioctl-global-auto-mapper-20081125
Jeffrey Altman [Wed, 26 Nov 2008 07:15:27 +0000]
DEVEL15-windows-pioctl-global-auto-mapper-20081125

LICENSE MIT
FIXES 123726

drive letters mapped to \\afs by the global auto mapper do not show
up as mapped drives.  Add a check for the drive mapping based upon
the registry configuration.

(cherry picked from commit 5697e58a07e39eba9609685695e1718cbc9794e4)

15 years agoDEVEL15-windows-afsd-memdump-20081121
Jeffrey Altman [Fri, 21 Nov 2008 16:53:00 +0000]
DEVEL15-windows-afsd-memdump-20081121

LICENSE MIT

add the buffer error state to the memdump output

(cherry picked from commit ebb2c8eacaffe25d430c4e3b3eca524ea0b6b103)

15 years agoDEVEL15-ubik-doxygen-20081121
Adam Vollrath [Fri, 21 Nov 2008 07:09:55 +0000]
DEVEL15-ubik-doxygen-20081121

LICENSE IPL10
FIXES 123681

restyle comments in ubik to be doxygen qt-style

(cherry picked from commit 9ddb573bbb7b9960430a98f32124c0cb4d5028b2)

15 years agoDEVEL15-windows-smb-is-mask-20081119
Jeffrey Altman [Wed, 19 Nov 2008 12:36:56 +0000]
DEVEL15-windows-smb-is-mask-20081119

LICENSE MIT
FIXES 123680

Examination of dump shows that smb_IsMask is being called on a
non-8.3 input buffer.   Separate smb_IsMask() into smb_Is8Dot3Mask()
for 8.3 input buffers and smb_IsMask() for non-8.3 input buffers.

(cherry picked from commit f3384d6378173dbaf550283851a8948654af548c)

15 years agoDEVEL15-netbsd-acinclude-typo-20081117
Tracy Di Marco White [Mon, 17 Nov 2008 23:14:16 +0000]
DEVEL15-netbsd-acinclude-typo-20081117

LICENSE IPL10
FIXES 123647

fix netbsd version tests for amd64

(cherry picked from commit 122833a44eed58273e73992df815c7718ac6e4f7)

15 years agoDEVEL15-aix6-lam-plugin-20081117
Derrick Brashear [Mon, 17 Nov 2008 23:05:41 +0000]
DEVEL15-aix6-lam-plugin-20081117

LICENSE IPL10
FIXES 123649

based on suggestion from Hung_Pham@unc.edu

build aix5 module for aix6

(cherry picked from commit b5fea780fbb0ea12d3d086210d0abbef12e24560)

15 years agoDEVEL15-windows-smb-rename-20081117
Jeffrey Altman [Mon, 17 Nov 2008 22:28:57 +0000]
DEVEL15-windows-smb-rename-20081117

LICENSE MIT
FIXES 123673

avoid reference under count when renaming

(cherry picked from commit a4177506ce59ffda41ae0cc04aeef581e3f4d305)

15 years agoDEVEL15-windows-smb-vc-uid-missing-20081117
Jeffrey Altman [Mon, 17 Nov 2008 19:08:39 +0000]
DEVEL15-windows-smb-vc-uid-missing-20081117

LICENSE MIT
FIXES 123655

Protect against an smb packet containing a uid for which we have no
active session in the virtual circuit.

(cherry picked from commit 5fe7d9c6d9482651859d91f3022ac5ae0a127835)

15 years agoDEVEL15-windows-buf-clean-20081115
Jeffrey Altman [Sat, 15 Nov 2008 17:10:27 +0000]
DEVEL15-windows-buf-clean-20081115

LICENSE MIT

change the interface to buf_CleanAsync / buf_CleanAsyncLocked to permit
errors to be propagated to the caller.

(cherry picked from commit d312166bfd2e7e877ae5559a82050f3ecc3555ee)

15 years agoDEVEL15-windows-btree-20081115
Jeffrey Altman [Sat, 15 Nov 2008 17:07:53 +0000]
DEVEL15-windows-btree-20081115

LICENSE MIT

return an error if the enumeration of the directory cannot complete
because the btree has not yet been generated.

(cherry picked from commit ab37d70f502e3b5ebdbfe23107ac5006cc0e9a2f)

15 years agoDEVEL15-windows-error-mapping-20081115
Jeffrey Altman [Sat, 15 Nov 2008 17:05:33 +0000]
DEVEL15-windows-error-mapping-20081115

LICENSE MIT

do not map success (0) to an error

(cherry picked from commit 17b8c16000461c5b7908cdb3d923bba9a03122b5)

15 years agoDEVEL15-missing-linux-fh-configure-switch-20081113
Marc Dionne [Thu, 13 Nov 2008 13:48:12 +0000]
DEVEL15-missing-linux-fh-configure-switch-20081113

LICENSE IPL10
FIXES 123620

add missing hunk to acinclude

(cherry picked from commit 117066c481e956f7fea53a500271791db5cb375d)

15 years agoDEVEL15-man-page-fileserver-fix-block-size-20081111
Russ Allbery [Wed, 12 Nov 2008 02:31:12 +0000]
DEVEL15-man-page-fileserver-fix-block-size-20081111

After code study, we've decided that additional blocks do add 32 octets,
not 16, despite messages to the contrary in the archives.

(cherry picked from commit a3c9b01f3adae098dbd31e7b9742dec5f8081d2c)

15 years agoDEVEL15-man-page-fileserver-updates-20081111
Jason Edgecombe [Wed, 12 Nov 2008 02:18:08 +0000]
DEVEL15-man-page-fileserver-updates-20081111

LICENSE BSD

Various file server man page updates: number of partitions, partition size
limits, directory file name block size, and a reference to the IBM manual
set.

(cherry picked from commit 794967ed3ec5a46329375ae19eac21c1c508c1ee)

15 years agoDEVEL15-man-page-fileserver-octet-20081111
Russ Allbery [Wed, 12 Nov 2008 02:02:12 +0000]
DEVEL15-man-page-fileserver-octet-20081111

LICENSE BSD

The sizing limit on directories is better expressed in octets than in
characters in the new possibly-Unicode world.

(cherry picked from commit 196e995b2569c7dceea8748a36431802d4875188)

15 years agoDEVEL15-viced-helper-thread-count-20081111
Derrick Brashear [Tue, 11 Nov 2008 20:31:30 +0000]
DEVEL15-viced-helper-thread-count-20081111

LICENSE IPL10

fix the thread count of helpers so we don't go past 128

(cherry picked from commit 267472a473316fbc37e1fc5dc74e4e7f9edfa4ef)

15 years agoDEVEL15-windows-netidmgr-vs-referrals-20081111
Jeffrey Altman [Tue, 11 Nov 2008 03:33:51 +0000]
DEVEL15-windows-netidmgr-vs-referrals-20081111

LICENSE MIT

kfw referrals logic broke the logic for automated configuration of
the workstation cell with a new identity.  Now if a referrals
response is returned, assume the cell belongs with the new identity.

In the long term, we need to change the logic as follows:
 1. if realm indicates referrals, try to obtain the krb5 service ticket
    but do not generate a token
 2. if the service ticket can be obtained and
  a. if the cell is not bound to any other identities,
     then bind it to this one
  b. if the cell is bound to another identity, prompt the user to ask
     which identity (or both) should this cell be bound to and follow
     the user's instruction

(cherry picked from commit de2044ca66f0de5bcdf0505373fb189b09cd49ef)

15 years agoDEVEL15-openafs-1-5-55-20081108 openafs-devel-1_5_55
Derrick Brashear [Sun, 9 Nov 2008 05:01:33 +0000]
DEVEL15-openafs-1-5-55-20081108

LICENSE IPL10

make 1.5.55

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)