Commit Graph

4439 Commits

Author SHA1 Message Date
Jason Edgecombe
8761673c60 man-page-afsd-crypt-alias-20070805
Complete the documentation of the afsd flags and update a few things like
-settime and -nosettime.  Add man pages for fs setcrypt, fs getcrypt, and
CellAlias.  Based on work by Jason Edgecombe and then extensively edited,
so any errors I probably introduced.
2007-08-05 22:01:42 +00:00
Asanka Herath
9353e122a3 windows-local-directory-updates-smb-20070802
The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server.   As the directory size increases, the clock
time necessary to perform the reload increases.

This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c.  It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:

 1. the data version on the directory as a result of the change
    was incremented by one.

 2. all of the directory buffers required for the update are in
    the cache.

If these conditions are not met, the directory is reloaded from the file
server.
2007-08-02 22:05:39 +00:00
Jeffrey Altman
ac5346c370 windows-no-more-infinite-recursion-20070802
FIXES 15855

In cm_NameI, keep track of what fids were crossed when evaluating the
path.  If we discover a loop return a CM_ERROR_TOO_MANY_SYMLINKS error.

This resolves the complaint that when infinite loops are hit in the afs
name space the afsd_service.exe process uses 100% of the CPU.
2007-08-02 21:57:38 +00:00
Asanka Herath
c4047f6cb5 windows-local-directory-updates-20070802
The windows cache manager has suffered from poor performance as a result
of Create, Rename, and Delete operations because they invalidate the
contents of the directory pages in the cache thereby forcing them to be
reloaded from the file server.   As the directory size increases, the clock
time necessary to perform the reload increases.

This delta adds support for parsing and updating the AFS3 directory buffers
to cm_dir.c.  It then uses that functionality to perform local updates to
the directory buffers whenever the following conditions are met:

 1. the data version on the directory as a result of the change
    was incremented by one.

 2. all of the directory buffers required for the update are in
    the cache.

If these conditions are not met, the directory is reloaded from the file
server.
2007-08-02 21:52:54 +00:00
Jeffrey Altman
10b76dffa0 windows-do-not-expire-cbs-when-servers-are-down-20070802
if all of the servers are down when a callback is due to expire
delay the expiration until at least one server is available.
this prevents some applications that are running when the CM
is off the network from failing if their pages are swapped out.
2007-08-02 21:44:54 +00:00
Jeffrey Altman
4d75b4758e windows-libafsrpc-20070802
use bg-fcrypt in libafsrpc.dll which is used by the CM
2007-08-02 06:20:08 +00:00
Jeffrey Altman
4b8db9f211 rxkad-bg-fcrypt-unbreak-windows-20070731
i (derrick) broke everything. fix it.
2007-07-31 23:19:15 +00:00
Derrick Brashear
ece19eefbe viced-avoid-tying-up-all-threads-20070730
FIXES 19461

implement a thread quota.
2007-07-30 14:17:27 +00:00
Derrick Brashear
a608cd2e24 darwin-avoid-fsref-panic-maybe-20070728
maybe this works.
2007-07-28 15:31:44 +00:00
Jeffrey Altman
840ad12eb3 windows-fs-20070727
return error when GetCell fails
2007-07-28 04:03:58 +00:00
Jeffrey Altman
0ba1a62757 windows-rdrtimeout-20070727
RDRtimeout is seconds.  need to convert to milliseconds for comparison
2007-07-28 03:50:23 +00:00
Jeffrey Altman
d7d12d7c9b windows-client_config-20070727
FIXES 66302

change text of error message to indicate that the user is not a member
of the AFS Administrators Group instead of not being a Windows administrator.
2007-07-27 16:40:44 +00:00
Steven Jenkins
b741b29b4b man-page-demand-attach-20070726
Document additional bos flags for the demand attach file server.
2007-07-26 21:53:42 +00:00
Jason Edgecombe
2367c273bb man-page-updates-20070726
FIXES 65988

Mention aklog and kinit in klog's man page, add -dynroot to the afsd man
page, and mention that -skipauth tells uss not to create any Kerberos
principal and this has to be done separately.
2007-07-26 21:46:46 +00:00
Derrick Brashear
ed13fac911 md5inum-md5-clobbers-input-20070726 2007-07-26 18:04:21 +00:00
Jeffrey Altman
8ba66b7ff5 windows-afsd-ubik-20070722
not currently in use but replace ubik_Call(FOO,...) with ubik_FOO(...)
2007-07-23 00:09:06 +00:00
Derrick Brashear
16b32c1345 volser-directoryless-incremental-dumps-20070719
add an rpc, give vos a switch, allow incrementals which do not include directory objects
2007-07-19 19:51:55 +00:00
Jeffrey Altman
960ac913a4 windows-afs-svrmgr-20070719
uninitialized variable removal
2007-07-19 16:55:44 +00:00
Derrick Brashear
58d6f0b42a viced-assert-less-20070719
in don't assert for every silly thing
2007-07-19 16:14:20 +00:00
Derrick Brashear
91fee8a699 viced-no-nulluuid-20070719
a host with a zero uuid has no uuid support
2007-07-19 16:09:50 +00:00
Derrick Brashear
c010052699 kill-more-ubikcall-20070719
tested more ubik call death, so, byebye
2007-07-19 16:00:20 +00:00
Derrick Brashear
982f455deb vos-validate-dumpfile-20070719
based on code from jon nials
validate a dumpfile as being complete (look for end of dump signature)
2007-07-19 15:55:39 +00:00
Cesar Garcia
ef76695bb9 libadmin-deubikcall-cleanup-20070718
remove bogus extra arg
2007-07-18 15:21:12 +00:00
Jeffrey Altman
397cd0c3b8 windows-pioctl-20070718
cm_dir.h depends on cm_buf.h
2007-07-18 14:02:59 +00:00
Jeffrey Altman
a8b270d5a3 windows-single-dir-search-not-bulk-20070718
the single directory search routine used when there are no wildcards
does not perform a bulk stat operation.  do not set the flag on the
cm_scache_t.
2007-07-18 13:07:46 +00:00
Derrick Brashear
5e8227cd5e fs-state-only-in-dafs-20070717
FIXES 65681

