Commit Graph

4900 Commits

Author SHA1 Message Date
Steven Jenkins
9fbbc3f50c pthreaded-ubik-20080402
LICENSE IPL10

add pthreaded ubik and various binaries
2008-04-02 20:47:27 +00:00
Marc Dionne
93c326ef08 linux-flush-compare-20080402
LICENSE IPL10

because i let this slip out like this. sigh.
2008-04-02 19:19:57 +00:00
Harald Barth
31d06c78b2 linux-flush-unlock-20080402
LICENSE IPL10

because i let this slip out like this. sigh.
2008-04-02 14:08:19 +00:00
Tom Keiser
5fe4de574d salvageserver-init-handler-lock-20080401
LICENSE IPL10

init lock
2008-04-01 21:28:05 +00:00
Derrick Brashear
0faa1e0412 tsalvaged-clean-20080401
LICENSE IPL10

make clean target work here
2008-04-01 21:15:46 +00:00
Derrick Brashear
48838bab91 vol-osi-assert-20080401
LICENSE IPL10

undo the old windows afs assert undoing
2008-04-01 21:05:19 +00:00
Derrick Brashear
695d1aa896 aklog-debug-text-dont-deref-null-ptr-20080401
LICENSE IPL10

yeah, this is sort of dumb
2008-04-01 19:15:29 +00:00
Simon Wilkinson
3f54c934b9 aklog-tidyup-20080401
LICENSE IPL10
FIXES 92643

remove windows code (osolete) from unix branch
do other minor cleanup
2008-04-01 18:44:28 +00:00
Derrick Brashear
94aa281af8 vlserver-checksignal-returns-voidstar-20080401
LICENSE IPL10
FIXES 92662

CheckSignal returns void*, don't try to return an int directly.
2008-04-01 17:49:42 +00:00
Tom Keiser
9bdb8599c0 synvageserver-no-rx-server-refs-20080401
LICENSE IPL10
FIXES 92648

remove reference to rx service mutex and thread tracking. we need to ensure there's nothing else either but this is true now
2008-04-01 15:09:54 +00:00
Jason Edgecombe
4bcb7d01b2 man-page-vos-shadow-20080331
LICENSE BSD

Man page for vos shadow.
2008-04-01 07:50:28 +00:00
Mike Meffie
a26d7f1403 test-updates-20080331
LICENSE IPL10

update tests directory
2008-03-31 16:54:14 +00:00
Jeffrey Altman
99a29903c8 windows-aklog-cross-cell-20080330
LICENSE MIT

report the new ID after a successful cross cell registration
2008-03-30 17:19:01 +00:00
Jeffrey Altman
2169423f68 windows-aklog-robustness-20080330
LICENSE MIT

Fix the order of parameters to strncpy

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

Fix the order of parameters to strncpy

Add error checking to all krb5 functions.

Initialize the global ccache variable to NULL.
2008-03-30 15:10:05 +00:00
Jeffrey Altman
aff582765a windows-vlserver-makefile-20080329
LICENSE MIT

make references to INCFILEDIR consistent
2008-03-30 05:16:17 +00:00
Jeffrey Altman
c6897cee01 windows-use-client-realm-for-tokens-20080329
LICENSE MIT

Two recent changes to the AFS/Kerberos landscape have been causing
problems for aklog and related modules.  First, the support for multiple
local realms for the cell has broken the pts auto-registration code
when the realm used for the token acquisition does not match the
realm belonging to the selected vldb server.  Second, Kerberos referrals
prevents detection of the realm of the vldb server.

This commit adds a new method of searching for the afs service principal.
The first attempt is for afs/<cell>@<CLIENT-REALM>.  If found, the
<CLIENT-REALM> is used as the realm of the cell.

The patch adds error handling for KRB5_ERR_HOST_REALM_UNKNOWN which is
returned when krb5_get_host_realm() can't determine the realm.

Duplicate queries are also avoided and copy_realm_of_ticket() is
properly employed.
2008-03-30 04:30:52 +00:00
Tracy Di Marco White
07d806845e nbsd-update-20080328
LICENSE IPL10
FIXES 92073

fix nbsd30 param file, add nbsd40 param file
2008-03-28 17:11:19 +00:00
Jeffrey Altman
b2e3e64275 windows-freelance-20080328
LICENSE MIT

1. return CM_ERROR_NOSUCHFILE when attempting to remove a symlink or
   mount point that does not exist

2. When adding a new symlink or mountpoint, be sure to increment the
   number of local mount points

3. When re-initializing the fake root.cell the unique value is always
   one, not two.  Use cm_FidCmp() to compare fids.  The use of the
   value two prevented the invalidation of existing values because all
   of the directory entries are created with the unique set to one.
2008-03-28 14:01:03 +00:00
Derrick Brashear
be49dbe891 pinstall-collateral-damage-20080327
LICENSE IPL10

it's really easy to get into install-sh relative path hell. work around it.
2008-03-28 04:41:00 +00:00
Douglas Engert
e002118066 krb5-klog-solaris-krb-20080327
LICENSE IPL10
FIXES 91573

no krb5_mcc_ops on solaris krb5. cope
2008-03-27 18:48:22 +00:00
Derrick Brashear
87e959e87d ptutil-swap-epoch-version-as-needed-20080327
LICENSE IPL10
FIXES 90869

do byteswapping of epoch and version so we print and compare sensibly
2008-03-27 18:39:57 +00:00
Derrick Brashear
7c05046f1f volser-higher-thread-limit-20080327
LICENSE IPL10

with tvolser we can increase this and actually *see benefit*, so...
2008-03-27 16:20:29 +00:00
Alistair Ferguson
6c9647cc61 dafs-vshutdown-match-id-to-params-20080327
LICENSE IPL10

we track shutdown thread parms as index rather than device; deal correctly
2008-03-27 16:16:02 +00:00
Chas Williams
1cf6c12a07 linux-dont-flush-writes-on-exec-20080326
LICENSE IPL10
FIXES 17509

because of when fds are NULL'd in file_table this should work except when one process has the same file open for read and for write in different FDs; otherwise, the last write fd to close collects the error.
2008-03-26 04:16:51 +00:00
Marc Dionne
3f8be40525 linux-restore-iget-cachemgr-20080326
LICENSE IPL10
FIXES 88000

restore the d_alloc_anon we need
2008-03-26 04:10:26 +00:00
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