4320 Commits

Author SHA1 Message Date
Marcus Watts
dd3ca16a4d DEVEL15-pt_util-man-page-20061005
Initial man page for pt_util.


(cherry picked from commit f5e9182848b7c427acc515e7a7ed24afad655416)
2007-08-20 06:39:53 +00:00
Jeffrey Altman
5e56549062 DEVEL15-windows-fix-recursion-detection-20070819
the recursion detection code did not take "." and ".." into account.


(cherry picked from commit 4a9d15a2e4d3e91261dfa1c9fe08f75d88fd166d)
2007-08-20 02:02:03 +00:00
Jeffrey Altman
be8b6ee3fd DEVEL15-windows-fs_utils-20070819
update prototype for util_GetInt32 for consistency with src/utils/vosparse.c


(cherry picked from commit d71d37bad8f1ce7fea59d537464d1d82ce8f2508)
2007-08-20 01:07:59 +00:00
Russ Allbery
636dc678f3 DEVEL15-no-kseal-20070819
Don't build or install kseal by default.  It's a debugging tool with very
limited utility.


(cherry picked from commit a6fe83d9a661743b11ee1eb7cc8f3f46810475da)
2007-08-19 23:30:38 +00:00
Jason Edgecombe
8299aa8a7d DEVEL15-man-page-fixes-20070819
More details on how to run check-pod.  Restore the [] markup in the vos
changeloc SYNOPSIS since the flags really are optional.


(cherry picked from commit dfb2961b677299a726be33e63b29476f003d03a7)
2007-08-19 23:20:43 +00:00
Russ Allbery
3757e9c3c4 DEVEL15-ka-forwarder-20060731
Add ka-forwarder.


(cherry picked from commit cc37bc5ae487dda611d2bf4b383b2d2cfd1ea675)
2007-08-19 23:15:28 +00:00
Jason Edgecombe
a25431ec8b DEVEL15-man-page-pts-pullup-20070817
For some reason, the previous pullup didn't cvs add these files.  Really
pull them up from the trunk.
2007-08-18 03:50:20 +00:00
Jason Edgecombe
04a7f97006 DEVEL15-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.


(cherry picked from commit fb1cc324a498908f823e3c8ceb2b2be29cc785c3)
2007-08-18 03:36:20 +00:00
Jason Edgecombe
c03b902f6c DEVEL15-man-page-vos-changeloc-20070817
Add a man page for vos changeloc.


(cherry picked from commit dc5adbeaac1548a7649ee81cb87d9eea88021b93)
2007-08-18 03:30:25 +00:00
Jason Edgecombe
5454dcadb5 DEVEL15-man-page-fs-updates-20070817
Add man pages for fs flushall and fs getcalleraccess.


(cherry picked from commit 024442b020043501f14069d762ecefbf7feef59a)
2007-08-18 02:55:31 +00:00
Jason Edgecombe
418ad19214 DEVEL15-man-page-bos-util-20070817
Add a man page for bos_util.


(cherry picked from commit 815ac3c773d9312f2abf6e7903aa3d723618485a)
2007-08-18 02:50:36 +00:00
Jason Edgecombe
70845df888 DEVEL15-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.


(cherry picked from commit 87efbab4e8c0dc37c1938503eea88f7f319b7e5d)
2007-08-18 02:46:24 +00:00
Jason Edgecombe
ec48bbc812 DEVEL15-man-page-check-pod-20070817
Add check-pod script to test for POD syntax errors.


(cherry picked from commit a8172fca24f91e2b5ab10f66d62d766b7e5d46c1)
2007-08-18 02:42:35 +00:00
Derrick Brashear
53baea3e3b DEVEL15-aix-dont-use-root-vfs-for-anything-20070815
the cache may not be in /; we basically never need rootvfs


(cherry picked from commit 25ace7c2c79705a59be4aded829aaf8d1dc003e2)
2007-08-16 04:52:33 +00:00
Jeffrey Altman
fe118e1c91 DEVEL15-windows-fs-utils-prototypes-20070813
use ANSI prototypes and function declarations


