4288 Commits

Author SHA1 Message Date
Jason Edgecombe
a79c66c796 DEVEL15-man-page-vos-size-20070805
Add a new man page for vos size.


(cherry picked from commit 87d2f5cd3f1e370f6daf6b6170e00f156644315a)
2007-08-06 00:41:53 +00:00
Jason Edgecombe
c2f1cbb883 DEVEL15-man-page-fs-newalias-20070805
Add a new fs newalias man page.  Add -help to the synopsis and options of
the other new man pages.  Add additional missing links in the fs man page.
Fix some wording in the CellAlias man page.


(cherry picked from commit e7742db31f68acf2d227c13840e0a0ed9291d247)
2007-08-06 00:38:42 +00:00
Jason Edgecombe
3eb7d8e531 DEVEL15-man-page-fs-listaliases-20070805
Add manual page for fs listaliases.  Also add the links in the fs(1) man
page and update README more for the current to-do list.


(cherry picked from commit 95cfc0cfafe5c0a3f9f8ff07cb3c2be29fe9e3fc)
2007-08-06 00:33:33 +00:00
Russ Allbery
4aaa1b9321 DEVEL15-man-page-style-20070805
Some style fixes and some additional style documentation in README.


(cherry picked from commit e735ef962de3623f8fa11cca92d13151d62b5aaa)
2007-08-06 00:19:31 +00:00
Jason Edgecombe
ac88856682 DEVEL15-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.


(cherry picked from commit 8761673c608986d32bb858b26441b09c24f41696)
2007-08-05 23:10:41 +00:00
Asanka Herath
5d4f74d06f DEVEL15-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.


(cherry picked from commit 9353e122a33044df752e61de95f155f63876f0a2)
2007-08-02 22:06:39 +00:00
Jeffrey Altman
e388222c89 DEVEL15-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.


(cherry picked from commit ac5346c3703e199eaabf8eeb7e156e42644092c4)
2007-08-02 21:58:42 +00:00
Asanka Herath
5c8662827c DEVEL15-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.


(cherry picked from commit c4047f6cb52927890329b09669b1a2686ace6059)
2007-08-02 21:53:51 +00:00
Jeffrey Altman
9ecb8060b0 DEVEL15-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.


(cherry picked from commit 10b76dffa0ece0cca898637a00d34b27809b9eb9)
2007-08-02 21:46:12 +00:00
Jeffrey Altman
bf36f51339 DEVEL15-windows-libafsrpc-20070802
use bg-fcrypt in libafsrpc.dll which is used by the CM


(cherry picked from commit 4d75b4758e70d42999bc6605971f606b03127bc9)
2007-08-02 06:21:36 +00:00
Jeffrey Altman
06166c3d5e DEVEL15-rxkad-bg-fcrypt-unbreak-windows-20070731
i (derrick) broke everything. fix it.


(cherry picked from commit 4b8db9f2119de86b9e52e947cc5708d89dbcc3f5)
2007-07-31 23:20:59 +00:00
Derrick Brashear
6555a03efc DEVEL15-viced-avoid-tying-up-all-threads-20070730
FIXES 19461

implement a thread quota.


(cherry picked from commit ece19eefbe46400e1c28834570deed7294761167)
2007-07-30 14:19:02 +00:00
Derrick Brashear
4fea03152f DEVEL15-darwin-avoid-fsref-panic-maybe-20070728
maybe this works.


(cherry picked from commit a608cd2e24e50026c36148eb357c03d583384dde)
2007-07-28 15:33:26 +00:00
Jeffrey Altman
6f43d7dac8 DEVEL15-windows-fs-20070727
return error when GetCell fails


(cherry picked from commit 840ad12eb3f2f5b35a37d876aef93c01a0bea3d3)
2007-07-28 04:04:37 +00:00
Jeffrey Altman
1c12098057 DEVEL15-windows-rdrtimeout-20070727
RDRtimeout is seconds.  need to convert to milliseconds for comparison


(cherry picked from commit 0ba1a6275755e7df19cab1cf20fb1b7aaf176c61)
2007-07-28 03:51:16 +00:00
Steven Jenkins
6be1398ace DEVEL15-man-page-demand-attach-20070726
Document additional bos flags for the demand attach file server.


(cherry picked from commit b741b29b4b1272ceb4081f7ab25e556e6513d7e5)
2007-07-27 19:07:43 +00:00
Jason Edgecombe
74114211ff DEVEL15-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.


