Commit Graph

4875 Commits

Author SHA1 Message Date
Jeffrey Altman
f377634115 windows-vlserver-include-path-20080323
LICENSE MIT

Fix the INCFILEDIR definition so that the INCFILES actually exist
2008-03-23 14:10:42 +00:00
Marc Dionne
76494a572e linux-2625-update-20080322
LICENSE IPL10
FIXES 88000

update 2.6.25 patch to hopefully cover what we need better
2008-03-23 00:53:29 +00:00
Jeffrey Altman
887f2869e3 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.
2008-03-22 00:19:03 +00:00
Tom Keiser
493afd1e59 aix-unix-sockets-fix-200803221
LICENSE IPL10
FIXES 88088

use aix's macro for the size of sockaddr_un
2008-03-21 16:59:03 +00:00
Jeffrey Altman
94f32208af 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.
2008-03-21 12:20:21 +00:00
Jeffrey Altman
77c1e98636 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.
2008-03-21 04:15:47 +00:00
Jeffrey Altman
edbde00d6c 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.
2008-03-20 00:00:28 +00:00
Jeffrey Altman
d24b177765 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.
2008-03-19 20:17:04 +00:00
Jeffrey Altman
b2667be49d windows-no-more-afsdifs-20080319
LICENSE MIT

do not include a header that no longer exists
2008-03-19 15:34:48 +00:00
Jeffrey Altman
e3f9fcdeaa 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.
2008-03-19 13:57:36 +00:00
Jeffrey Altman
e6d7e16588 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.
2008-03-19 13:22:02 +00:00
Jeffrey Altman
e7e2a3bd06 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.
2008-03-18 16:44:39 +00:00
Tom Keiser
6c81286368 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
2008-03-18 16:05:09 +00:00
Kevin McBride
db4c703131 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.
2008-03-18 15:58:40 +00:00
Chaskiel M Grundman
7ffe6a97ff hpux1123-sysname-detection-20080317
LICENSE IPL10
FIXES 89125

add the 11.23 sysname
2008-03-17 18:07:36 +00:00
Chas Williams
2c3cbd499a afs-nostats-xstats-start-cmtime-noop-20080317
LICENSE IPL10
FIXES 90528

add missing noop so we can build with stats disabled
2008-03-17 18:02:53 +00:00
Chas Williams
eee60dd38d rx-nacks-increment-with-all-newacks-20080317
LICENSE IPL10

don't "lose" newacks, apply all of them to the ack count
2008-03-17 17:56:38 +00:00
Jeffrey Hutzelman
ec5a43b086 linux-nfstrans-readme-20080317
LICENSE IPL10

readme for linux nfs translator and extensions
2008-03-17 17:48:35 +00:00
Derrick Brashear
449756f8a2 volser-handle-malloc-failure-20080317
LICENSE IPL10

allocate memory for all rx OUT parameters in stubs to avoid crashes.
2008-03-17 17:14:01 +00:00
Mattias Pantzare
680123d70c 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"
2008-03-17 16:51:55 +00:00
Steven Jenkins
f776cb96f9 dafs-readme-20080317
LICENSE IPL10

update README to mention DAFS setup and build options
2008-03-17 16:39:03 +00:00
Tom Keiser
c7bce5882a dafs-accurately-track-inuse-20080317
LICENSE IPL10

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

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

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

====================
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.
2008-03-17 17:06:30 +00:00
Derrick Brashear
3a84b02172 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
2008-03-17 15:38:15 +00:00
Steven Jenkins
8cad4305ac demand-attach-docs-20080314
LICENSE IPL10

Additional documentation for the demand attach file server, plus a state
diagram.
2008-03-14 18:05:00 +00:00
Jeffrey Altman
6fef8b7429 windows-callback-20080314
LICENSE MIT

Protect against a null volp
2008-03-14 16:53:37 +00:00
Jeffrey Altman
3a0fa5627b windows-max-volumes-20080314
LICENSE MIT

Propagate the max volumes value into cm_memmap
2008-03-14 16:16:14 +00:00
Tom Keiser
53a57b79b5 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
2008-03-14 04:41:20 +00:00
Simon Wilkinson
2d29c51167 lwp-fixprotos-20080313
LICENSE IPL10
FIXES 89857