(cherry picked from commit b20488de08d230125b3110ec51fe753ef514ddb7)
2007-08-13 20:22:02 +00:00
Jeffrey Altman
3213b34972 DEVEL15-windows-service-manager-20070812
provide the windows service manager with shutdown hints in addition
to startup hints


(cherry picked from commit 35f91f1203717f8ab9f00f0914025fc6606e102d)
2007-08-13 03:53:30 +00:00
Jeffrey Altman
5254f811b0 DEVEL15-viced-dafs-20070812
include viced_prototypes.h


(cherry picked from commit a9e7bedcc91a9cb00b2cb1af80fe273fc70664f6)
2007-08-13 03:26:41 +00:00
Jeffrey Altman
feda1c6a3b DEVEL15-windows-remove-is5-20070812
remove last trace of InstallShield5 from build rules


(cherry picked from commit c677b79931efb672a439993f32571c53ce17c56e)
2007-08-13 03:13:28 +00:00
Jeffrey Altman
8917715ffd DEVEL15-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


(cherry picked from commit 58d5f38b10b35ab3712eacde60f2a06fb2f2a062)
2007-08-12 00:41:37 +00:00
Jeffrey Altman
a7731e7e42 DEVEL15-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.


(cherry picked from commit e7ff4185a5e978798b194f8214056425debc8fbc)
2007-08-10 21:39:26 +00:00
Jeffrey Altman
51fe580d00 DEVEL15-windows-wix-20070810
add a separate description string for the 32-bit afs shell extension


(cherry picked from commit 7a042f3ce4914079ade3c159a7b541445acf758b)
2007-08-10 13:37:59 +00:00
Derrick Brashear
f49f7996fc DEVEL15-viced-cleanup-head-20070810
fix demand attach rwlock code on macos, fix host tracking code everywhere

only applies to head and 1.5


(cherry picked from commit 493cad12aa00c321ad125118a9bd9b037a651863)
openafs-devel-1_5_22
2007-08-10 05:13:04 +00:00
Derrick Brashear
b21acb49cd DEVEL15-openafs-1-5-22-20070809
1.5.22
2007-08-10 04:26:53 +00:00
Jeffrey Altman
8d95fc364e DEVEL15-windows-aklog-20070809
correct an error message


(cherry picked from commit 25a64a7eb219e3946e5a45f27e14fc53d43d7fcc)
2007-08-09 23:54:07 +00:00
Jeffrey Altman
0f9afa0436 DEVEL15-windows-version-20070809
1.5.2200.0 == 1.5.22
2007-08-09 23:34:21 +00:00
Jeffrey Altman
9753a61256 DEVEL15-windows-notes-20070809
1.5.22
2007-08-09 23:31:47 +00:00
Jeffrey Altman
be61695166 DEVEL15-windows-release-notes-20070809
updates for 1.5.22
2007-08-09 16:46:17 +00:00
Rainer Toebbicke
40018560b0 DEVEL15-64bit-ticket-file-20070809
fix the ticket files we write on 64 bit


(cherry picked from commit 6811175f37ba51691556d64309d59dbff8a1a29c)
2007-08-09 15:58:23 +00:00
Jeffrey Altman
5e92758f26 DEVEL15-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.


(cherry picked from commit 377689b39a1821eb268b25cebc9e6cb1ccc0d88a)
2007-08-09 06:33:56 +00:00
Jeffrey Altman
bde9d5f9bd DEVEL15-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


(cherry picked from commit d51feff4b2c79fb25666559abbb007823d938d57)
2007-08-08 17:31:25 +00:00
Rainer Toebbicke
27ef6fb69f DEVEL15-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).


(cherry picked from commit f099df38b2eff9c8c5afb52ec1a69dd89af22dad)
2007-08-08 16:56:28 +00:00
Jeffrey Altman
8a72dad920 DEVEL15-windows-afsd-uninit-vars-20070806
FIXES 67126

ensure the connp is set to NULL in case of error


(cherry picked from commit 8c69510d92052607f94d947ce2dd3e0b40eee42f)
2007-08-07 05:00:49 +00:00
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