5067 Commits

Author SHA1 Message Date
Marc Dionne
3e000a85ae DEVEL15-linux-2625-update-20080322
LICENSE IPL10
FIXES 88000

update 2.6.25 patch to hopefully cover what we need better


(cherry picked from commit 76494a572e504c426fe9dabc8e68115f7ee6a05c)
openafs-devel-1_5_34
2008-03-23 00:53:46 +00:00
Jeffrey Altman
83ed7bd11a DEVEL15-windows-aklog-cleanup-20080321
LICENSE MIT

make krb5_context global.  wrap all calls to exit() in a new function,
akexit(), which performs cleanup of the krb5_ccache and the krb5_context.


(cherry picked from commit 887f2869e309d00dff095b033dabf59231ef3300)
2008-03-22 00:20:24 +00:00
Jeffrey Altman
e5cbb7c53d DEVEL15-windows-release-notes-20080321
LICENSE MIT

final changes for 1.5.34
2008-03-21 18:09:06 +00:00
Jeffrey Altman
4831ca4187 DEVEL15-windows-notes-20080321
LICENSE MIT

one more item for 1.5.34
2008-03-21 17:17:41 +00:00
Jeffrey Altman
1d1386baa0 DEVEL15-windows-version-20080321
LICENSE MIT

1.5.34 == 1.5.3400.0
2008-03-21 17:02:48 +00:00
Tom Keiser
81601662ca DEVEL15-aix-unix-sockets-fix-200803221
LICENSE IPL10
FIXES 88088

use aix's macro for the size of sockaddr_un


(cherry picked from commit 493afd1e59661e64120a8d655d6503ac396ca46b)
2008-03-21 16:59:14 +00:00
Derrick Brashear
86f385c891 DEVEL15-openafs-1-5-34-20080321
LICENSE IPL10

make 1.5.34
2008-03-21 16:55:37 +00:00
Jeffrey Altman
236a1d9866 DEVEL15-windows-aklog-20080320
LICENSE MIT

Windows Error Reports indicate that sometimes the krb5_cc_default()
call must be failing because krb5_cc_principal is being called with
a NULL ccache value.  Perform error checking and cleanup that was
not previously implemented.


(cherry picked from commit 94f32208af8896e144e18aa34d80bf2924b4ac36)
2008-03-21 12:22:03 +00:00
Jeffrey Altman
4836af9c97 DEVEL15-windows-notes-20080320
LICENSE MIT

changes implemented in 1.5.34
2008-03-21 05:02:38 +00:00
Jeffrey Altman
e7e3183238 DEVEL15-windows-pioctl-disable-service-mgr-check-20080320
LICENSE MIT

Adds HKLM\\Software\\OpenAFS\\Client  DisableIoctlSMCheck

For use in setting tokens when afsd_service.exe is started without
use of the NT Service Manager.  Permits profiling authenticated
operations.


(cherry picked from commit 77c1e986369c8151ec19e74dccbd2b40de6270d9)
2008-03-21 04:17:14 +00:00
Jeffrey Altman
1d52c60b22 DEVEL15-windows-max-cells-20080319
LICENSE MIT

Add CM_CONFIGDEFAULT_CELLS (1024) to cm_config.h and a "Cells" registry
value that can be used to alter the limit at runtime.

No longer tie the number of cells to the number of stat cache objects.
1024 should be more than sufficient.


(cherry picked from commit edbde00d6c3be0228b1647505d8483632cceaf39)
2008-03-20 00:01:59 +00:00
Jeffrey Altman
bfb119fd6e DEVEL15-windows-volume-dotdotFid-20080319
LICENSE MIT

The volume dotdotFid field should have moved into the cm_volstate_t
object as there can be different parents for rw, ro, and bk volumes.


(cherry picked from commit d24b177765f2955a7c54ecdc33744ecee069f25e)
2008-03-19 20:18:37 +00:00
Jeffrey Altman
381f1bd84e DEVEL15-windows-no-more-afsdifs-20080319
LICENSE MIT

do not include a header that no longer exists


(cherry picked from commit b2667be49d31a26517f3c7a192091847434e6151)
2008-03-19 15:36:25 +00:00
Jeffrey Altman
3650d72471 DEVEL15-windows-remove-umich-afsifs-20080319
LICENSE MIT

The UMich AFS IFS code has never been made ready for production.
An alternative approach is currently being worked on that will be.


(cherry picked from commit e3f9fcdeaaf35363c0b3d3a8004892aa4ce9233f)
2008-03-19 13:59:29 +00:00
Jeffrey Altman
edacd58fb5 DEVEL15-windows-parseacl-20080319
LICENSE MIT

Protect against invalid data being passed into ParseAcl and
corrupting the stack.  This affects both fs.exe and the explorer
shell extension.