make everything match, and make *ep take void and not a pointer
2008-03-13 13:42:06 +00:00
Jeffrey Altman
e1fb328b9a rx-mutex-interlocked-macros-20080312
LICENSE IPL10

fix from sxw@inf.ed.ac.uk
2008-03-13 12:56:31 +00:00
Jeffrey Altman
f9cc51fb40 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.
2008-03-13 04:37:44 +00:00
Marc Dionne
5378bf47ef linux-2625-20080312
LICENSE IPL10

add missing bits
2008-03-13 02:23:57 +00:00
Jeffrey Altman
f69a15c7a8 windows-client-config-pt-20080311
LICENSE MIT

typo in pt_BR language resource file
2008-03-12 05:46:01 +00:00
Jeffrey Altman
9cc4a8e02c rx-no-interlockedadd-20080311
LICENSE IPL10

InterlockedAdd is only supported on Itanium
2008-03-12 05:12:54 +00:00
Steven Jenkins
0e91773fd7 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.
2008-03-12 01:28:00 +00:00
Jeffrey Altman
c86ae86a53 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.
2008-03-11 18:23:23 +00:00
Simon Wilkinson
ff988ead4e lwp-protoize-20080310
LICENSE IPL10

protoize lwp. make it match pthreads' idea of createprocess
2008-03-11 17:46:58 +00:00
Jeffrey Altman
9473128eb3 windows-lwp-proto-20080311
LICENSE IPL10

Fix breakage caused by recent lwp prototyping.
2008-03-11 17:00:18 +00:00
Derrick Brashear
cadbebc2e5 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?
2008-03-10 18:50:47 +00:00
Jeffrey Altman
2cee2d88a8 windows-client-config-misc-dlg-20080310
LICENSE MIT

The Daemon and Server Threads fields were swapped.
2008-03-10 18:16:29 +00:00
Simon Wilkinson
b7fb842b1c keyring-updated-20080310
LICENSE IPL10

revise keyring patch to avoid detection problems with keyring_type_key
2008-03-10 16:44:16 +00:00
Derrick Brashear
9959232682 hpux-param-updates-20080310
LICENSE IPL10

based on suggestion from cg2v@andrew.cmu.edu
2008-03-10 16:22:12 +00:00
Jeffrey Altman
5f6546ecbb 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.
2008-03-09 15:21:39 +00:00
Jason Edgecombe
6e18cd4108 man-page-afsd-afsdb-20080308
LICENSE BSD
FIXES 89288 89289

Reference RFC 1183 in the AFSDB documentation.
2008-03-09 05:57:29 +00:00
Simon Wilkinson
84a928ddd4 pt-util-com-err-20080308
LICENSE IPL10

prototype afs_error_message() to ensure correct behavior on 64-bit
systems with 32-bit int.
2008-03-09 01:40:14 +00:00
Jeffrey Altman
cdd1e8b878 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.
2008-03-08 23:38:08 +00:00
Jeffrey Altman
f94e0d5688 windows-config-20080308
LICENSE MIT

raise the daemon count to 4 now that we have a means of avoiding
contention

raise the tracebufsize to 10000 entries
2008-03-08 23:31:52 +00:00
Jeffrey Altman
801b670734 windows-syscfg-getifinfo-20080308
LICENSE MIT

syscfg_GetIFInfo() obtains the current list of IP addresses.
Its a really expensive operation.  Call the function once
and cache the data until the next IP address change instead
of calling it everytime we receive a WhoAreYou or construct a
new server object.  Adds a new global rw lock, cm_syscfgLock
2008-03-08 23:23:48 +00:00
Jeffrey Altman
27008912ec windows-scache-20080308
LICENSE MIT

do not discard data buffers we wish to keep
2008-03-08 23:17:45 +00:00
Jeffrey Altman
c32f5466f0 windows-performance-deadlock-20080308
LICENSE MIT

correct a deadlock when calling HaveCallback
2008-03-08 23:15:54 +00:00
Jeffrey Altman
694202f29e windows-cm-callback-remove-call-mutex-hold-20080308
LICENSE MIT

Remove all of the code in #ifdef HOLD_CALL_MUTEX as we no longer
use it.
2008-03-08 15:43:45 +00:00