only in dafs. oops.
2007-07-17 18:04:01 +00:00
Jeffrey Hutzelman
65c1b37f15 osi-probe-check-readable-20070717
FIXES 63971

avoid potentially reading pges that don't exist
2007-07-17 13:15:19 +00:00
Marcus Watts
2abf6e204c bg-fcrypt-64bit-fix-20070717
instead of this arcane ifdef which is flawed, we know which platforms support 64 bit types...
2007-07-17 13:06:47 +00:00
Russ Allbery
7fb5e02ff4 sparc32-no-ucontext-20070716
Undefine USE_UCONTEXT on sparc32 Linux since glibc doesn't implement
getcontext/setcontext for that architecture.
2007-07-17 04:46:25 +00:00
Derrick Brashear
f489b05a1c sparc32-no-getcontext-20070716
implement ptr_mangle for sparc32
2007-07-17 04:10:18 +00:00
Eric Sturdivant
5662cd310b xbsa-54-solaris-cplusplus-fun-20070716
FIXES 65588

deal with change to c++ xbsa library
2007-07-16 21:40:45 +00:00
Jeffrey Altman
82cb8884c8 libadmin-ubik_call-20070715
replace all calls to ubik_Call(FOO, ...) with ubik_FOO(...)

correct the incorrect parameter lists for ubik_FOO()
2007-07-16 00:58:52 +00:00
Derrick Brashear
a818f2d6b6 aix-aklog-lam-plugin-20070713
allow aklog equivalent from lam
2007-07-13 20:53:58 +00:00
Derrick Brashear
7aa5f7ad8b suser-aix-macro-20070712
can't use ifdefs inside the macro...
2007-07-12 19:10:05 +00:00
Derrick Brashear
1e86d1f3cc demand-attach-init-fsstate-rwlock-20070712
the rwlock needs to be initd before use
2007-07-12 09:28:26 +00:00
Douglas Engert
e13f8859a0 aklog-deal-without-524-20070711
patch in a way of dealing with no krb524
2007-07-11 05:29:36 +00:00
Rainer Toebbicke
73087bd4be pagsh-krb5-20070710
FIXES 54621

clean up the environment
2007-07-10 21:27:59 +00:00
Derrick Brashear
28208c9a24 linux-register-fs-deal-with-error-20070709
deal with other people who think they are afs.
2007-07-09 20:58:57 +00:00
Chaskiel M Grundman
d8457dd359 sparc-linux-des-alignment-20070709
seems like compilers really hate des. it should would be nice to euthanize this.

it's a shame there's no simple license-friendly des library to use
2007-07-09 20:14:09 +00:00
Jeffrey Altman
90bc0a7f31 windows-give-up-callbacks-20070707
don't try so hard to give up all callbacks.  If the server doesn't
respond in 10 seconds, too bad!

cleanup the server probe code a bit.  reorganize the code so that we
can avoid unnecessary pointer evaluation.  add a missing include file.
2007-07-07 14:36:59 +00:00
Jeffrey Altman
5e29856f7a windows-afsd-misc-20070706
* Do not give back callbacks to down servers

* Output more cm_scache_t data in afsd_alloc.log

* call VolStatus_Service_Stopped after the service has stopped
2007-07-07 00:20:38 +00:00
Marcus Watts
62bf68f4ba budb-ol_verify-20070706
FIXES 53210

fixes a missing pointer declaration that would presumably
break on 64-bit architectures.
2007-07-06 12:37:01 +00:00
Jeffrey Hutzelman
600a20f5a2 cellservdb-20070705
GCO Public CellServDB 05 Jul 2007
2007-07-06 00:44:35 +00:00
Jeffrey Altman
2b9525fe9e windows-volume-status-plugin-20070705
This delta adds an interface to an optional volume status handler.
The handler (if provided) receives status updates when volumes
change state between online, offline, busy, and alldown.
2007-07-05 20:21:19 +00:00
Jeffrey Altman
01184d053a windows-license-translation-20070705
replace GlobalAlloc with malloc.  initialize memory and consider the
inability to read the entire input file as an error.
2007-07-05 16:54:48 +00:00
Jeffrey Altman
1027ca87a7 windows-heap-corruption-20070703
fix buffer over write error introduced since 1.5.20
2007-07-03 15:11:35 +00:00
Derrick Brashear
35a2fe01dd macos-no-default-memcache-20070703
this should be leopard only memcache for now
2007-07-03 15:01:19 +00:00
Derrick Brashear
a5815643fc des-p-temp-volatile-20070703
make des work again on powerpc darwin and possibly elsewhere
2007-07-03 05:21:55 +00:00
Jeffrey Altman
8edfefbb9d windows-get-cellinfo-afsdb-20070702
enable afsdb records for get cellinfo lookup outside of afsd_service.exe

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

do not perform afsdb lookup for Freelance.Local.Root cell
2007-07-03 01:33:47 +00:00
Dan Hyde
a41d0af021 volser-delete-clone-not-source-20070702
FIXES 64268

fixes a bug in the UV_CopyVolume2 cleanup code. Without
this patch, the cleanup code will delete the source volume.
2007-07-02 18:05:04 +00:00