Commit Graph

4314 Commits

Author SHA1 Message Date
Jason Edgecombe
fb1cc324a4 man-page-vos-changeloc-more-20070817
Mention vos changeloc in the vos man page.  Also include an incidental fix
to pts source's man page.
2007-08-18 03:28:54 +00:00
Jason Edgecombe
dc5adbeaac man-page-vos-changeloc-20070817
Add a man page for vos changeloc.
2007-08-18 03:24:24 +00:00
Jason Edgecombe
024442b020 man-page-fs-updates-20070817
Add man pages for fs flushall and fs getcalleraccess.
2007-08-18 02:05:42 +00:00
Jason Edgecombe
815ac3c773 man-page-bos-util-20070817
Add a man page for bos_util.
2007-08-18 01:41:39 +00:00
Jason Edgecombe
87efbab4e8 man-page-updates-20070817
Add new man pages for pts interactive, quit, sleep, and source.  Fix POD
errors in a few other man pages and update the to-do list in README.
2007-08-18 00:35:44 +00:00
Jason Edgecombe
a8172fca24 man-page-check-pod-20070817
Add check-pod script to test for POD syntax errors.
2007-08-17 20:57:20 +00:00
Derrick Brashear
25ace7c2c7 aix-dont-use-root-vfs-for-anything-20070815
the cache may not be in /; we basically never need rootvfs
2007-08-16 04:51:06 +00:00
Jeffrey Altman
b20488de08 windows-fs-utils-prototypes-20070813
use ANSI prototypes and function declarations
2007-08-13 20:20:31 +00:00
Jeffrey Altman
35f91f1203 windows-service-manager-20070812
provide the windows service manager with shutdown hints in addition
to startup hints
2007-08-13 03:52:21 +00:00
Jeffrey Altman
a9e7bedcc9 viced-dafs-20070812
include viced_prototypes.h
2007-08-13 03:25:33 +00:00
Jeffrey Altman
c677b79931 windows-remove-is5-20070812
remove last trace of InstallShield5 from build rules
2007-08-13 03:11:55 +00:00
Jeffrey Altman
58d5f38b10 pts-20070811
remove SUPERGROUPS condition for compilation of pts commands:
  Interactive, Quit, Source, Sleep

fix the assignment of 'source' to permit it to function

rename functions to avoid conflicts with Win32 API on Windows

replace bcopy and bzero with memcpy and memset to permit compilation
on Windows

replace ubik_Call(xxx) with ubik_xxx() (testpt.c)

add -DSUPERGROUPS and map.c to NTMakefile
2007-08-12 00:39:33 +00:00
Jeffrey Altman
e7ff4185a5 windows-adjustable-block-size-20070810
New registry value "BlockSize" can be used to specify an alternative
block size.  The default is 4K.  A larger blocksize will be needed if
you want to support a 6TB cache.

Also extend the service startup timeout hint to two minutes to give
the AFS client service more time to startup successfully when the
cache is really large.
2007-08-10 21:38:20 +00:00
Jeffrey Altman
7a042f3ce4 windows-wix-20070810
add a separate description string for the 32-bit afs shell extension
2007-08-10 13:36:24 +00:00
Derrick Brashear
493cad12aa viced-cleanup-head-20070810
fix demand attach rwlock code on macos, fix host tracking code everywhere

only applies to head and 1.5
2007-08-10 05:11:35 +00:00
Jeffrey Altman
25a64a7eb2 windows-aklog-20070809
correct an error message
2007-08-09 23:53:07 +00:00
Rainer Toebbicke
6811175f37 64bit-ticket-file-20070809
fix the ticket files we write on 64 bit
2007-08-09 15:56:51 +00:00
Jeffrey Altman
377689b39a windows-dirty-buffer-optimization-20070808
when storing dirty buffers only store the bytes that are dirty

increase the default chunksize from 128KB to 1MB

remove OVERLAPPED field from cm_buf_t.  It was unused.

add a dummy pointer in order to ensure data structure compatibility
between the checked and release builds.
2007-08-09 06:33:17 +00:00
Jeffrey Altman
d51feff4b2 viced-hash-20070808
(1) fixes a bug that could cause a 'host' structure to not be removed
from the global host list if the 'host' did not possess an interface
list. This would happen with older AFS clients that do not support the
WhoAreYou family of RPCs. Windows clients older than 1.3.80 and old
Transarc UNIX clients.

(2) fixes a bug which could result in ViceLog being called with an
uninitialized 'hoststr' buffer as a parameter.

(3) ensures that only addresses known to belong to the 'host' are
added to the address hash table.  The list of addresses provided by
the client are stored as alternates and are only used when searching
for a client that is no longer accessible on the primary address.
These addresses are not stored in the address hash table within
initInterfaceAddr_r().

The addresses provided by the client should not be added to the hash
table because they have not been verified as belonging to the 'host'
that provided them.  The contents of the list may in fact be completely
unreliable.  Consider the existing UNIX clients that generate the list
at startup and never alter it even after the client has migrated to a
different network.  If two client's both claim the same address,
lookups by address may fail to find the correct one.

a. The client list might contain private address ranges which
are likely to be re-used by many clients allocated addresses
by a NAT.

b. The client list will not include any public addresses that
are hidden by a NAT.

c. Private address ranges that are exposed to the server will
be obtained from the rx connections that use them.

d. Lists provided by the client are not necessarily truthful.
Many existing clients (UNIX) do not refresh the IP address
list as the actual assigned addresses change. The end result
is that they report the initial address list for the lifetime
of the process. In other words, a client can report addresses
that they are in fact not using. Adding these addresses to
the host interface list without verification is not only
pointless, it is downright dangerous.

e. The reported addresses do not include port numbers and
guessing that the port number is 7001 does not work when
port mapping devices such as NATs or some VPNs are in
use.

(4) improves logging to ensure that all references to a 'host' structure
report both a memory address and the IP address/port. this will avoid
confusion *if* more than one 'host' structure is assigned the same
primary address.

(5) logs the UUID along with the client addresses when initializing the
host's interface list. (level 125)

(6) saves memory by using a smaller structure for the UUID hash table
2007-08-08 17:30:20 +00:00
Rainer Toebbicke
f099df38b2 viced-multi-probe-addr-20070808
FIXES 67355

MultiProbeAlternateAddress_r badly indexes the list of interfaces for
clients with multiple IP interfaces, resulting in peers with IP
address 0 port 0 to be created. This in turn results in rxi_sendmsg
errors (on systems where caught early, as on Linux, on others it may
pass unnoticed).
2007-08-08 16:53:17 +00:00
Jeffrey Altman
8c69510d92 windows-afsd-uninit-vars-20070806
FIXES 67126

ensure the connp is set to NULL in case of error
2007-08-07 05:00:06 +00:00
Jason Edgecombe
87d2f5cd3f man-page-vos-size-20070805
Add a new man page for vos size.
2007-08-05 22:58:35 +00:00
Jason Edgecombe
e7742db31f 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.
2007-08-05 22:38:10 +00:00
Jason Edgecombe
95cfc0cfaf 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.
2007-08-05 22:16:47 +00:00
Russ Allbery
e735ef962d man-page-style-20070805
Some style fixes and some additional style documentation in README.
2007-08-05 22:08:22 +00:00
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