5547 Commits

Author SHA1 Message Date
Douglas Engert
625ec1a639 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)
2008-11-30 20:21:08 +00:00
Andrew Deason
22aa758156 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)
2008-11-30 20:17:24 +00:00
Dragos Tatulea
f6d6bd6027 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)
2008-11-30 20:11:17 +00:00
Dragos Tatulea
c7dc0e87ab 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)
2008-11-30 20:06:51 +00:00
Derrick Brashear
c2832e9322 DEVEL15-uphys-invalidate-returns-void-20081130
LICENSE IPL10
FIXES 123723

thanks to Hartmut Reuter for catching this.


(cherry picked from commit 96996e65fcd569565e78b7af79258dfad3b0d261)
2008-11-30 19:49:29 +00:00
Derrick Brashear
c0a5f86719 DEVEL15-libafs-prototypes-20081130
LICENSE IPL10

fix sun5 prototype for afs_close


(cherry picked from commit 0d94742ec33122b83a84eeb7a82bfd1eb8361464)
2008-11-30 19:40:10 +00:00
Jeffrey Altman
594f0ca6f5 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)
2008-11-29 18:55:43 +00:00
Simon Wilkinson
466b388f9b DEVEL15-pinstall-unused-vars-20081129
LICENSE IPL10

remove unused variables from pinstall for the systems which don't need them
2008-11-29 18:24:39 +00:00
Simon Wilkinson
df19dcfa30 DEVEL15-libafs-prototypes-20081129
LICENSE IPL10

 add prototypes missing from libafs


(cherry picked from commit b7e12a1aec9cd3591a02023fb6e87ba6cfcb152f)
2008-11-29 18:20:24 +00:00
Simon Wilkinson
06f0f72dad DEVEL15-standard-header-includes-20081129
LICENSE IPL10

add missing standard headers


(cherry picked from commit deb20d02fb76e52210e44fe03e611e5d3a48a8e5)
2008-11-29 18:16:06 +00:00
Simon Wilkinson
fd27d398eb DEVEL15-rxkad-prototypes-20081129
LICENSE IPL10

add prototypes for rxkad


(cherry picked from commit 85f1ef34c2533da2f47757bb8d8a3aecb9083283)
2008-11-29 18:08:49 +00:00
Jeffrey Altman
4e34165ee4 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)
2008-11-26 07:15:27 +00:00
Jeffrey Altman
d628b5ceb7 DEVEL15-windows-afsd-memdump-20081121
LICENSE MIT

add the buffer error state to the memdump output


(cherry picked from commit ebb2c8eacaffe25d430c4e3b3eca524ea0b6b103)
2008-11-21 16:53:00 +00:00
Adam Vollrath
ea1f44be11 DEVEL15-ubik-doxygen-20081121
LICENSE IPL10
FIXES 123681

restyle comments in ubik to be doxygen qt-style


(cherry picked from commit 9ddb573bbb7b9960430a98f32124c0cb4d5028b2)
2008-11-21 07:09:55 +00:00
Jeffrey Altman
e34b2ce893 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)
2008-11-19 12:36:56 +00:00
Tracy Di Marco White
e9e1f7bb0b DEVEL15-netbsd-acinclude-typo-20081117
LICENSE IPL10
FIXES 123647

fix netbsd version tests for amd64


(cherry picked from commit 122833a44eed58273e73992df815c7718ac6e4f7)
2008-11-17 23:14:16 +00:00
Derrick Brashear
b43c1daa55 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)
2008-11-17 23:05:41 +00:00
Jeffrey Altman
928445ff55 DEVEL15-windows-smb-rename-20081117
LICENSE MIT
FIXES 123673

avoid reference under count when renaming


(cherry picked from commit a4177506ce59ffda41ae0cc04aeef581e3f4d305)
2008-11-17 22:28:57 +00:00
Jeffrey Altman
54833addb9 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)
2008-11-17 19:08:39 +00:00
Jeffrey Altman
b9d418253f 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)
2008-11-15 17:10:27 +00:00
Jeffrey Altman
06d247abbe 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)
2008-11-15 17:07:53 +00:00
Jeffrey Altman
5acd52fcf7 DEVEL15-windows-error-mapping-20081115
LICENSE MIT

do not map success (0) to an error


(cherry picked from commit 17b8c16000461c5b7908cdb3d923bba9a03122b5)
2008-11-15 17:05:33 +00:00
Marc Dionne
e2c1dbad25 DEVEL15-missing-linux-fh-configure-switch-20081113
LICENSE IPL10
FIXES 123620