Windows Error Reporting in recent weeks has begun to report several
instances of stack corruption in the explorer shell extension from
Denmark and Germany.


(cherry picked from commit e6d7e165886122dc4cee850632ee2c1f55165258)
2008-03-19 13:24:00 +00:00
Jeffrey Altman
5daf503114 DEVEL15-windows-remove-umich-afsifs-20080318
LICENSE MIT

The UMich AFS IFS code has never been made ready for production.
An alternative approach is currently being worked on that will be.


(cherry picked from commit e7e2a3bd0691e3da78a36c8f3332577290f59a64)
2008-03-18 16:48:31 +00:00
Tom Keiser
2a28bd263f DEVEL15-dafs-kill-xcpu-dump-vlru-stats-20080318
LICENSE BSD

this will dump the current dafs vlru state on kill -XCPU (just as we dump other
fileserver state)
that state is
VLRU is a garbage collection facility which automatically offlines
volumes in the background. The purpose of this facility is to
proactively offline infrequently used volumes to improve shutdown and
salvage times. The process of offlining a volume from the "attached"
state to the "pre-attached" state is called soft detachment.

VLRU works in a manner similar to a generational garbage collector.
There are five queues on which volumes can reside: new, intermediate,
old, held, and candidate:

held:

queue for volumes which are administratively barred from VLRU activity

candidate:

queue for volumes which have not been accessed recently, and are thus
candidates for soft detachment

new, intermediate, old:

generational queues for active volumes; state transitions controlled by
inactivity timers.

State transition timeouts are as follows:

candidate->new activity present
new->candidate (1*vlruthresh) minutes since last transition; no activity
new->mid (2*vlruthresh) minutes since last transition; activity
present
mid->old (4*vlruthresh) minutes since last transition; activity
present
old->mid (2*vlruthresh) minutes since last transition; no activity
mid->new (1*vlruthresh) minutes since last transition; no activity


(cherry picked from commit 6c81286368e17bdde543d4d6e5d19512cab62ba3)
2008-03-18 16:06:19 +00:00
Kevin McBride
14e1f2c843 DEVEL15-pts-process-input-file-and-exit-20080318
LICENSE IPL10

 The pts program has a command 'source' to read commands from
 a file.  In the interactive "shell" mode, this command works,
 reading and executing commands until the end of the file and
 then returning to the command shell.

 This command is valid for use as a command line option, but
 does not work. It requires a valid filename as an argument,
 but does not process the file, instead just dropping the user
 into the interactive mode.

 When given as a command line option, pts source SHOULD read
 the file, execute the commands and then exit, according to
 the documentation. It does not currently do this and should
 be fixed.


(cherry picked from commit db4c703131c4fe68e699d873525f1055845545f7)
2008-03-18 15:58:54 +00:00
Chaskiel M Grundman
334cd2be12 DEVEL15-hpux1123-sysname-detection-20080317
LICENSE IPL10
FIXES 89125

add the 11.23 sysname


(cherry picked from commit 7ffe6a97ff0453c2cae8b15a9d7e2084e3a864d4)
2008-03-17 18:07:48 +00:00
Chas Williams
e5f15d72df DEVEL15-afs-nostats-xstats-start-cmtime-noop-20080317
LICENSE IPL10
FIXES 90528

add missing noop so we can build with stats disabled


(cherry picked from commit 2c3cbd499ad4461511f2181e1ac0a0cfa6768821)
2008-03-17 18:03:37 +00:00
Chas Williams
dd59ee88f6 DEVEL15-rx-nacks-increment-with-all-newacks-20080317
LICENSE IPL10

don't "lose" newacks, apply all of them to the ack count


(cherry picked from commit eee60dd38d1be14be052178816aea36b2f8de3ff)
2008-03-17 17:57:18 +00:00
Jeffrey Hutzelman
be4d19f2d5 DEVEL15-linux-nfstrans-readme-20080317
LICENSE IPL10

readme for linux nfs translator and extensions


(cherry picked from commit ec5a43b08686680b9d9c0552e3a912871dac4cc8)
2008-03-17 17:48:53 +00:00
Derrick Brashear
d8d3cee031 DEVEL15-volser-handle-malloc-failure-20080317
LICENSE IPL10

allocate memory for all rx OUT parameters in stubs to avoid crashes.


(cherry picked from commit 449756f8a26f1b30147851f98ac67b2a2642abf8)
2008-03-17 17:14:11 +00:00
Mattias Pantzare
db283db4e4 DEVEL15-solaris11-update-20080317
LICENSE IPL10

update solaris 11. probably we should do configure tests instead for
these things, since they're sort of "moving target"


(cherry picked from commit 680123d70c98d7d9e5884e3d43ed5298d6aad11d)
2008-03-17 16:53:24 +00:00
Steven Jenkins
119cd28bfb DEVEL15-dafs-readme-20080317
LICENSE IPL10

