5031 Commits

Author SHA1 Message Date
Jeffrey Altman
a6ef7fed73 windows-cache-version-20080421
LICENSE MIT

increase the cache version because the cm_volume_t data structure was modified.
2008-04-21 16:35:12 +00:00
Simon Wilkinson
0caa578a05 linux-fc9-20080419
LICENSE IPL10

add in needed changes for fc9 kernels
2008-04-19 22:55:02 +00:00
Derrick Brashear
194067be89 klog-deal-with-aix-stupidity-20080418
LICENSE IPL10

aix krb5 is broken. deal.
2008-04-18 21:49:45 +00:00
Derrick Brashear
2a0f8bfda8 ppc64-linux-26-thread-info-20080418
LICENSE IPL10

thread_info is dead
2008-04-21 19:59:14 +00:00
Jeffrey Altman
c3eb805fc0 windows-volume-status-20080418
LICENSE MIT

A problem was discovered with cm_Analyze when serverRef instances are
marked offline.  cm_CheckOfflineVolume() was not resetting the serverRef
state.  cm_Analyze was also waiting in sleep calls when it was it is
clear that waiting would not result in a change of state.

cm_CheckOfflineVolume() was updated to always reset the serverRef state
and indicate that the volume should be considered online for the purpose
of retrying when the serverRef state is reset to srv_not_busy.

The problems identified in the MIT dev.mit.edu stress test environment
are resolved by these changes.
2008-04-18 17:43:19 +00:00
Derrick Brashear
f3056feadb klog-aix-missing-symbols-20080418
LICENSE IPL10

aix's krb5 isn't heimdal or mit. it has dangling symbols. yay!
2008-04-18 14:55:33 +00:00
Derrick Brashear
8ea0eef2d6 lwp-fix-protoize-20080418
LICENSE IPL10

make this cast correct.
2008-04-18 14:54:30 +00:00
Rainer Toebbicke
5f6b59f460 linux-fakestat-avoid-mtpt-fillin-issue-20080415
LICENSE IPL10
FIXES 93898

"It is actually the detection of a "cell" in the mount point string
which triggers the (loosely consistent) fakestat handling - it's
treated like a foreign cell and the mount point is never "completely
evaluated", i.e. logically replaced by the root directory of the
volume in question. As a result, callbacks are ignored, as they go
against the directory and not the mount point."
2008-04-15 13:29:20 +00:00
Jeffrey Altman
4440b9a612 windows-volume-20080414
LICENSE MIT

1. Convert cm_volume_t mutex to a rwlock (rw).

2. Don't hold cm_volume_t lock across RPCs

3. Add CM_VOLUMEFLAG_UPDATING_VL flag to prevent multiple threads
   from performing volume update calls at the same time on the same
   volume set.

4. Convert the .rw, .ro, and .bk cm_vol_state_t members of cm_volume_t
   to an array of cm_vol_state_t members indexed using the pre-existing
   RWVOL, ROVOL and BACKVOL preprocessor symbols.  This will permit
   consolidation of code and make it easier to add new volume types
   to the volume set in the future.
2008-04-14 22:32:27 +00:00
Derrick Brashear
7936739f44 volser-prototype-include-fix-20080414
LICENSE IPL10

so tvolser can build again
2008-04-14 21:25:41 +00:00
Jeffrey Altman
7bfe889eb2 windows-freelance-20080411
LICENSE MIT

Do not set the DV on the rootSCachep because doing so disables
the use of MergeStatus().

Do not remove the rootSCachep from the hash table because doing
so makes causes a second cm_scache_t object for that fid to be created
that is not the root.
2008-04-11 18:44:47 +00:00
Jeffrey Altman
40d41c191b vos-noresolve-option-20080410
LICENSE MIT

Add a -noresolve option to all vos commands.  This permits the display
of servers by IP address instead of DNS name.  Very useful when 127.0.0.1
is registered as the server address or when trying to eliminate
multi-homed addresses.
2008-04-10 18:50:49 +00:00
Simon Wilkinson
fab6653cf7 void-return-casts-20080409
LICENSE IPL10

do apporpriate casts for void returns to placate irix cc
2008-04-09 17:39:36 +00:00
Jeffrey Hutzelman
7faf596b43 linux-nfstrans-avoid-access-deadlock-20080409
LICENSE IPL10