(cherry picked from commit 2367c273bbfd3cbecc72b770ede579e60da153e2)
2007-07-27 19:00:25 +00:00
Jeffrey Altman
0b06901cc1 DEVEL15-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.


(cherry picked from commit d7d12d7c9b9cec32d4415b9d7bf1058d99d63d14)
2007-07-27 16:41:53 +00:00
Derrick Brashear
ceb999737a DEVEL15-md5inum-md5-clobbers-input-20070726
(cherry picked from commit ed13fac9114d3743ca1d448d3bce7f9d43bf4f5a)
2007-07-26 18:05:40 +00:00
Jeffrey Altman
133944297f DEVEL15-windows-afsd-ubik-20070722
not currently in use but replace ubik_Call(FOO,...) with ubik_FOO(...)


(cherry picked from commit 8ba66b7ff5f78463420bed521d0cf78f708497ed)
2007-07-23 00:10:17 +00:00
Derrick Brashear
3cf557e45e DEVEL15-volser-directoryless-incremental-dumps-20070719
add an rpc, give vos a switch, allow incrementals which do not include directory objects


(cherry picked from commit 16b32c134590fbdb13b83ea71be0579338ab8f7e)
2007-07-19 19:52:14 +00:00
Jeffrey Altman
f48ebc90c0 DEVEL15-windows-afs-svrmgr-20070719
uninitialized variable removal


(cherry picked from commit 960ac913a43a2fba408c08518d7114fe6b633ab5)
2007-07-19 16:56:53 +00:00
Derrick Brashear
27dea401f3 DEVEL15-viced-assert-less-20070719
in don't assert for every silly thing


(cherry picked from commit 58d6f0b42ad552972e03c75d61d90a0398adf0cc)
2007-07-19 16:15:43 +00:00
Derrick Brashear
f4ce13d367 DEVEL15-viced-no-nulluuid-20070719
a host with a zero uuid has no uuid support


(cherry picked from commit 91fee8a699e31ad825e84a4f2bd56eb9093ea85a)
2007-07-19 16:11:09 +00:00
Derrick Brashear
10b61fa959 DEVEL15-kill-more-ubikcall-20070719
tested more ubik call death, so, byebye


(cherry picked from commit c01005269959257ed5c4ecfbde176a02ee25dea3)
2007-07-19 16:01:41 +00:00
Derrick Brashear
c858fecbea DEVEL15-vos-validate-dumpfile-20070719
based on code from jon nials
validate a dumpfile as being complete (look for end of dump signature)


(cherry picked from commit 982f455debcb50d0a59b0997085e7b2e9475b604)
2007-07-19 15:56:30 +00:00
Cesar Garcia
48fbaf0e55 DEVEL15-libadmin-deubikcall-cleanup-20070718
remove bogus extra arg


(cherry picked from commit ef76695bb906c331a69356d1eb63ef00e56ea615)
2007-07-18 15:22:43 +00:00
Jeffrey Altman
36ae67ba0b DEVEL15-windows-pioctl-20070718
cm_dir.h depends on cm_buf.h


(cherry picked from commit 397cd0c3b87348d2eb642b2bb5f8a175c1d96b8e)
2007-07-18 14:03:44 +00:00
Jeffrey Altman
65f8e4e53a DEVEL15-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.


(cherry picked from commit a8b270d5a3db7a873de5cb945ccfc5c6425798f9)
2007-07-18 13:09:06 +00:00
Derrick Brashear
a566179454 DEVEL15-fs-state-only-in-dafs-20070717
FIXES 65681

only in dafs. oops.


(cherry picked from commit 5e8227cd5e73631bb925710108638b109e6e43ff)
2007-07-17 18:05:47 +00:00
Jeffrey Hutzelman
da1c5007d9 DEVEL15-osi-probe-check-readable-20070717
FIXES 63971

avoid potentially reading pges that don't exist


(cherry picked from commit 65c1b37f15e0fc7963aac9fa630613cf0d29df26)
2007-07-17 13:16:45 +00:00
Marcus Watts
40310a9fcf DEVEL15-bg-fcrypt-64bit-fix-20070717
instead of this arcane ifdef which is flawed, we know which platforms support 64 bit types...


(cherry picked from commit 2abf6e204c6f72993021a45485523aa04bca8ac2)
2007-07-17 13:08:18 +00:00
Russ Allbery
f4847bb96b DEVEL15-sparc32-no-ucontext-20070716
Undefine USE_UCONTEXT on sparc32 Linux since glibc doesn't implement
getcontext/setcontext for that architecture.