update README to mention DAFS setup and build options


(cherry picked from commit f776cb96f97e5995a3a58074f2bf913e8ea4be00)
2008-03-17 16:40:00 +00:00
Tom Keiser
951b5aa28b DEVEL15-dafs-accurately-track-inuse-20080317
LICENSE IPL10

keep accurate tabs on whether a volume is "in use" so we don't end up with volum
e state that's nonsensical.


(cherry picked from commit c7bce5882a685fcc6ecac53fb54ec7047f21ec6c)
2008-03-17 16:05:28 +00:00
Derrick Brashear
baf164d40a DEVEL15-rx-clock-backward-detection-20080317
LICENSE IPL10

if the clock goes backwards, detect it and reset any rx events to run in a timely manner


(cherry picked from commit 3a84b02172800e7c172e04718fb109d1f5f1c014)
2008-03-17 15:38:27 +00:00
Steven Jenkins
9882389401 DEVEL15-demand-attach-docs-20080314
LICENSE IPL10

Additional documentation for the demand attach file server, plus a state
diagram.


(cherry picked from commit 8cad4305acb787500f9434949cfb3c6500f3287b)
2008-03-14 18:49:54 +00:00
Jeffrey Altman
cca102a087 DEVEL15-windows-callback-20080314
LICENSE MIT

Protect against a null volp


(cherry picked from commit 6fef8b74299e4ed75a1da45d7fdb948581ab2434)
2008-03-14 16:55:25 +00:00
Jeffrey Altman
5631232d3d DEVEL15-windows-max-volumes-20080314
LICENSE MIT

Propagate the max volumes value into cm_memmap


(cherry picked from commit 3a0fa5627bd5254f37aa5c2fb04ca7d27f0a06c1)
2008-03-14 16:18:00 +00:00
Tom Keiser
a1ebc6cc31 DEVEL15-vol-dafs-aix-fixes-20080313
LICENSE IPL10
FIXES 88087

* xlc doesn't support the inline keyword unless C99 is enabled
* xlc won't parse enumerations with trailing commas


(cherry picked from commit 53a57b79b567aed990eb27d0b4a24109a65a993e)
2008-03-14 04:42:52 +00:00
Simon Wilkinson
9906c8745a DEVEL15-lwp-fixprotos-20080313
LICENSE IPL10
FIXES 89857

make everything match, and make *ep take void and not a pointer


(cherry picked from commit 2d29c51167b50286e94bda35275e62cfc3c04dfd)
2008-03-13 13:42:19 +00:00
Jeffrey Altman
9bde7c71bf DEVEL15-rx-mutex-interlocked-macros-20080312
LICENSE IPL10

fix from sxw@inf.ed.ac.uk


(cherry picked from commit e1fb328b9ae509316ce8fff81691f6b738929ee9)
2008-03-13 12:58:19 +00:00
Jeffrey Altman
e29dd37849 DEVEL15-windows-remove-scache-volp-20080312
LICENSE MIT

The cm_scache structure has included a reference to the associated cm_volume_t,
volp.  By doing so the reference count on the cm_volume_t objects never hits
zero unless all of the cm_scache_t objects in that volume have been reused.
This prevents cm_volume object recycling.

This commit removes the hard reference and instead adds a function
cm_GetVolumeByFID which obtains a reference to the cm_volume that matches
the cm_scache fid value as needed.

A new "Volumes" registry value is added to permit explicit specification
of the number of volume objects to be allocated.


(cherry picked from commit f9cc51fb40f1797b72ba5b05d7d0249b9a3b2e27)
2008-03-13 04:39:17 +00:00
Marc Dionne
6d2e37db8a DEVEL15-linux-2625-20080312
LICENSE IPL10

add missing bits


(cherry picked from commit 5378bf47efdb9abb056a0111cf38b9b6c73c7bc8)
2008-03-13 02:25:37 +00:00
Jeffrey Altman
8a9bb0f08b DEVEL15-windows-client-config-pt-20080311
LICENSE MIT

typo in pt_BR language resource file


(cherry picked from commit f69a15c7a8e286ead1d7a3e444214a1553fa01e5)
2008-03-12 05:47:38 +00:00
Jeffrey Altman
75673c15f2 DEVEL15-rx-no-interlockedadd-20080311
LICENSE IPL10

InterlockedAdd is only supported on Itanium


(cherry picked from commit 9cc4a8e02cd6b244c34f04ba9526183edd358bf7)
2008-03-12 05:13:59 +00:00
Steven Jenkins
e57370db9f DEVEL15-man-page-fileserver-update-20080311
LICENSE IPL10

Update the fileserver documentation for demand-attach and add documentation
of other missing options and notes where some options are only applicable
with particular builds.