add missing hunk to acinclude


(cherry picked from commit 117066c481e956f7fea53a500271791db5cb375d)
2008-11-13 13:48:12 +00:00
Russ Allbery
08492ab96e 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)
2008-11-12 02:31:12 +00:00
Jason Edgecombe
a8ffbdeb82 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)
2008-11-12 02:18:08 +00:00
Russ Allbery
15eaa14a1b 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)
2008-11-12 02:02:12 +00:00
Derrick Brashear
4ece39e0d1 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)
2008-11-11 20:31:30 +00:00
Jeffrey Altman
2c51575a82 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)
2008-11-11 03:33:51 +00:00
Derrick Brashear
5c4ef447c0 DEVEL15-openafs-1-5-55-20081108
LICENSE IPL10

make 1.5.55
openafs-devel-1_5_55
2008-11-09 05:01:33 +00:00
Marc Dionne
f68f52a2b3 DEVEL15-linux-new-aop-20081108
LICENSE IPL10
FIXES 123580

support for 2.6.28


(cherry picked from commit 041f09e17b7e1760a968c0e38f52d7feac2862ba)
2008-11-08 16:49:42 +00:00
Marc Dionne
8983d3f4f1 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)
2008-11-08 16:34:40 +00:00
Marc Dionne
856e99dcdf 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)
2008-11-08 16:13:59 +00:00
Steve McIntosh
230c54bef4 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)
2008-11-08 15:58:18 +00:00
Jeffrey Hutzelman
843366172a DEVEL15-cellservdb-20081107
new cellservdb from central.org


(cherry picked from commit 35bc549bf9b6d5f1e4628621f0283d68c5808da5)
2008-11-08 02:29:26 +00:00
Jeffrey Altman
278cf5c10e DEVEL15-windows-version-20081107
LICENSE MIT

1.5.5500.0 == 1.5.55
2008-11-08 02:08:36 +00:00
Jeffrey Altman
6c2b0c118b DEVEL15-windows-release-notes-20081107
LICENSE MIT

notes for 1.5.55
2008-11-08 00:06:39 +00:00
Jeffrey Altman
7497120212 DEVEL15-windows-linked-cells-10081107
LICENSE MIT

prevent stack overflow


(cherry picked from commit aff6ee8987961bc2631fa5dfd599de91a2c51419)
2008-11-07 21:00:54 +00:00
Jeffrey Altman
6f9abac107 DEVEL15-windows-notes-20081107
LICENSE MIT

1.5.55
2008-11-07 19:24:12 +00:00
Asanka Herath
d54c07afc2 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)
2008-11-07 18:19:51 +00:00
Jeffrey Altman
fb9ed37e0a DEVEL15-windows-nim-afs-linked-cells-20081107
LICENSE MIT

add linked cell support to the NIM afs provider.


(cherry picked from commit fffc8d7016b3f659d111276a1657dad8acc8cf50)
2008-11-07 16:36:03 +00:00
Jeffrey Altman
f849a1f9a9 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)
2008-11-07 05:41:11 +00:00
Jeffrey Altman
8e2387404c 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)
2008-11-06 22:09:18 +00:00
Jeffrey Altman
a51916957b 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)
2008-11-06 19:18:51 +00:00
Simon Wilkinson
d4612586a9 DEVEL15-redhat-packaging-krb-conf-man-page-20081105
LICENSE IPL10

account for the new manpage


(cherry picked from commit eccc12fb07cc5fef660ee29fe5ebcc573b027568)
2008-11-05 21:29:47 +00:00
Jeffrey Altman
a1fd3da236 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)
2008-11-03 19:56:03 +00:00
Jeffrey Altman
bf2f87ef6f 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)
2008-11-01 03:38:12 +00:00
Simon Wilkinson
7138612043 DEVEL15-aklog-attempt-order-comments-20081029
LICENSE IPL10

to clarify what gets tried when and why.


(cherry picked from commit 50e1e59a92f38e0751384b401016ea01fe01ed8f)
2008-10-29 19:43:53 +00:00
Max Cohan
2d3786f0df 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)
2008-10-28 17:58:59 +00:00
Simon Wilkinson
9fc0c53630 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)
2008-10-27 23:53:44 +00:00
Simon Wilkinson
6fd92f3b3a DEVEL15-kill-uninitialized-variable-warnings-20081026
LICENSE IPL10

kill lots of compiler warnings


(cherry picked from commit f27165f13796a84cdbc36c31714781509ad25ba0)
2008-10-27 23:41:43 +00:00