avoid deadlocking in access while we're already holding locks as filldir is doing its work
2008-04-09 14:38:47 +00:00
Asanka Herath
494568ea92 windows-nsis-vs2005-20080409
LICENSE MIT

Add support for building with VS2005 Runtime Libraries.
For the release build use the vcredist_<arch>.exe package.
For the debug build, build an msi from the merge modules
and then install that package.
2008-04-09 05:34:22 +00:00
Simon Wilkinson
1495088e41 redhat-spec-updates-20080408
LICENSE IPL10
FIXES 93616

update to correctly fill in specfile from source tree
2008-04-08 19:35:51 +00:00
Jeffrey Altman
0d2e36cac8 windows-strlwr-cellname-20080407
LICENSE MIT

cellnames are case insensitive and by convention they are lowercased.
2008-04-07 15:19:10 +00:00
Jeffrey Altman
c108d606f5 windows-freelance-three-20080407
LICENSE MIT

deliver notification events to watchers when adding mount points or
symlinks to the freelance root.afs volume.
2008-04-07 15:16:48 +00:00
Jeffrey Altman
8f57819a99 windows-freelance-two-20080407
LICENSE MIT

do not add the scp into the hash table twice.
2008-04-07 07:00:16 +00:00
Jeffrey Altman
a642541b96 windows-freelance-20080407
LICENSE MIT

When freelance symlinks and mountpoints were modified the target string
value was not being updated and the old data was not being invalidated.
2008-04-07 06:42:44 +00:00
Marc Dionne
c7ee4828e0 linux-no-syscall-probe-with-no-init-mm-20080406
LICENSE IPL10
FIXES 88000

no better idea for this, got to do something... push this for now
2008-04-07 04:48:45 +00:00
Jeffrey Altman
ef19cea44c windows-fid-hash-20080406
LICENSE MIT

1. During the conversion to hash based FID comparisons the cm_GetSCache()
   lookups from the cm_ioctl.c (CM_IOCTL_QOPTS_HAVE_FID) and from FIDs
   returned by cm_LookupSearchProc() were broken.

2. In cm_LookupInternal(), ensure that an error is returned if rock.found
   is FALSE.  A failure to return an error was resulting in cm_GetSCache()
   producing an object for FIDs with vnode=0,unique=0

3. cm_GetSCache(), remove the warning check for vnode=0,unique=0

4. reapply the synchronization logic to async store requests in cm_SyncOp().
   The lack of synchronization is causing requests to complete out of order
   which is confusing the SMB redirector when under heavy load.
2008-04-06 14:33:12 +00:00
Derrick Brashear
5dd7e65c6f revert-ubik-changes-20080405
LICENSE IPL10

these changes are unneeded; remove them
2008-04-05 19:02:59 +00:00
Kevin McBride
5640c4a1b5 volser-preclude-alternate-partition-clones-20080404
LICENSE IPL10

patch based on work from shadow@dementia.org

the idea is to preclude multiple copies of a volume replica on a server,
as there's nothing to indicate which copy is correct and you can end up serving
stale data when you think you've just released and are serving something good
2008-04-04 20:58:35 +00:00
Derrick Brashear
e62727e328 tubik-more-makefile-fun-20080404
LICENSE IPL10

kill off library name reuse
2008-04-04 16:39:53 +00:00
Derrick Brashear
ece59f688a tubik-head-makefile-compat-20080403
LICENSE IPL10

match new style install stuff
2008-04-03 17:58:11 +00:00
Kevin McBride
65e701fee4 tubik-vos-20080403
LICENSE IPL10

build pthreaded vos
2008-04-03 17:41:12 +00:00
Derrick Brashear
5f67c56945 tubik-20080403
LICENSE IPL10

avoid bogus dependency here too
2008-04-03 15:20:41 +00:00
Derrick Brashear
bc1a7f1ee8 tubik-one-more-20080402
LICENSE IPL10

handle the rest of the issues
2008-04-03 04:54:34 +00:00
Derrick Brashear
3316136038 tubik-makefiles-fun-20080402
LICENSE IPL10

these fixes brought to you by delicious beer.
2008-04-03 02:20:25 +00:00
Derrick Brashear
ec02ff4342 tubik-makefile-fixes-20080402
LICENSE IPL10

don't use gmake macros. ick
2008-04-02 22:45:05 +00:00
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