(cherry picked from commit 0e91773fd769f2c5ce69eef1e795993f963ab3ee)
2008-03-12 01:40:16 +00:00
Jeffrey Altman
1af1720b3c DEVEL15-rx-mutex-interlocked-macros-20080311
LICENSE IPL10

Introduce a new set of macros that can be used to permit either mutex
based protection or Interlocked operation protection increments,
decrements, or additions.

  rx_MutexIncrement(object, mutex)
  rx_MutexAdd(object, addend, mutex)
  rx_MutexDecrement(object, mutex)
  rx_MutexAdd1Increment2(object1, addend, object2, mutex)
  rx_MutexAdd1Decrement2(object1, addend, object2, mutex)

For Windows these are implemented with the Interlocked operations
for other platforms the existing mutex is relied upon.

Only a subset of the rx_stats parameters have been transitioned at the
current time.


(cherry picked from commit c86ae86a53c8a8e5acc099e1ea437e3571b2e63d)
2008-03-11 18:27:39 +00:00
Simon Wilkinson
392732e3ee DEVEL15-lwp-protoize-20080310
LICENSE IPL10

protoize lwp. make it match pthreads' idea of createprocess


(cherry picked from commit ff988ead4ee3986c1db9f983e4f25ba79469a4e4)
2008-03-11 17:46:47 +00:00
Jeffrey Altman
832e9a0d00 DEVEL15-windows-lwp-proto-20080311
LICENSE IPL10

Fix breakage caused by recent lwp prototyping.


(cherry picked from commit 9473128eb375b3ec31560613842220b934e07de6)
2008-03-11 17:02:04 +00:00
Derrick Brashear
fae8aedd3c DEVEL15-linux-2625-20080310
LICENSE IPL10

adapted from marc dionne's patch, but works more directly like the darwin port,
further, i'm guessing iget_locked will go away evewntually. maybe this is
too conservative?


(cherry picked from commit cadbebc2e50aedea01475620a3add4c315c13faa)
2008-03-10 18:52:50 +00:00
Jeffrey Altman
18c31cbf1c DEVEL15-windows-client-config-misc-dlg-20080310
LICENSE MIT

The Daemon and Server Threads fields were swapped.


(cherry picked from commit 2cee2d88a8573f1b8eb336993d9acf6417cda4e2)
2008-03-10 18:18:13 +00:00
Simon Wilkinson
f9cc4315d6 DEVEL15-keyring-updated-20080310
LICENSE IPL10

revise keyring patch to avoid detection problems with keyring_type_key


(cherry picked from commit b7fb842b1cd11ceaa492201ad9a38052e424f6a8)
2008-03-10 16:47:16 +00:00
Derrick Brashear
2fd0a80adb DEVEL15-hpux-param-updates-20080310
LICENSE IPL10

based on suggestion from cg2v@andrew.cmu.edu


(cherry picked from commit 9959232682d05f410dc0fae91f790b2ebed3273a)
2008-03-10 16:23:51 +00:00
Jeffrey Altman
b88f09c942 DEVEL15-windows-afs-execute-only-20080309
LICENSE MIT

If we want to enforce the open for read flag in smb_ReadData we must
also check for execute access.  We map execute access to read access
because AFS doesn't have a separate permission for that.


(cherry picked from commit 5f6546ecbbe946f2275e07d87351968105c176a1)
2008-03-09 15:25:01 +00:00
Jason Edgecombe
a900ac3992 DEVEL15-man-page-afsd-afsdb-20080308
LICENSE BSD
FIXES 89288 89289

Reference RFC 1183 in the AFSDB documentation.


(cherry picked from commit 6e18cd4108e6367fe9766d5f2cfda48569c9ebbf)
2008-03-09 06:08:47 +00:00
Simon Wilkinson
f56bcd1b25 DEVEL15-pt-util-com-err-20080308
LICENSE IPL10

prototype afs_error_message() to ensure correct behavior on 64-bit
systems with 32-bit int.


(cherry picked from commit 84a928ddd46b1b77c655b21ce7e9fc8d775b96db)
2008-03-09 01:58:49 +00:00
Jeffrey Altman
2ab376f5ed DEVEL15-windows-release-notes-20080308
LICENSE MIT
FIXES 89132

updates for 1.5.34.  includes updates to the debugging section
and registry values.
2008-03-09 01:09:30 +00:00
Jeffrey Altman
6c6ac2dfb5 DEVEL15-windows-installer-rxmaxmtu-setting-20080308
LICENSE MIT

change the RxMaxMtu setting to 0 to restore default
behavior (aka performance).  The Cisco VPN 5.0.01.0600
client no longer requires a reduced mtu size for compatibility
with AFS.


(cherry picked from commit cdd1e8b878c669927b7e2b8f06cd20b62f6bec51)
2008-03-08 23:39:25 +00:00