(cherry picked from commit 7fb5e02ff4d9a7fe70b2ecbfdb50065d7e6322ff)
2007-07-17 05:05:29 +00:00
Derrick Brashear
fe791d7a1f DEVEL15-sparc32-no-getcontext-20070716
implement ptr_mangle for sparc32


(cherry picked from commit f489b05a1c055f3aa8eccdbcd96f8bbcfbf466e7)
2007-07-17 04:12:36 +00:00
Eric Sturdivant
d54a412d21 DEVEL15-xbsa-54-solaris-cplusplus-fun-20070716
FIXES 65588

deal with change to c++ xbsa library


(cherry picked from commit 5662cd310b03b14d17f4443035b47126f9729207)
2007-07-16 21:42:05 +00:00
Jeffrey Altman
65e7d10ca9 DEVEL15-libadmin-ubik_call-20070715
replace all calls to ubik_Call(FOO, ...) with ubik_FOO(...)

correct the incorrect parameter lists for ubik_FOO()


(cherry picked from commit 82cb8884c8c962c7fbc3fc75f923e3dfdfc24a76)
2007-07-16 01:02:16 +00:00
Derrick Brashear
f2b48489b1 DEVEL15-linux-remove-pullup-errors-20070713
pullup script glitched.
2007-07-13 23:17:25 +00:00
Derrick Brashear
97417f2fe7 DEVEL15-aix-aklog-lam-plugin-20070713
allow aklog equivalent from lam


(cherry picked from commit a818f2d6b6dfb1538e929c74db466cbec1a1ae64)
2007-07-13 20:55:00 +00:00
Derrick Brashear
4bf8097f01 DEVEL15-suser-aix-macro-20070712
can't use ifdefs inside the macro...


(cherry picked from commit 7aa5f7ad8b50e74eba1a9f359c1c5ae44b87a016)
2007-07-12 19:12:54 +00:00
Derrick Brashear
ce744b9a82 DEVEL15-demand-attach-init-fsstate-rwlock-20070712
the rwlock needs to be initd before use


(cherry picked from commit 1e86d1f3cc8166b8303e208e3a12922d44061317)
2007-07-12 09:29:34 +00:00
Derrick Brashear
f8bd23d2b7 DEVEL15-openafs-1-5-21-20070711
make 1.5.21
openafs-devel-1_5_21
2007-07-11 05:36:12 +00:00
Douglas Engert
197ec5c232 DEVEL15-aklog-deal-without-524-20070711
patch in a way of dealing with no krb524


(cherry picked from commit e13f8859a01509a45d686972959c73be1d46e500)
2007-07-11 05:31:06 +00:00
Rainer Toebbicke
c7e392b6c2 DEVEL15-pagsh-krb5-20070710
FIXES 54621

clean up the environment


(cherry picked from commit 73087bd4bea8a15032b6d3309940ff183804a99d)
2007-07-10 21:29:34 +00:00
Jeffrey Altman
c3ada06636 DEVEL15-windows-version-20070710
1.5.21 == 1.5.2100.0
2007-07-10 21:17:28 +00:00
Jeffrey Altman
63d7de697d DEVEL15-windows-notes-20070710
more updates for 1.5.21
2007-07-10 21:01:28 +00:00
Derrick Brashear
1bb55e130a DEVEL15-linux-register-fs-deal-with-error-20070709
deal with other people who think they are afs.


(cherry picked from commit 28208c9a241b54d20eb492a2ffdd85b30b03f011)
2007-07-09 21:00:35 +00:00
Chaskiel M Grundman
366c362642 DEVEL15-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


(cherry picked from commit d8457dd359fccfc461b220061d23cf7600a95a4c)
2007-07-09 20:15:26 +00:00
Jeffrey Altman
e3721fd93d DEVEL15-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.


(cherry picked from commit 90bc0a7f3108372bfc9408127fea17d37025c9ae)
2007-07-07 14:38:33 +00:00
Jeffrey Altman
dc6c681a49 DEVEL15-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


(cherry picked from commit 5e29856f7a079fbfb7d3331a1b57414413c0a484)
2007-07-07 00:22:03 +00:00
Marcus Watts
81463e32aa DEVEL15-budb-ol_verify-20070706
FIXES 53210

fixes a missing pointer declaration that would presumably
break on 64-bit architectures.


(cherry picked from commit 62bf68f4ba952d06aa82e1607a43a72a203befd0)
2007-07-06 12:40:40 +00:00